@charset "utf-8";

:root {
	--coul-beige: #feeecc;
	--coul-bleu-clair: #4382c3;
	--coul-rouge: #e94b56;
	--coul-jaune: #fcc442;
	--coul-bleu: #212d57;
	--coul-rose: #f7c5dd;
	--coul-mauve: #b06fac;
	--coul-turquoise: #00a28c;
}


html {
	font-size: clamp(1.06rem, 0.31vw + 0.979rem, 1.25rem);
}

body {
	margin: 0;
	padding: 0;
	font-weight: 600;
	font-size: 135%;
	font-family: proxima-nova, sans-serif;
	color: var(--coul-bleu);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	font-family: filson-pro, sans-serif;
}

header>div {
	padding: 0;
}

@media (min-width: 56rem) {
	header>div {
		padding: 0 3rem;
	}
}

p,
ul,
ol {
	font-size: inherit;
	line-height: 1.5;
	margin-bottom: 1rem;
}

ul li,
ol li {
	line-height: 1.5;
}

strong {
	font-weight: 900;
	font-size: 1.01em;
}

header {
	max-width: 85rem;
}

section {
	max-width: 65rem;
	padding: 2rem 1.5rem;
}

@media (min-width: 56rem) {
	section {
		padding: 3rem;
	}
}

section p:last-child,
section ul:last-child,
section ol:last-child {
	margin-bottom: 0;
}

.fond.bleu {
	background-color: var(--coul-bleu);
	color: white;
}

.fond-beige,
#sct-description,
#sct-definition {
	background-color: var(--coul-beige);
}

.fond.bleu-clair {
	background-color: var(--coul-bleu-clair);
	color: #fff;
}

/* Titres */
h2,
h3 {
	font-family: filson-pro, sans-serif;
	font-weight: 400;
	line-height: 1.2;
	color: var(--coul-bleu);
	margin: 0 0 1.5rem;
}

h2>strong,
h3>strong {
	font-weight: 800;
	font-size: 1.2em;
}

/* ------------------------------------
   Entête "Cohésium"
------------------------------------- */

.sct-entete {
	max-width: 85rem;
}

@media (min-width: 88rem) {
	.sct-entete {
		padding-top: clamp(4rem, 10.667vw + -5.333rem, 6rem);
		/* 64px --> 96px / 1400px --> 1700px */
		padding-bottom: clamp(3rem, 10.667vw + -6.333rem, 5rem);
		/* 48px --> 80px / 1400px --> 1700px */
	}
}

.sct-entete .entete-contenu {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
}

.sct-entete .img-1 {
	width: 100%;
}

.sct-entete .img-2 {
	width: 80%;
}

.sct-entete img {
	display: block;
	height: auto;
	width: 100%;
}

@media (min-width: 56rem) {
	.sct-entete .img-1 {
		flex-basis: 50%;
	}

	.sct-entete .img-2 {
		flex-basis: 50%;
	}

	.sct-entete .entete-contenu {
		flex-direction: row;
	}

}

/* ------------------------------------
   Texste d'intro sur fond bleu 
------------------------------------- */
#sct-intro {
	padding-bottom: 0;
	z-index: 2;
}



/* ------------------------------------
   Cartouche "dates / lieu / bouton"
------------------------------------- */


#sct-dates {
	max-width: none;
	background-color: var(--coul-turquoise);
	color: #fff;
	padding: 0;

}

#sct-dates-image {
	display: none;
}

#sct-dates-contenu {
	padding: 2rem;
	padding-top: 15vw;
}

@media (min-width: 56rem) {
	#sct-dates {
		display: grid;
		grid-template-columns: 5fr 4fr;
		align-items: center;
	}

	#sct-dates-image {
		display: block;
		height: 100%;
	}

	#sct-dates .ph-personnes {
		display: block;
		width: 100%;
		object-fit: cover;
		min-height: 100%;
	}

	#sct-dates-contenu {
		max-width: 26rem;
		padding-top: 12vw;
		padding-bottom: 3rem;
	}
}

@media (min-width: 88rem) {
	#sct-dates .ph-personnes {
		aspect-ratio: 5 / 2;
	}
}

#sct-dates h2 {
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

#sct-dates p {
	line-height: 1.25;
}


/* Bouton d’inscription */
.p-btn {
	margin-top: 2rem;
	text-align: center;
}

.btn {
	font-size: 1.5rem;
	padding: 0.9rem 2.5rem;
	border-radius: 999px;
	background-color: var(--coul-bleu);
	transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
		background-color 0.15s ease-out;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
	font-weight: 600;
	font-family: filson-pro, sans-serif;
}

