/* ============================================================
   Sections d'arguments — page de connexion (modernisation 2026)
   Style "cartes modernes". Portee limitee a .assimo-section afin
   de ne pas impacter le reste de interface_connexion.css.
   Chargee APRES interface_connexion.css pour pouvoir surcharger.
   ============================================================ */

.assimo-section{
	position: relative;
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	box-shadow: none;
	padding: 4.5rem 1.5rem;
	color: #3F4652;
	font-size: 16px;
	line-height: 1.5;
}
.assimo-section *{ box-sizing: border-box; }
.assimo-section--alt{ background: #f5f7fb; }
.assimo-section--proof{ background: #f5f7fb; }
.assimo-section--intro{
	color: #fff;
	text-align: center;
	padding: 4.5rem 1.5rem;
}
.assimo-section--intro .assimo-title{ color: #fff; }

/* Sections a fond photo (bandeau) + voile pour rester lisible */
.assimo-section--photo,
.assimo-bg-hero{
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.assimo-section--photo::before{
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(245,247,251,0.78);
	pointer-events: none;
}
/* Accroche : voile violet par-dessus la photo */
.assimo-bg-hero{
	background-image: linear-gradient(135deg, rgba(103,103,191,.90) 0%, rgba(70,93,128,.90) 100%),
	                  url("../images/bandeaux/slidemobile.jpg");
}
.assimo-bg-a{ background-image: url("../images/bandeaux/accueil.png"); }
.assimo-bg-b{ background-image: url("../images/bandeaux/suivi-moi.png"); }

.assimo-container{
	position: relative;
	z-index: 1;
	max-width: 1120px;
	margin: 0 auto;
}

.assimo-eyebrow{
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .8rem;
	font-weight: 700;
	opacity: .9;
	margin: 0 0 .5rem;
}
.assimo-title{
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	font-weight: 800;
	text-align: center;
	margin: 0 0 .5rem;
	line-height: 1.2;
}
.assimo-section--intro .assimo-title{ color: #fff; }
.assimo-lead{
	text-align: center;
	font-size: 1.15rem;
	margin: 0 auto;
	max-width: 640px;
	opacity: .95;
}
.assimo-subtitle{
	text-align: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #6767bf;
	margin: 2.5rem 0 1.25rem;
}

/* --- Grille de cartes --- */
.assimo-cards{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.assimo-card{
	background: rgba(255,255,255,0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.85);
	border-radius: 16px;
	padding: 2rem 1.5rem;
	text-align: center;
	box-shadow: 0 10px 30px rgba(63,70,82,.12);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.assimo-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(103,103,191,.16);
	border-color: #c9cdf0;
}
.assimo-card__icon{
	width: 60px;
	height: 60px;
	margin: 0 auto 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(103,103,191,.10);
	color: #6767bf;
}
.assimo-card__icon svg{ width: 28px; height: 28px; }
.assimo-card h3{
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 .6rem;
	color: #3F4652;
}
.assimo-card p{
	font-size: .98rem;
	line-height: 1.55;
	margin: 0;
	color: #5b6472;
}

/* --- Video responsive --- */
.assimo-video{ text-align: center; }
.assimo-video__frame{
	position: relative;
	max-width: 840px;
	margin: 2rem auto 0;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(63,70,82,.18);
}
.assimo-video__frame iframe{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- Preuve sociale / references --- */
.assimo-stat{
	text-align: center;
	margin-bottom: 1rem;
}
.assimo-stat__num{
	display: block;
	font-size: clamp(2.6rem, 6vw, 4rem);
	font-weight: 900;
	color: #6767bf;
	line-height: 1;
}
.assimo-stat__label{
	display: block;
	max-width: 560px;
	margin: .75rem auto 0;
	font-size: 1.05rem;
	color: #5b6472;
}
.assimo-proof__text{
	text-align: center;
	max-width: 780px;
	margin: 1rem auto 0;
	color: #5b6472;
	line-height: 1.6;
}
.assimo-logos{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 2rem;
}
.assimo-logos img{
	height: 54px;
	width: auto;
	filter: grayscale(100%);
	opacity: .7;
	transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.assimo-logos img:hover{
	filter: none;
	opacity: 1;
	transform: scale(1.05);
}
.assimo-partners{ text-align: center; }
.assimo-partners img{
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 600px){
	.assimo-section{ padding: 3rem 1.25rem; }
	.assimo-logos img{ height: 42px; }
}

/* ============================================================
   Footer modernise (portee : pages de connexion uniquement)
   ============================================================ */
footer{
	height: auto;
	background: #3F4652;
	color: #cfd4dc;
	text-align: center;
	padding: 2.25rem 1.5rem 1.75rem;
	box-shadow: none;
}
footer #menu_pied{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .35rem 1.1rem;
	max-width: 900px;
	margin: 0 auto;
	font-size: .95rem;
	line-height: 1.6;
	/* masque les separateurs " - " en texte brut devenus superflus */
	font-size: 0;
}
footer #menu_pied > a{
	font-size: .95rem;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: .2rem .5rem;
	border-radius: 6px;
	transition: background .2s ease, color .2s ease;
}
footer #menu_pied > a:hover{
	background: rgba(255,255,255,.12);
	color: #fff;
	text-decoration: none;
}
footer #copyright{
	flex-basis: 100%;
	width: 100%;
	margin-top: 1.4rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .8rem;
	color: #9aa2ad;
	line-height: 1.5;
}
footer #copyright img{
	width: auto !important;
	height: 34px;
	margin-bottom: .5rem;
	opacity: .95;
}

/* ============================================================
   Derniere news (bloc de connexion, connexion_plateforme.php)
   Masquee tant que js/gestion_connexion.js ne l'a pas remplie.
   ============================================================ */
#derniere_news{
	display: none;
	box-sizing: border-box;
	width: 420px;
	padding: 1.2rem 1.4rem;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
	color: #3F4652;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}
.derniere_news_entete{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 .8rem;
	font-size: 13px;
	color: #64748b;
}
.derniere_news_entete span{
	padding: .2rem .7rem;
	border-radius: 999px;
	background: #5850A2;
	color: #ffffff;
	font-weight: 700;
}
#derniere_news_image{
	display: none;
	width: 100%;
	max-height: 180px;
	object-fit: contain;
	margin-bottom: .8rem;
	border-radius: 8px;
}
#derniere_news_titre{
	margin: 0 0 .5rem;
	font-size: 18px;
	line-height: 1.3;
	color: #0f172a;
}
#derniere_news_texte{
	margin: 0 0 1rem;
}
#derniere_news_action{
	display: inline-block;
	padding: .55rem 1.2rem;
	border-radius: 8px;
	background: #5850A2;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}
#derniere_news_action:hover{
	background: #473f8c;
}
