@charset "UTF-8";

*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

body {
	--text-color: #333645;
	--background-color: #fff;
	--background-color-2: #4e868a;
	--background-color-3: #80c2ba;
	--link-color: #4e868a;
	--link-hover-color: #fff;
	font-family: 'Inter', sans-serif;
	color: #fff;
	color: var(--text-color);
	min-width: 0;
	overflow-x: hidden;
	background-color: #363dc2;
	background-color: var(--background-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--background-color);
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 10000;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 10px solid var(--background-color-2);
	border-left-color: var(--text-color);
	animation: loaderAnim 0.8s linear infinite forwards;
}

@keyframes loaderAnim {
	to {
		transform: rotate(360deg);
	}
}

main {
	position: relative;
	width: 100%;
	overflow: hidden;
}

a {
	text-decoration: none;
	color: var(--link-color);
	outline: none;
}

a:hover,
a:focus {
	color: var(--link-hover-color);
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}

/* Deco Shape */
.decoshape {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	fill: var(--background-color-3);
}

/* SVG Morph */
.morph-wrap {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.morph {
	position: relative;
	height: 100%;
	fill: var(--background-color-2);
	flex: none;
}

.content-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	overflow: visible;
}

.content {
	position: relative;
	display: grid;
}

.content-gap {
    display: grid;
    gap: 15vh;
    overflow: visible;
}

.content-little-gap {
	display: grid;
	gap: 2rem;
}


.content--fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	z-index: 100;
	pointer-events: none;
	padding: 1.5em;
	grid-template-columns: 50% 50%; 
	grid-template-rows: auto auto 4em;
	grid-template-areas:	"header ..."
							"... decotitle"
							"demos decotitle";
}

.content--fixed a {
	pointer-events: auto;
}

.content--layout {
	pointer-events: auto;
	justify-content: center;
	align-content: center;
grid-template-columns: 50%;
    grid-template-rows: 50%;
	grid-template-areas:	"... title title title"
							"author ... desc desc"
							"author ... link link";
}

.content--related {
display: none;
}

.content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	width: 100%;
	height: auto;
}

.content__title {
	grid-area: title;
	font-family: 'caviar_dreamsbold';
	letter-spacing: -0.025em;
	font-size: 3em;
	line-height: 2.5rem;
	margin: 0;
	text-transform: uppercase;
	z-index: 10;
	cursor: default;
}

.content__author {
	grid-area: author;
	margin: 0;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	padding: 1em;
	text-align: right;
	z-index: 10;
	cursor: default;
}

.content__desc {
	grid-area: desc;
	margin: 0;
	z-index: 10;
	padding: 0 1em;
	cursor: default;
}

.content__img,
.content__title,
.content__author,
.content__desc {
	transition: transform 0.3s ease-out;
}

.content__link {
	pointer-events: auto;
	grid-area: link;
	align-self: end;
	justify-self: start;
	z-index: 10;
	padding: 0 1em 0.15em;
}

.content__info {
	grid-column: 1 / 3;
}

.content__related-item {
	padding: 1em;
	transition: color 0.3s;
}

.content__related-img {
	max-width: 100%;
	opacity: 0.8;
	transition: opacity 0.3s;
}

.content__related-item:hover .content__related-img,
.content__related-item:focus .content__related-img {
	opacity: 1;
}

.content__related-title {
	font-size: 1em;
	margin: 0;
	padding: 0.5em;
}

/* Different layouts */

/* layout-2 */
.content--layout-2 {
	grid-template-areas:	"... title title title"
							"desc desc ... author"
							"link link ... author";
}

.content--layout-2 .content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.content--layout-2 .content__desc {
	text-align: right;
}

.content--layout-2 .content__link {
	justify-self: end;
}

.content--layout-2 .content__author {
	justify-self: end;
	align-self: start;
}

/* layout-3 */
.content--layout-3 {
	grid-template-rows: 50%;
	grid-template-areas:	"... ... desc desc"
							"author title title title"
							"author ... link link";
}

.content--layout-3 .content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.content--layout-3 .content__desc {
	align-self: end;
}