.btn:hover,
.btn:focus-visible {
	background-color: #151c3d;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}



/* ------------------------------------
   Section "Cohésium c’est"
------------------------------------- */

#sct-description {
	background-color: var(--coul-beige);
}

#sct-description h2 {
	text-align: center;
	font-size: 2.1rem;
	margin-bottom: 2rem;
}

/* Ampoule à droite du titre */
.titre-ampoule {
	position: relative;
}

.titre-ampoule::after {
	content: "";
	display: inline-block;
	width: 7rem;
	height: 5rem;
	background: url(../img/picto-ampoule.svg) no-repeat center bottom / contain;
}

/* Liste avec visages colorés */

#sct-description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sct-description li {
	position: relative;
	padding-left: 4rem;
	margin-bottom: 1.2rem;
}

/* Visages */
#sct-description li::before {
	content: "";
	position: absolute;
	top: -0.25rem;
	left: 0;
	width: 2.75rem;
	height: 2.75rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* Visages par couleur */
#sct-description li.coul-bleu::before {
	background-image: url("../img/visage-bleu.svg");
}

#sct-description li.coul-mauve::before {
	background-image: url("../img/visage-mauve.svg");
}

#sct-description li.coul-turquoise::before {
	background-image: url("../img/visage-turquoise.svg");
}

#sct-description li.coul-rouge::before {
	background-image: url("../img/visage-rouge.svg");
}

#sct-description li.coul-jaune::before {
	background-image: url("../img/visage-jaune.svg");
}

/* Mots clés colorés comme sur la maquette */
strong.coul-bleu,
.coul-bleu strong {
	color: #4382c3;
}

strong.coul-mauve,
.coul-mauve strong {
	color: var(--coul-mauve);
}

strong.coul-turquoise,
.coul-turquoise strong {
	color: var(--coul-turquoise);
}

strong.coul-rouge,
.coul-rouge strong {
	color: var(--coul-rouge);
}

strong.coul-jaune,
.coul-jaune strong {
	color: black;
}

/* ------------------------------------
   Programmation
------------------------------------- */

#sct-programmation {
	padding: 1rem 1.5rem 4rem;
	font-size: 98%;
	max-width: 75rem;
	margin-inline: auto;
	position: relative;
}
@media (min-width: 56rem) {
	#sct-programmation {
		padding: 2rem 3rem 5rem;
	}
		#sct-programmation::after {
			content: "";
			position: absolute;
			width: 31rem;
			height: 31rem;
			bottom: -12rem;
			left: -1rem;
			background-image: url(../img/bloc-faces.png);
			background-repeat: no-repeat;
			background-size: cover;
			z-index: -1;
		}
}

/* Titre + picto bulle */
.titre-bulle {
	position: relative;
	text-align: center;
	font-size: 2.1rem;
	margin: 0;
	padding: 1rem;
	background-color: var(--coul-bleu);
	color: white;
}
.titre-bulle::after {
	content: "";
	display: inline-block;
	width: 6rem;
	height: 3rem;
	background: url("../img/picto-bulle.svg") no-repeat center bottom / contain;
}

/* Layout 2 colonnes (horaire + tuiles) */
#sct-programmation .cols {
	margin-top: 1.5rem;
}
#sct-programmation .cols>div:first-child {
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	#sct-programmation .cols {
		display: grid;
		grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
		gap: 2.5rem;
		align-items: flex-start;
	}
	#sct-programmation .cols>div:first-child {
		margin-bottom: 0;
	}
}

/* Sous-titres */
#sct-programmation h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--coul-bleu);
}

/* Titres des activités */
#sct-programmation .item h4 {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	line-height: 1.35;
	color: var(--coul-bleu);
	font-weight: 600;
}

#sct-programmation .item h4>strong {
	display: block;
	font-size: 1rem;
	font-weight: 600;
}

/* Description coupée après X lignes */
#sct-programmation .description {
	overflow: hidden;
	max-height: none;
	/* la valeur sera définie en JS */
	position: relative;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.25;
	transition: max-height 0.25s ease;
	margin: 0 0 0.65rem;
}

/* Lien Voir plus */
#sct-programmation .voir-plus {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	margin-top: 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	color: var(--coul-bleu-clair);
	text-decoration: none;
}

#sct-programmation .voir-plus:hover,
#sct-programmation .voir-plus:focus-visible {
	text-decoration: underline;
	color: var(--coul-bleu);
}
#sct-programmation .item p.animateur {
	font-size: .9rem;
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--coul-bleu-clair);
	opacity: .9;
}

