/* Hero · 3 smartphones (Marie Rinold)
   À placer à la racine du thème enfant, avec le dossier mr-hero/ (photos + grain). */

.mr-hero {
	/* Accent : palette Pêche (autres palettes en bas du fichier) */
	--mr-accent: #E6BC96;
	--mr-accent-fonce: #8A5530;
	--mr-degrade-milieu: #EED9C2;
	--mr-degrade-bas: #C2946E;
	/* Cadre des téléphones : clair (version sombre en bas du fichier) */
	--mr-cadre: linear-gradient(155deg, #FFFFFF 0%, #F5EFE8 46%, #E0D4C7 100%);
	--mr-boutons: #DCD0C3;
	/* Largeur du téléphone central : toutes les tailles en découlent */
	--mr-w: clamp(232px, 25vw, 344px);
	position: relative;
	overflow: hidden;
	padding: 0 clamp(10px, 1.4vw, 20px) clamp(36px, 4vw, 56px);
	background: #F2ECE4;
	color: #221B17;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: normal;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.mr-hero *, .mr-hero *::before, .mr-hero *::after { box-sizing: border-box; }

/* Panneau en dégradé */
.mr-panneau {
	position: relative;
	max-width: 1560px;
	margin: 0 auto;
	padding: clamp(28px, 3.2vw, 44px) 20px calc(var(--mr-w) * 1.03 + clamp(36px, 4vw, 60px));
	border-radius: clamp(22px, 2.4vw, 34px);
	overflow: hidden;
	background: linear-gradient(to bottom, #f2ece4 0%, #F7EFE8 26%, var(--mr-degrade-milieu) 54%, var(--mr-accent) 80%, var(--mr-degrade-bas) 100%);
	box-shadow: inset 0 0 0 0px rgba(34, 27, 23, .05);
}
.mr-panneau::before {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	pointer-events: none;
	background: url("../mr-hero/grain.svg") 0 0 / 220px 220px;
	opacity: .55;
	-webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
	mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
}
.mr-hero .mr-intro {
	position: relative;
	max-width: 580px;
	margin: 0 auto;
	padding: 0;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.6;
	color: #5E544D;
	text-align: center;
	text-wrap: pretty;
}
.mr-cta-ligne {
	position: relative;
	margin-top: clamp(20px, 2.2vw, 28px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 22px;
}
.mr-hero .mr-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 8px 0 18px;
	border: 1px solid #221B17;
	border-radius: 999px;
	background: var(--mr-accent);
	color: #221B17;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	box-shadow: 3px 4px 0 #221B17;
	transition: transform .2s ease, box-shadow .2s ease;
}
.mr-hero .mr-cta:hover { color: #221B17; transform: translate(2px, 2px); box-shadow: 1px 2px 0 #221B17; }
.mr-cta-rond { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #221B17; color: #F3EEE7; }
.mr-cta-rond svg { display: block; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mr-cta-note { font-size: 12px; font-weight: 500; color: #4A403A; }

/* Les 3 téléphones */
.mr-telephones { position: relative; z-index: 2; width: var(--mr-w); margin: calc(var(--mr-w) * -1.03) auto 0; }
.mr-tel { position: relative; z-index: 2; font-size: calc(var(--mr-w) / 27); }
.mr-tel--gauche, .mr-tel--droite { position: absolute; z-index: 1; top: 16%; width: 84%; font-size: calc(var(--mr-w) * .84 / 27); }
.mr-tel--gauche { right: 62%; }
.mr-tel--droite { left: 62%; }

/* Apparition au chargement */
@keyframes mr-apparition { from { opacity: 0; transform: translateY(30px); } }
.mr-intro, .mr-cta-ligne, .mr-tel { animation: mr-apparition 1s cubic-bezier(.2, .7, .2, 1) both; }
.mr-intro { animation-delay: .35s; }
.mr-cta-ligne { animation-delay: .44s; }
.mr-tel--centre { animation-delay: .53s; }
.mr-tel--gauche { animation-delay: .62s; }
.mr-tel--droite { animation-delay: .71s; }
@media (prefers-reduced-motion: reduce) { .mr-intro, .mr-cta-ligne, .mr-tel { animation: none; } }

/* Cadre et écran */
.mr-cadre {
	position: relative;
	aspect-ratio: 71.6 / 147.6;
	padding: .7em;
	border-radius: 3.5em;
	background: var(--mr-cadre);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px rgba(34, 27, 23, .1), 0 2.6em 4.4em -2em rgba(84, 42, 30, .5), 0 1em 1.8em -1em rgba(84, 42, 30, .28);
}
.mr-btn { position: absolute; left: -.2em; width: .2em; border-radius: .2em; background: var(--mr-boutons); }
.mr-btn-1 { top: 16%; height: 2em; }
.mr-btn-2 { top: 23%; height: 3.6em; }
.mr-btn-3 { top: 30.5%; height: 3.6em; }
.mr-btn-4 { left: auto; right: -.2em; top: 25%; height: 5.6em; }
.mr-ecran {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	border-radius: 2.8em;
	overflow: hidden;
	background: #FFFFFF;
	color: #221B17;
	box-shadow: inset 0 0 0 1px rgba(34, 27, 23, .06);
}
.mr-ecran > * { flex: 0 0 auto; }
.mr-ilot { position: absolute; z-index: 4; top: .62em; left: 50%; transform: translateX(-50%); width: 31%; height: 1.9em; border-radius: 999px; background: #14100D; }

/* Barre d’état */
.mr-statut { height: 3.3em; padding: .2em 1.7em 0 2.1em; display: flex; align-items: center; justify-content: space-between; }
.mr-heure { font-size: 1.02em; font-weight: 700; letter-spacing: -.01em; }
.mr-icones { display: flex; align-items: center; gap: .36em; }
.mr-reseau { display: flex; align-items: flex-end; gap: .12em; height: .74em; }
.mr-reseau > span { width: .19em; border-radius: .06em; background: #221B17; }
.mr-reseau > span:nth-child(1) { height: 40%; }
.mr-reseau > span:nth-child(2) { height: 60%; }
.mr-reseau > span:nth-child(3) { height: 80%; }
.mr-reseau > span:nth-child(4) { height: 100%; }
.mr-wifi { display: block; width: 1em; height: .76em; fill: none; stroke: #221B17; stroke-width: 1.8; stroke-linecap: round; }
.mr-batterie { width: 1.65em; height: .82em; padding: .09em; border: 1px solid rgba(34, 27, 23, .4); border-radius: .26em; }
.mr-batterie > span { display: block; width: 80%; height: 100%; border-radius: .13em; background: #221B17; }

/* Barre du haut (comptes clientes) */
.mr-barre { height: 2.8em; padding: 0 1.15em; display: flex; align-items: center; gap: .9em; }
.mr-barre svg { display: block; flex: 0 0 auto; stroke-linecap: round; stroke-linejoin: round; }
.mr-retour { width: .6em; height: 1em; fill: none; stroke: #221B17; stroke-width: 1.9; }
.mr-cloche { width: 1.3em; height: 1.3em; fill: none; stroke: #221B17; stroke-width: 1.5; }
.mr-plus { width: 1.3em; height: 1.3em; fill: #221B17; }
.mr-pseudo { flex: 1; min-width: 0; font-size: 1.1em; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Profil */
.mr-profil { display: flex; align-items: center; gap: 1.15em; padding: .35em 1.15em .75em; }
.mr-avatar { flex: 0 0 5.3em; height: 5.3em; padding: .19em; border-radius: 50%; }
.mr-avatar-in { display: grid; place-items: center; width: 100%; height: 100%; border: .19em solid #FFFFFF; border-radius: 50%; overflow: hidden; background: #EFE8DF center / cover no-repeat; }
.mr-lettre { font-family: 'Instrument Serif', serif; font-style: italic; line-height: 1; }
.mr-avatar .mr-lettre { font-size: 2.6em; }
.mr-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4em; }
.mr-nom { font-size: .98em; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-stats { display: flex; justify-content: space-between; gap: .5em; }
.mr-stat { display: flex; flex-direction: column; gap: .05em; }
.mr-stat > b { font-size: 1.04em; font-weight: 700; letter-spacing: -.01em; }
.mr-stat > span { font-size: .78em; }

/* Bio */
.mr-bio { padding: 0 1.15em; display: flex; flex-direction: column; gap: .08em; font-size: .86em; line-height: 1.34; }
.mr-bio-cat { color: #8A7F77; }
.mr-bio-lien { display: flex; align-items: center; gap: .35em; font-weight: 700; color: var(--mr-accent-fonce); }
.mr-bio-lien svg { display: block; flex: 0 0 auto; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* Suivi(e) par… */
.mr-suivi { display: flex; align-items: center; gap: .5em; padding: .55em 1.15em 0; font-size: .76em; line-height: 1.3; }
.mr-suivi b { font-weight: 700; }
.mr-suivi-ronds { display: flex; }
.mr-suivi-ronds > span { width: 1.5em; height: 1.5em; border: .14em solid #FFFFFF; border-radius: 50%; }
.mr-suivi-ronds > span + span { margin-left: -.5em; }
.mr-suivi-ronds > span:nth-child(1) { background: #D0DFC3; }
.mr-suivi-ronds > span:nth-child(2) { background: #F0C49F; }
.mr-suivi-ronds > span:nth-child(3) { background: #F0E2BE; }

/* Boutons Suivre / Message / Contacter */
.mr-actions { display: flex; gap: .4em; padding: .75em 1.15em 0; }
.mr-actions > span { flex: 1; display: grid; place-items: center; height: 2.35em; border-radius: .6em; background: #F0EAE3; color: #221B17; font-size: .84em; font-weight: 700; }
.mr-actions > span:first-child { background: #221B17; color: #FBF9F6; }

/* Stories à la une */
.mr-stories { display: flex; gap: .9em; padding: .9em 1.15em 0; overflow: hidden; }
.mr-story { flex: 0 0 4.2em; display: flex; flex-direction: column; align-items: center; gap: .32em; }
.mr-story-rond { width: 4.2em; height: 4.2em; padding: .2em; border: 1px solid rgba(34, 27, 23, .16); border-radius: 50%; }
.mr-story-img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #E9E0D3 center / cover no-repeat; color: #221B17; }
.mr-story .mr-lettre { font-size: 1.55em; }
.mr-story-titre { font-size: .7em; white-space: nowrap; }

/* Onglets */
.mr-onglets { display: flex; margin-top: .85em; border-bottom: 1px solid rgba(34, 27, 23, .08); }
.mr-onglets > span { flex: 1; display: grid; place-items: center; height: 2.6em; }
.mr-onglets > span:first-child { box-shadow: inset 0 -.13em 0 #221B17; }
.mr-onglets svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: #8A7F77; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mr-onglets > span:first-child svg { stroke: #221B17; }

/* Grille de publications */
.mr-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .12em; }
.mr-post { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: .6em; overflow: hidden; background: #E9E0D3 center / cover no-repeat; color: #221B17; }
.mr-post--centre { display: grid; place-items: center; text-align: center; }
.mr-tag { font-size: .5em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mr-etoiles { font-size: .55em; letter-spacing: .08em; }
.mr-titre { font-family: 'Instrument Serif', serif; font-size: 1.05em; line-height: 1.02; text-wrap: pretty; }
.mr-ico { position: absolute; top: .5em; right: .5em; width: .8em; height: .8em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.mr-ico--reel { stroke-width: 1.3; }

/* Barre de navigation */
.mr-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-start; height: 4.2em; padding: .7em 1.7em 0; background: rgba(255, 255, 255, .97); border-top: 1px solid rgba(34, 27, 23, .07); }
.mr-nav svg { display: block; width: 1.5em; height: 1.5em; fill: none; stroke: #221B17; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mr-nav-avatar { width: 1.5em; height: 1.5em; border-radius: 50%; background: #D9CFC4; }
.mr-nav-barre { position: absolute; left: 50%; bottom: .45em; transform: translateX(-50%); width: 36%; height: .3em; border-radius: 999px; background: #221B17; }

/* Photos : pour en changer, remplace les fichiers du dossier mr-hero/ en gardant les mêmes noms */
.mr-img-portrait { background-image: url("../mr-hero/marie-portrait.jpg"); background-position: center 18%; }
.mr-img-lecture { background-image: url("../mr-hero/marie-lecture.jpg"); background-position: center 30%; }
.mr-img-bois { background-image: url("../mr-hero/telephone-bois.jpg"); }
.mr-img-story { background-image: url("../mr-hero/story-telephone.jpg"); }
.mr-img-cafe { background-image: url("../mr-hero/marie-cafe.jpg"); }
.mr-img-sourire { background-image: url("../mr-hero/marie-sourire.jpg"); }

/* Autres palettes : remplace les 4 valeurs --mr-accent, --mr-accent-fonce, --mr-degrade-milieu, --mr-degrade-bas
   Rose  : #EBBAAD, #9C5442, #F0D8C9, #CD9283
   Blé   : #EFDDA0, #7E6420, #F7E7C8, #C3AD6F
   Sauge : #CCD6B8, #52633F, #E7E3D1, #9CA888
   Pêche : #E6BC96, #8A5530, #EED9C2, #C2946E (actuelle)
   Cadre sombre : --mr-cadre: linear-gradient(155deg, #4A3F38 0%, #2A221D 45%, #161210 100%); --mr-boutons: #2A221D; */
