@import url('variables.css');

.page-template-association main .container,
.page-template-accompagnement main .container,
.home main .container {
	max-width: 80rem;
}

.page-base .btn {
	display: inline-flex;
	margin-top: 2rem;
	text-decoration: none;
}

.page-base .btn-white {
	background-color: var(--color-white);
	color: var(--color-primary);
}

.page-base .btn-black {
	background-color: var(--color-black);
	color: var(--color-white);
}

.page-base .text-intro {
	color: var(--color-brown);
}

.page-base h2.display-m {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.page-base .text-intro {
		font-size: 20px;
		line-height: 1.3;
	}

	.page-base h2.display-m {
		font-size: 45px;
	}
}

/* Page base heading */
.page-base-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	padding: 0 1rem 3rem;
}

.faq .page-base-heading {
	flex-direction: column;
	align-items: flex-start;
}

.page-base-heading h1 {
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.page-base-heading p {
	margin-bottom: 1rem;
}

.page-base-heading-media {
	width: 100%;
}

.page-base-heading-media iframe {
	border: none;
	width: 100%;
	aspect-ratio: 16/9;
}

@media (min-width: 768px) {
	.page-base-heading {
		flex-direction: row;
		padding-bottom: 5rem;
	}

	.page-base-heading h1 {
		font-size: 36px;
	}

	.homepage .page-base-heading h1 {
		font-size: 57px;
	}

	.page-base-heading p {
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.page-base-heading-iframe {
		position: relative;
		min-width: 26rem;
		aspect-ratio: 1.63;
		background-image: url('../../assets/images/border-video.png');
		background-repeat: no-repeat;
		background-size: contain;
	}

	.page-base-heading-media iframe {
		position: absolute;
		top: 26px;
		left: 10px;
		width: calc(100% - 20px);
		height: calc(100% - 36px);
	}
}

@media (min-width: 1080px) {
	.page-base-heading-iframe {
		min-width: 42rem;
	}

	.page-base-heading-media iframe {
		top: 40px;
		left: 15px;
		width: calc(100% - 30px);
		height: calc(100% - 55px);
	}
}

/* Page base features */
.page-base-features {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 0 1rem 5rem;
}

.page-base-features-cards {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.page-base-features-card {
	max-width: 250px;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.3);
	border-radius: 1rem;
	padding: 1.5rem;
	background-color: var(--color-white);
}

.page-base-features-card h3 {
	padding: 1.5rem 0 0.75rem;
	font-family: "Archivo Black", sans-serif;
	font-size: 18px;
	font-weight: 400;
}

.page-base-features-card p {
	color: #42526B;
}

@media (min-width: 768px) {
	.page-base-features {
		gap: 5rem;
	}
}

@media (min-width: 1180px) {
	.page-base-features {
		flex-direction: row-reverse;
	}

	.page-base-features-wrapper {
		min-width: 32.5rem;
	}
}

/* Page base timeline */
.page-base-timeline {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 0 1rem 5rem;
}

.page-base-timeline-wrapper ul {
	list-style: none;
	overflow: hidden;
}

.page-base-timeline-wrapper ul li {
	display: flex;
	align-items: flex-start;
	gap: 2.5rem;
}

.page-base-timeline-wrapper ul li h3 {
	margin-bottom: 1rem;
}

.page-base-timeline-wrapper ul li a {
	color: var(--color-primary);
	font-weight: 700;
}

.page-base-timeline-wrapper ul li .image {
	position: relative;
	min-width: 3rem;
	background-color: var(--color-primary-100);
}

.page-base-timeline-wrapper ul li:last-child .image::before {
	content: '';
	background-color: var(--color-black);
	width: 1px;
	height: 100vh;
	position: absolute;
	bottom: 100%;
	left: 50%;
	z-index: -1;
}

.page-base-timeline-wrapper ul li:not(:first-child) {
	padding-top: 2.75rem;
}

@media (min-width: 768px) {
	.page-base-timeline {
		gap: 5rem;
	}
}

@media (min-width: 980px) {
	.page-base-timeline {
		flex-direction: row;
	}

	.page-base-timeline-wrapper {
		min-width: 26rem;
	}
}

@media (min-width: 1180px) {
	.page-base-timeline-wrapper {
		min-width: 32.5rem;
	}
}

/* Page base assessment */
.page-base-assessment {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	margin: 0 1rem 5rem;
	background-color: var(--color-white);
	border-radius: 20px;
}

.page-base-assessment-content {
	padding: 2rem;
}

@media (min-width: 768px) {
	.page-base-assessment {
		flex-direction: row;
	}

	.page-base-assessment-content {
		padding: 2.75rem;
	}

	.page-base-assessment-content,
	.page-base-assessment-wrapper {
		width: 50%;
	}
}

@media (min-width: 980px) {
	.page-base-assessment-content {
		padding: 3.75rem;
	}
}

/* Page base testimonials */
.page-base-testimonials {
	padding: 0 1rem 5rem;
}

.page-base-testimonials-heading {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

.page-base-testimonials-heading h2.display-m {
	margin: 0;
}

.page-base-testimonials-nav {
	flex-shrink: 0;
}

.page-base-testimonials-nav button {
	appearance: none;
	background: none;
	border: none;
	cursor: pointer;
}

.page-base-testimonials-nav button.prev {
	transform: rotate(180deg) translateY(1px);
}

.page-base-testimonials-slider {
	display: flex;
	align-items: center;
	position: relative;
	margin: auto -15px;
}

.slider-window {
	overflow: hidden;
	width: 100%;
}

.slider-track {
	display: flex;
	transition: transform 0.4s ease;
}

.page-base-testimonials-slider .card {
	padding: 1.5rem;
	margin: 2rem 1rem;
	min-width: calc(100% - 2rem);
	background-color: var(--color-white);
	border-radius: 20px;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.page-base-testimonials-slider .card p {
	font-size: 18px;
	line-height: 1.3;
}

.page-base-testimonials-slider .card .author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.25rem;
}

.page-base-testimonials-slider .card .author p {
	font-size: 18px;
}

.page-base-testimonials-slider .card .author p.comment {
	font-size: 16px;
	opacity: 0.5;
}

.page-base-testimonials-slider .card img {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 768px) {
	.page-base-testimonials-heading {
		flex-direction: row;
	}

	.page-base-testimonials-slider .card {
		min-width: calc((100% - 95px) / 3);
	}
}

@media (max-width: 980px) and (min-width: 768px) {
	.page-base-testimonials-slider .card p {
		font-size: 20px;
	}

	.page-base-testimonials-slider .card img {
		width: 2.5rem;
		height: 2.5rem;
	}

	.page-base-testimonials-slider .card .author p {
		font-size: 15px;
	}

	.page-base-testimonials-slider .card .author p.comment {
		font-size: 13px;
	}
}

@media (min-width: 1280px) {
	.page-base-testimonials-slider .card {
		min-width: 24.6rem;
	}
}


/* page-base cards */
.page-base-cards {
	padding: 0 1rem 3rem;
}

.page-base-cards-heading {
	margin-bottom: 2rem;
}

.page-base-cards-heading h2 {
	font-weight: 900;
	font-size: 36px;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.page-base-cards-heading p {
	font-size: 20px;
}

.page-base-cards ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	gap: 2rem;
}

.page-base-cards ul li {
	padding: 3rem 2rem 2rem;
	width: 100%;
	background-color: var(--color-white);
	border-radius: 20px;
	text-align: center;
}

.page-base-cards ul li a {
    text-decoration: none;
}

.page-base-cards ul li h2 {
	margin-bottom: 1.5rem;
	font-size: 28px;
	font-weight: 900;
	color: var(--color-primary);
}

.page-base-cards ul li strong {
	display: block;
	margin-bottom: 1.5rem;
	font-size: 20px;
}

.page-base-cards ul li p {
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 1rem;
    color: #4F4441;
}

.page-base-cards ul li .btn {
    margin-top: 0;
    padding: 1.25rem;
    background-position: 50%;
}

.page-base-card-accompagnement ul li {
    text-align: left;
    padding: 0;
}

.page-base-card-accompagnement ul li a {
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem 2rem;
}

.page-base-card-accompagnement ul li .btn {
    margin-left: auto;
    transition: all 0.3s ease 0s;
}

.page-base-card-accompagnement ul li a:hover .btn {
    margin-right: -0.5rem;
}

@media (min-width: 1080px) {
	.page-base-cards ul {
		flex-direction: row;
	}
}

@media (min-width: 768px) {
	.page-base-cards ul {
		padding-bottom: 5rem;
	}
}

/* page base infos */
.page-base-infos {
	padding: 0 1rem 3rem;
	gap: 2rem;
}

.page-base-infos.image-right {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page-base-infos-content h2 {
	margin-bottom: 1.5rem;
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.2;
}

.page-base-infos-content .btn {
	display: inline-block;
	margin-top: 1.5rem;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 700;
	padding: 0.875rem 3rem;
	height: auto;
}

.page-base-infos.image-right .page-base-infos-image {
	flex-shrink: 1;
	border-radius: 10px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.page-base-infos {
		padding-bottom: 5rem;
	}

	.page-base-infos.image-right {
		flex-direction: row;
	}
}

/* faqs */
.page-base-faqs {
	padding: 0 1rem 3rem;
}

@media (min-width: 768px) {
	.page-base-faqs {
		padding-bottom: 5rem;
	}
}