/* Tableau horaire – style cartouche */

#sct-programmation .table-programmation {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	font-size: 0.9em;
}

#sct-programmation .table-programmation thead th {
	background-color: var(--coul-bleu-clair);
	color: #fff;
	padding: 0.6rem 0.85rem;
	font-weight: 700;
	text-align: left;
}

#sct-programmation .table-programmation tbody td {
	padding: 0.55rem 0.85rem;
	border: 0;
}

#sct-programmation .table-programmation tbody td:first-child {
	text-wrap: nowrap;
}

#sct-programmation .table-programmation tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

#sct-programmation .table-programmation tbody tr:nth-child(even) {
	background-color: #fdf4dd;
}

/* Liste d’ateliers sous forme de tuiles */
#sct-programmation .liste {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 56rem) {
	#sct-programmation .liste {
		grid-template-columns: repeat(2, 1fr);
	}
}

#sct-programmation .liste .item {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Liseré coloré en haut des tuiles, selon le type d'activité */
#sct-programmation .liste .item.coul-mauve {
	border-top: 8px solid var(--coul-mauve);
}

#sct-programmation .liste .item.coul-rouge {
	border-top: 8px solid var(--coul-rouge);
}

#sct-programmation .liste .item p {
	margin: 0 0 0.65rem;
}

#sct-programmation .liste .item p:last-child {
	margin-bottom: 0;
}

/* Liens dans la programmation */
#sct-programmation a {
	color: var(--coul-bleu-clair);
	text-decoration-thickness: 0.12em;
	text-underline-offset: 0.18em;
}

#sct-programmation a:hover,
#sct-programmation a:focus-visible {
	color: var(--coul-bleu);
}

#sct-programmation .description.is-truncated::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2.2em;
	/* hauteur du fondu */
	pointer-events: none;
	background: linear-gradient(to bottom,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0.85) 70%,
			#fff 100%);
}


/* ------------------------------------
   "Que signifie Cohésium ?"
------------------------------------- */

#sct-definition {
	text-align: center;
	line-height: 1.7;
	max-width: none;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .75) 50%), url(../img/texture-2.png);
	background-attachment: fixed;
}

#sct-definition .encadre {
	box-shadow: none;
	max-width: 47rem;
	margin: 0 auto;
}

#sct-definition h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

/* Pouce à droite du titre */
.titre-pouce {
	position: relative;
}

.titre-pouce::after {
	content: "";
	display: inline-block;
	width: 6rem;
	height: 3rem;
	background: url("../img/picto-pouce.svg") no-repeat center bottom / contain;
}

#sct-definition p {
	max-width: 48rem;
	margin: 0.5rem auto 0;
}

/* ------------------------------------
   Section "Comment se rendre ?"
------------------------------------- */


#sct-coordonnees {
	position: relative;
	max-width: none;
	padding: 0;
	color: white;
	background-color: var(--coul-bleu-clair);
}

#sct-coordonnees-wrapper {
	max-width: 65rem;
	padding: 3rem 3rem 5rem 3rem;
	margin: 0 auto;
	z-index: 2;
	position: relative;
}

@media (min-width: 767px) {
	#sct-coordonnees-wrapper {
		padding: 3rem;
	}
}

#sct-coordonnees .wave-clip {
	-webkit-clip-path: url(#wave-clip);
	clip-path: url(#wave-clip);
	background-image: url('../img/texture-3.png');
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 17vw;
	max-height: 250px;
	min-height: 100px;
	z-index: 1;
	background-size: auto 300px;
}

#sct-coordonnees h2 {
	color: white;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 0;
	position: relative;
}

@media (min-width: 768px) {
	#sct-coordonnees h2 {
		padding-left: 6rem;
	}

	#sct-coordonnees .padding-left {
		padding-left: 6rem;
	}
}

/* Engrenages à gauche du titre */
#sct-coordonnees h2::before {
	display: block;
	content: "";
	position: relative;
	width: 5rem;
	height: 4rem;
	background: url("../img/picto-engrenages.svg") no-repeat center / contain;
}

@media (min-width: 768px) {
	#sct-coordonnees h2::before {
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);

	}
}

.cols>div:first-child {
	margin-bottom: 3rem;
}

@media (min-width: 768px) {
	.cols {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem;
	}

	.cols>div:first-child {
		margin-bottom: 0;
	}
}