/* layout-4 */

.content--layout-4 {
	grid-template-areas:	"title title title desc"
							"... author ... desc"
							"... author ... link";
}

.content--layout-4 .content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.content--layout-4 .content__author {
	justify-self: start;
	align-self: start;
}

/* Header */
.codrops-header {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	z-index: 100;
	grid-area: header;
	align-self: start;
	justify-self: start;
}

.codrops-header__title {
	font-size: 1em;
	padding: 0.75em 0;
	margin: 0;
	font-weight: 500;
}

/* Demos */
.demos {
	grid-area: demos;
	align-self: end;
}

.demo {
	display: inline-block;
	position: relative;
	font-size: 0.85em;
	margin: 0 0.25em 0.5em 0;
	padding: 1em;
}

.demo .decoshape {
	display: none;
}

.demo--current {
	color: var(--link-hover-color);
	border-color: currentColor;
}

.demo--current .decoshape {
	display: block;
	z-index: -1;
}

/* Deco elements */
.deco {
	pointer-events: none;
}

.deco--title {
	grid-area: decotitle;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	text-align: right;
	align-self: end;
	justify-self: end;
}

/* Top Navigation Style */
.codrops-links {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1em 0 0;
    text-align: center;
    white-space: nowrap;
}

.codrops-icon {
	position: relative;
	display: inline-block;
	padding: 0.75em 0.75em 1em;
}

/* Demo themes */
.demo-2 {
	--background-color: #fff;
	--background-color-2: #342560;
	--background-color-3: #553e9a;
	--text-color: #333645;
	--link-color: #f9ed8a;
	--link-hover-color: #fff;
}

.demo-3 {
	--background-color: #56cccf;
	--background-color-2: #41e0e4;
	--background-color-3: #1747c0;
	--text-color: #fff;
	--link-color: #fff;
	--link-hover-color: #17b1b5;
}

.demo-3 .morph {
	fill: none;
	stroke-width: 12px;
	stroke: #22bcc0;
}

@media screen and (max-width: 50em) {
	.content--fixed {
		height: auto;
		min-height: 0;
		display: block;
		z-index: 1000;
		position: absolute;
	}
	.codrops-header {
		align-items: center;
		flex-direction: column;
	}
	.deco--title {
		display: none;
	}
	.demos {
		text-align: center;
	}
}

@media screen and (max-width: 40em) {
	.content--layout {
		transform: scale3d(0.8,0.8,1);
	}
}

@media screen and (max-width: 36em) {
	.content--layout {
		transform: scale3d(0.7,0.7,1);
	}
}

@media screen and (max-width: 32em) {
	.content--layout {
		transform: scale3d(0.6,0.6,1);
	}
	.content__author,
	.content__desc,
	.content__link {
		font-size: 1.35em;
	}
}

@media screen and (max-width: 28em) {
	.content--layout {
		transform: scale3d(0.5,0.5,1);
	}
}

/* CTA Section */
.cta-section {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 4rem 2rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.cta-title span {
	text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 3px 0 0 #fff, -3px 0 0 #fff;
}

.cta-title.text-danger {
    color: var(--text-color) !important;
}

.cta-shadow {
	text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 3px 0 0 #fff, -3px 0 0 #fff;
}

.cta-description {
	background: rgba(255, 255, 255, 0.8);
	padding: 1.5rem;
	line-height: 1.65em;
	overflow: visible;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 1.4rem;
	border-radius: 5px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.btn-cta {
	display: inline-block;
	padding: 1.20rem 2rem;
	background: var(--danger);
	color: white;
	border-radius: 5px;
	margin-bottom: -1.50rem;
	margin-top: 1.5rem;
	letter-spacing: 0.25rem;
	font-weight: 600;
	border: none;
	z-index: 2;
	position: relative;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

	.btn-cta:hover {
		text-decoration: none;
		background: var(--primary);
		color: #fff;
	}

.cta-arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.btn-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Section Concrètement - Cartes */
.concretement-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 4rem 2rem;
}

.concretement-card {
	background: rgba(255, 255, 255, 0.8);
	padding: 3rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

    .concretement-card p {
        flex-grow: 1;
        font-size: 1.4rem;
        width: 100%;
    }

.concretement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.concretement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 1.5rem;
}

.concretement-card-title {
    text-align: center;
    text-transform: uppercase;
    min-height: 4em;
    display: block;
}

.btn {
    margin-top: auto;
}

@media screen and (max-width: 767px) {
    .concretement-section {
        padding: 2rem 1rem;
    }

    .concretement-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
}

/* Client Logo Styles */
#clients {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	margin-top: 2rem;
	padding: 1rem 2rem;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border-radius: 5px;
	overflow: hidden;
}

.clients-list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: 2rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 0.25rem;
	scrollbar-width: none;
}

