/*========================================ACCUEIL : INTRODUCTION*/
.red-apple-home-intro {
	margin: 0 0 40px;
	padding: 40px 20px 36px;
	border-radius: 6px;
	background: #eaf9ff;
	text-align: center;
}

.red-apple-home-intro-welcome {
	margin: 0 0 8px;
	color: var(--c-main);
	font-family: var(--f-display);
	font-size: 24px;
	line-height: 29px;
}

.red-apple-home-intro-title {
	margin: 0 0 20px;
	color: #313131;
	font-size: 36px;
	font-weight: 700;
	line-height: 43px;
}

.red-apple-home-intro-title::after {
	content: "";
	display: block;
	width: 150px;
	height: 5px;
	margin: 16px auto 0;
	border-radius: 5px;
	background: linear-gradient(90deg, #13bfcf 0 20%, #ff90c2 20% 40%, #fdbc69 40% 60%, #a3c259 60% 80%, #d08dff 80%);
}

.red-apple-home-intro-text {
	max-width: 640px;
	margin: 0 auto;
}

.introduction {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4rem;
    padding: 6rem 8rem;
	background: #fff;
	background-image: url(https://www.redappleschool.fr/wp-content/themes/redappleschool/images/bg-test.png);
	background-position: center -20px;
    background-size: cover;
}

.description {
	display: flex;
	gap: 3rem;
}

.description-img-c {
	position: relative;
}

.description-img-bg {
	position: absolute;
	top: 15px;
	left: 15px;
	height: 500px;
	width: 350px;
	border-radius: 8px;
	background: var(--c-main);
}

.description-img {
	position: relative;
	height: 500px;
	width: 350px;
	border-radius: 8px;
	z-index: 1;
}

.description-text-c {
	display: flex;
    flex-direction: column;
    flex: 1;
	gap: 1.5rem;
}

.description-text-1 {
	font-family: "Sansita Swashed";
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--c-main);
	letter-spacing: .3px;
	margin-bottom: 0;
}

.description-text-separator {
	height: 2px;
    background: linear-gradient(90deg, var(--c-main), #41aad400);
    margin-bottom: 1rem;
}

.description-text-2 {
	max-width: 80ch;
    line-height: 1.5;
    letter-spacing: .2px;
    font-size: 1.2rem;
}

.citation {
	box-shadow: #00000025 0px 3px 5px 0px;
	padding: 1rem;
	border-radius: 8px;
	margin: auto;
	background: #fff9ed;
}

.citation-text {
	font-family: "Sansita Swashed";
    font-size: 1.2rem;
    letter-spacing: .1px;
    max-width: 80ch;
    word-spacing: 1.2px;
}

.citation-quote {
	color: rgb(174, 70, 70);
	font-size: 1.8rem;
}

.citation-signature {
	color: gray;
}

/*========================================ACCUEIL : PEDAGOGIE*/
.red-apple-home-pedagogy {
	padding: 40px 80px 150px;
	border-radius: 6px;
	color: #313131;
	background: #eaf9ff;
	background: linear-gradient(180deg, #eaf9ff 80%, #f8fcfd, transparent 99%);
}

.red-apple-home-pedagogy-title {
	margin: 0 0 20px;
	font-size: 36px;
	font-weight: 700;
	text-align: left;
	font-family: var(--f-display);
}

.red-apple-home-pedagogy-icon {
	width: 1.2em;
	height: 1.2em;
	margin-left: -0.05em;
}

.red-apple-home-pedagogy-nowrap {
	white-space: nowrap;
}

.red-apple-home-pedagogy-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 1fr;
	gap: 28px 24px;
}

.red-apple-home-pedagogy-item {
	grid-column: span 2;
	padding: 28px 26px;
	border: 2px solid var(--card);
	border-radius: var(--shape);
	background: color-mix(in srgb, var(--card) 22%, #fff);
	transform: rotate(var(--tilt));
}

.red-apple-home-pedagogy-item-1 { --card: #13bfcf; --tilt: -.8deg; --shape: 26px 10px 22px 12px; }
.red-apple-home-pedagogy-item-2 { --card: #ff90c2; --tilt: .6deg;  --shape: 10px 24px 12px 28px; }
.red-apple-home-pedagogy-item-3 { --card: #fdbc69; --tilt: .5deg;  --shape: 22px 12px 26px 8px; }
.red-apple-home-pedagogy-item-4 { --card: #a3c259; --tilt: -.6deg; --shape: 12px 26px 10px 22px; }
.red-apple-home-pedagogy-item-5 { --card: #d08dff; --tilt: -.4deg; --shape: 24px 10px 24px 12px; grid-column: 2 / 4; }

.red-apple-home-pedagogy-item-title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 28px;
	font-family: var(--f-display);
	color: color-mix(in srgb, var(--card) 65%, #000);
}

.red-apple-home-pedagogy-item-text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

@media (max-width: 600px) {
	.red-apple-home-pedagogy-list {
		grid-template-columns: 1fr;
	}

	.red-apple-home-pedagogy-item,
	.red-apple-home-pedagogy-item-5 {
		grid-column: auto;
	}

	.red-apple-home-pedagogy-item {
		padding: 22px 20px;
	}
}
@media (max-width: 767px) {
	.red-apple-home-pedagogy {
		padding: 30px 15px 80px;
	}

	.red-apple-home-pedagogy-title {
		font-size: 28px;
	}
}
/*========================================ACCUEIL : NOS CLASSES*/
.classes {
	padding: 0rem 8rem 6rem;
}

.classes-title-c {
	display: flex;
	align-items: center;
	justify-content: center;
}

.classes-title {
	font-family: "Sansita Swashed", sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.classes-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.classes-title::before,
.classes-title::after {
    content: "";
    flex: 0 0 32px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 40' fill='none' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 5 L23 13' stroke='%23a3c259'/%3E%3Cpath d='M3 20 L19 20' stroke='%23abc9f7'/%3E%3Cpath d='M7 35 L23 27' stroke='%23fdbc69'/%3E%3C/svg%3E") center / contain no-repeat;
}

.classes-title::after {
    transform: scaleX(-1);
}

.classes-list-c {
	display: flex;
	gap: 6rem;
	padding: 0 2rem;
}

.class-c {
	width: calc(100% / 3);
}

.class-title-c {
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
	gap: 2rem;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: #00000020 1px 3px 5px 0px;
}

.class-title-c.preschool {
	background: #a3c259;
	position: relative;
}

.class-title-c.maternelle {
	background: #abc9f7;
	position: relative;
}

.class-title-c.elementaire {
	background: #fdbc69;
	position: relative;
}

.class-title-img {
	width: 105px;
}

.class-title {
	font-family: "Sansita Swashed",sans-serif;
	font-size: 2.1rem;
	margin: 0;
}

.class-subtitle {
	
}

.class-ul {
	display: flex;
	list-style: none;
	margin: 0;
}

.class-moreinfo {
	font-family: "Sansita Swashed", sans-serif;
    font-size: 1.5rem;
	display: block;
    text-align: center;
    background: var(--c-main);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    width: 50%;
    margin: 1rem auto 0;
	box-shadow: #00000020 1px 3px 5px 0px;
}

.class-moreinfo:hover {
	color: #0b3e6b;
	text-decoration: none;
}


@media (max-width: 767px) {
	.red-apple-home-intro {
		padding: 30px 15px 26px;
	}

	.red-apple-home-intro-title {
		font-size: 28px;
		line-height: 34px;
	}
	
	.introduction {
		padding: 0;
		margin: 0;
		background: #fff;
	}
	
	.description {
		display: block;
	}
	
	.description-img-c {
		display: flex;
		justify-content: center;
		width: fit-content;
		margin: 0 auto 1.5rem;
	}
	
	.description-img-bg {
        inset: 0;
		height: auto;
		width: auto;
		transform: translate(5px, 5px);
	}
	
	.description-img {
		display: block;
		max-width: min(90dvw, 450px);
        height: auto;
        width: auto;
	}
	
	.description-text-1 {
		max-width: 90dvw;
		line-height: 1.3;
		margin-bottom: 1rem;
	}
	
	.description-text-2 {
		max-width: 90dvw; 
		margin: auto;
		line-height: 1.3;
	}
	
	.citation{
		max-width: 90dvw; 
	}
	
	.citation-text {
		max-width: 90dvw; 
	}
}

/*========================================ACCUEIL : CONTACT*/
.red-apple-home-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
	padding: 40px 60px;
	border-radius: 12px;
	color: #313131;
	background:
		linear-gradient(90deg, #13bfcf 20%, #ff90c2 20% 40%, #fdbc69 40% 60%, #a3c259 60% 80%, #d08dff 80%) top / 100% 6px no-repeat,
		#fff4e6;
}

.red-apple-home-contact-title {
	margin: 0 0 14px;
	font-size: 36px;
	line-height: 1.15;
	font-family: var(--f-display);
}

.red-apple-home-contact-text {
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 28px;
	font-weight: 500;
}

.red-apple-home-contact-call {
	display: inline-block;
	padding: 14px 22px;
	border: 2px solid #313131;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 700;
	color: #313131;
	background: #fff;
	text-decoration: none;
}

.red-apple-home-contact-info {
	margin: 24px 0 0;
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
}

.red-apple-home-contact-info a {
	color: inherit;
}

.red-apple-home-contact-form {
	display: grid;
	gap: 14px;
}

.red-apple-home-contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
}

.red-apple-home-contact-form input,
.red-apple-home-contact-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 2px solid #c9b8a6;
	border-radius: 6px;
	font: inherit;
	color: #313131;
	background: #fff;
}

.red-apple-home-contact-form input:focus,
.red-apple-home-contact-form textarea:focus {
	border-color: #313131;
	outline: none;
}

.red-apple-home-contact-form textarea {
	min-height: 100px;
	resize: vertical;
}

.red-apple-home-contact-submit {
	padding: 16px 22px;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: #313131;
	cursor: pointer;
}

.red-apple-home-contact-submit:hover,
.red-apple-home-contact-submit:focus-visible {
	background: #000;
}

.red-apple-home-contact-hp {
	position: absolute;
	left: -9999px;
}

.red-apple-home-contact-notice {
	margin: 0;
	padding: 12px 14px;
	border: 2px solid #c9b8a6;
	border-radius: 6px;
	font-weight: 700;
	background: #fff;
}

.contact-form-legal {
	font-size: .8rem;
}

@media (max-width: 800px) {
	.red-apple-home-contact {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px;
	}

	.red-apple-home-contact-title {
		font-size: 28px;
	}

	.red-apple-home-contact-call {
		display: block;
		text-align: center;
	}
}


/*RESPONSIVE NON TRIÉ*/
@media (max-width: 1024px) {
	.introduction {
		padding: 2rem 2rem;
		background-position: center 400px;
    	background-size: 767px 500px;
    	background-repeat: no-repeat;
	}
}

@media (max-width: 600px) {
	.red-apple-home-pedagogy-list {
		grid-template-columns: 1fr;
	}

	.red-apple-home-pedagogy-item,
	.red-apple-home-pedagogy-item-5 {
		grid-column: auto;
	}
}

/*========================================TEMPORAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIRE*/
@media (max-width: 1280px) {
	.classes {
		padding: 0 4rem 5rem;
	}

	.classes-list-c {
		gap: 3rem;
		padding: 0;
	}
}

@media (max-width: 1024px) {
	.classes {
		padding: 0 2rem 4rem;
	}

	.classes-list-c {
		gap: 1.5rem;
	}

	.class-title-c {
		padding: 1.5rem 1rem;
		gap: 1.5rem;
	}

	.class-moreinfo {
		width: auto;
	}
}

@media (max-width: 767px) {
	.classes {
		padding: 0 1rem 3rem;
	}

	.classes-title {
		font-size: 1.8rem;
		margin-bottom: 2rem;
	}

	.classes-list-c {
		display: block;
		padding: 0;
	}

	.class-c {
		width: auto;
		max-width: 450px;
		margin: 0 auto 3.5rem;
	}

	.class-c:last-child {
		margin-bottom: 0;
	}

	.class-ul {
		display: block;
	}

	.class-moreinfo {
		width: auto;
	}
}