/* Carte Google */
#carte {
	margin-top: 1.5rem;
	width: 100%;
	height: 18rem;
	border-radius: .5rem;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.esri-attribution {
	display: none !important;
}

/* Encarts bus/auto/accessibilité */
.bloc-texte {
	margin-bottom: 2rem;
}

.bloc-texte h3 {
	font-weight: 700;
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	color: #fff;
}

.bloc-texte p {
	margin: 0;
	font-size: 1rem;
}

.bloc-texte p a {
	color: white;
}

[class*="picto-"].bloc-texte:before {
	width: 50px;
	height: 50px;
}

@media (min-width: 47.9375rem) {
	[class*="picto-"].bloc-texte:before {
		width: 75px;
		height: 75px;
	}
}


/* Icônes spécifiques */
.bloc-texte.picto-autobus::before {
	background-image: url("../img/picto-autobus.svg");
}

.bloc-texte.picto-auto::before {
	background-image: url("../img/picto-automobile.svg");
}

.bloc-texte.picto-sport-velo2::before {
	background-image: url("../img/picto-accessible.svg");
}



/* ------------------------------------
   Préfooter (texte blanc sur fond bleu foncé)
------------------------------------- */

#sct-prefooter {
	background-color: #202737;
	color: #fff;
	font-size: 1rem;
	max-width: 65rem;
	margin-bottom: -1px;
}

#sct-prefooter p {
	margin: 0 0 0.75rem;
}

@media (min-width: 42rem) {
	#sct-prefooter p span {
		display: block;
	}
}

#sct-prefooter a {
	color: white;
	font-weight: 600;
	text-decoration: underline;
}

#sct-prefooter a:hover,
#sct-prefooter a:focus-visible {
	color: #fff;
}

@media (min-width: 47.9375rem) {
	#sct-prefooter {
		padding-bottom: 0;
	}
}

@media (min-width: 62rem) {
	#sct-prefooter {
		display: grid;
		grid-template-columns: auto auto;
	}

	#sct-prefooter>div:nth-child(2) {
		text-align: right;
	}

}

footer .container {
	max-width: 65rem;
	margin: 0 auto;
	padding: 0 1.5rem 2rem;
}

#landing-footer-logos img {
	width: 100%;
	height: auto;
	display: block;
}

#landing-logo-footer-gouv {
	display: block;
	width: 13rem;
	margin: 0 auto 0;
}

#landing-logo-footer-ville {
	display: block;
	width: 16rem;
	margin: 1rem auto 2rem;
}

.btn-medias-sociaux {
	margin-bottom: 0;
}

footer nav {
	text-align: center;
}

footer nav ul {
	margin: 0 0 1rem 0;
}

@media (min-width: 47.9375rem) {
	footer {
		padding: 0;
	}

	footer .container {
		display: grid;
		grid-template-columns: auto auto;

	}

	#landing-footer-logos {
		display: grid;
		gap: clamp(2rem, 3.119vw + 0.505rem, 3rem);
		grid-template-columns: auto auto;
		align-items: end;
		width: fit-content;
	}

	#landing-logo-footer-gouv {
		max-width: 11rem;
		margin: 0;
		position: relative;
		width: 23vw;
	}

	#logo-gouv {
		display: block;

	}

	#landing-logo-footer-ville {
		max-width: 13.5rem;
		position: relative;
		margin: 0 0 2px 0;
		width: 25vw;
	}

	#logo-ville {
		display: block;

	}

	footer nav {
		float: none;
		place-self: center right;
		margin: 0;
		padding-left: 1rem;
		text-align: right;
		white-space: nowrap;
	}

	footer nav ul {
		margin: 0 0 1rem 0;
	}

}

@media (min-width: 56rem) {
	footer .container {
		padding: 0 3rem 3rem;
		margin-bottom: 3vw;
	}
}

@media (max-width: 767px) {
	a[href*="mailto:"] {
		position: static;
		display: inline;
	}
}

/* ------------------------------------
	Séparateurs
------------------------------------- */
.separateur {
	width: 100%;
	height: 5rem;
	background-size: contain;
}

.texture-1 {
	background-image: url(../img/texture-1.png);
}

.texture-2 {
	background-image: url(../img/texture-2.png);
}

.vague {
	background-image: url(../img/vague.svg);
	position: relative;
	z-index: 1;
	margin: -1px -1px -12vw -1px;
	margin-bottom: -12vw;
	background-size: cover;
	background-position: center;
	height: 13vw;
	width: calc(100% + 6px);
	overflow: hidden;
}

@media (min-width: 56rem) {
	.vague {
		margin-top: -3vw;
	}
}