.clients-list::-webkit-scrollbar {
	display: none;
}

.clients-list img {
	flex: 0 0 auto;
	max-height: 50px;
	max-width: 120px;
	width: auto;
	height: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.clients-list img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

@media screen and (max-width: 1024px) {
	.clients-list img {
		max-height: 40px;
		max-width: 90px;
	}
	
	#clients {
		padding: 0.75rem 1rem;
	}
}

.title-block {
    background: rgba(255,255,255,0.95);
	width: 100%;
    padding: 1rem;
    border: none;
    font-size: 1.2em;
    line-height: 1.45em;
    z-index: 10;
}

/* Hero Block */
.hero-block {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem 0;
}

.hero-title {
    display: block;
    padding: 0;
    background: none;
    color: var(--text-color);
    border-radius: 0;
    letter-spacing: -0.02em;
    font-weight: 900;
    z-index: 2;
    position: relative;
    border: none;
    text-transform: uppercase;
    box-shadow: none;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center;
}

.hero-title span {
    text-shadow:
        3px 3px 0 #fff,
        -3px -3px 0 #fff,
        3px -3px 0 #fff,
        -3px 3px 0 #fff,
        0 3px 0 #fff,
        0 -3px 0 #fff,
        3px 0 0 #fff,
        -3px 0 0 #fff;
}

.hero-desc {
	background: #fff;
	padding: 1.5rem;
	line-height: 1.65em;
	overflow: visible;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 1.4rem;
	border: none !important;
}

/* ========== Section Accompagnement modernisée ========== */

#accompagnement {
    padding: 2rem 0;
}

.accompagnement-header,
.section-header {
    margin-bottom: 1rem;
}

#accompagnement .accompagnement-header h2,
#accompagnement h2,
#gamification h2,
#approche h2,
#autonomie h2,
#efficacite h2 {
    display: block;
    padding: 0;
    background: none;
    color: var(--text-color);
    border-radius: 0;
    letter-spacing: -0.02em;
    font-weight: 900;
    z-index: 2;
    position: relative;
    border: none;
    text-transform: uppercase;
    float: none;
    box-shadow: none;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: left;
}

#accompagnement .accompagnement-header h2 span,
#accompagnement h2 span,
#gamification h2 span,
#approche h2 span,
#autonomie h2 span,
#efficacite h2 span {
    text-shadow:
        3px 3px 0 #fff,
        -3px -3px 0 #fff,
        3px -3px 0 #fff,
        -3px 3px 0 #fff,
        0 3px 0 #fff,
        0 -3px 0 #fff,
        3px 0 0 #fff,
        -3px 0 0 #fff;
}

/* Section titles accent colors */
#accompagnement h2 span { color: var(--secondary); }
#gamification h2 span { color: var(--success); }
#approche h2 span { color: var(--danger); }
#autonomie h2 span { color: var(--primary); }
#efficacite h2 span { color: var(--secondary); }

.section-header h2 {
    margin-bottom: 0;
    margin-top: 0;
    float: none !important;
}

.accompagnement-accent,
.section-accent {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 1.5rem auto 0;
}

.accompagnement-accent {
	background: #e83e8c;
}

.accompagnement-img-wrap,
.section-img-wrap {
    position: relative;
    padding: 1rem;
}

.accompagnement-img-wrap img,
.section-img-wrap img {
    border-radius: 1.2rem;
    max-width: 100%;
}

.accompagnement-desc,
.section-desc {
    padding: 1.5rem;
}

.accompagnement-desc {
    border-left-color: var(--secondary);
}

#gamification,
#approche,
#autonomie {
    padding: 2rem 0;
}

@media screen and (max-width: 767px) {
    .accompagnement-desc,
    .section-desc {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .accompagnement-img-wrap img,
    .section-img-wrap img {
        max-width: 80%;
    }

    #accompagnement .accompagnement-header h2,
    .section-header h2 {
        font-size: 1em;
        padding: 0.8rem 1rem;
        letter-spacing: 0.1rem;
    }
}

/* ========== RESPONSIVE ACCUEIL ========== */

/* Tablette */
@media screen and (max-width: 991px) {
    .title-block {
        margin-left: 15px !important;
        margin-right: 15px !important;
        margin-top: 30px !important;
        margin-bottom: 60px !important;
    }
    
    .hero-block {
        padding: 1.5rem 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-font-size {
        font-size: 2.2em;
    }
    
    .content-gap {
        gap: 8vh;
    }
    
    .morph-wrap {
        display: none;
    }

    #accompagnement .accompagnement-header h2,
    #accompagnement h2,
    #gamification h2,
    #approche h2,
    #autonomie h2,
    #efficacite h2 {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.3rem;
    }

    .concretement-card p {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .title-block {
        width: calc(100% - 30px) !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        margin-top: 20px !important;
        margin-bottom: 40px !important;
        padding: 1.5rem;
    }
    
    .hero-block {
        padding: 1rem 15px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .title-font-size {
        font-size: 1.6em;
        display: block !important;
    }
    
    .content-gap {
        gap: 4rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.15rem;
    }

    .concretement-card p {
        font-size: 1.15rem;
    }
    
    .btn-cta {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        letter-spacing: 0.1rem;
    }

    #accompagnement .accompagnement-header h2,
    #accompagnement h2,
    #gamification h2,
    #approche h2,
    #autonomie h2,
    #efficacite h2 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-desc {
        font-size: 1.15rem;
    }

    .description {
        font-size: 1.15rem;
    }
}

/* Petit mobile */
@media screen and (max-width: 576px) {
    .title-block {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .title-font-size {
        font-size: 1.4em;
        line-height: 1.3;
    }
    
    .content-gap {
        gap: 3rem;
        padding: 0 10px;
    }

    #accompagnement .accompagnement-header h2,
    #accompagnement h2,
    #gamification h2,
    #approche h2,
    #autonomie h2,
    #efficacite h2 {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-description {
        font-size: 1.05rem;
    }

    .concretement-card p {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }
}

/* Homepage sections order on tablet/mobile */
@media screen and (max-width: 1024px) {
    #accompagnement .row,
    #gamification .row,
    #approche .row,
    #autonomie .row {
        display: flex;
        flex-direction: column;
    }

    #accompagnement .row > [class*="col-md-"],
    #gamification .row > [class*="col-md-"],
    #approche .row > [class*="col-md-"],
    #autonomie .row > [class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Accompagnement / Approche: Titre, Image, Texte */
    #accompagnement .row > :first-child,
    #approche .row > :first-child {
        order: 1;
    }

    #accompagnement .row > :last-child,
    #approche .row > :last-child {
        order: 2;
    }

    /* Gamification / Autonomie: Titre, Image, Texte */
    #gamification .row > :last-child,
    #autonomie .row > :last-child {
        order: 1;
    }

    #gamification .row > :first-child,
    #autonomie .row > :first-child {
        order: 2;
    }
}

/* Section Témoignages */
.temoignages-section {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 2rem 2rem 4rem;
}

.temoignage-card {
	background: rgba(255, 255, 255, 0.85);
	padding: 2rem;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
}

.temoignage-quote {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	color: var(--text-color);
	flex-grow: 1;
}

.temoignage-author {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.temoignages-section {
		padding: 1rem 1rem 2rem;
	}

	.temoignage-card {
		padding: 1.5rem;
	}

	.temoignage-quote {
		font-size: 1.05rem;
	}
}

