/**
 * Blocs WPBakery — maquettes Figma 526:12758, 526:12783, 526:12793, 526:12855.
 */

/* --- Diététicienne (526:12758) --- */
.r100f-dieteticienne {
	width: 100%;
	box-sizing: border-box;
	padding: 48px clamp(24px, 7.15vw, 103px);
	border-radius: 24px;
}

.r100f-dieteticienne__inner {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px 40px;
}

.r100f-dieteticienne__media {
	flex: 0 0 auto;
	align-self: flex-start;
	width: 100%;
	max-width: 300px;
}

.r100f-dieteticienne__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 12px;
}

.r100f-dieteticienne__img--placeholder {
	display: block;
	min-height: 320px;
	background: #eee;
	border-radius: 12px;
}

.r100f-dieteticienne__content {
	flex: 1 1 320px;
	min-width: 0;
	max-width: 728px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.r100f-dieteticienne__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.r100f-dieteticienne__head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 4px;
}

/* Barre verte sous « Diététicienne » (ligne 1) */
.r100f-dieteticienne__highlight {
	position: relative;
	display: inline-block;
	z-index: 0;
}

.r100f-dieteticienne__highlight::after {
	content: "";
	position: absolute;
	left: 0;
	top: 68%;
	z-index: -1;
	width: 100%;
	height: 12px;
	background: #d4e88c;
	border-radius: 24px;
	pointer-events: none;
}

.r100f-dieteticienne__eyebrow {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #555;
	line-height: 36px;
}

.r100f-dieteticienne__title {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 600;
	line-height: 42px;
	letter-spacing: 2px;
	color: #383838;
}

.r100f-dieteticienne__title-line {
	display: block;
}

.r100f-dieteticienne__title-line--first {
	padding-bottom: 14px; /* place pour le ::after sous le premier mot */
	font-weight: 600;
}

.r100f-dieteticienne__title-line--second {
	margin-top: 0;
}

.r100f-dieteticienne__title-amp {
	font-weight: 700;
	color: #d4e88c;
}

.r100f-dieteticienne__title-rest {
	font-weight: 600;
	color: #383838;
}

.r100f-dieteticienne__body {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 18px;
	line-height: 35px;
	color: #555;
}

.r100f-dieteticienne__body p {
	margin: 0;
}

.r100f-dieteticienne__body strong {
	font-weight: 600;
	color: #555;
}

.r100f-dieteticienne__tagline {
	display: inline-block;
	max-width: fit-content;
	margin: 0;
	padding: 8px 12px;
	background: #ffe8ad;
	border-radius: 12px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #353535;
	line-height: 31.3px;
}

.r100f-dieteticienne__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.r100f-dieteticienne__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 24px;
	border-radius: 30px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.r100f-dieteticienne__btn--outline {
	background: #fff;
	border: 2px solid #353535;
	color: #353535;
}

.r100f-dieteticienne__btn--solid {
	background: #353535;
	border: 1px solid #353535;
	color: #fff;
}

.r100f-dieteticienne__btn--solid .r100f-dieteticienne__btn-ico {
	color: #fff;
}

.r100f-dieteticienne__btn:hover,
.r100f-dieteticienne__btn:focus {
	opacity: 0.92;
	transform: translateY(-1px);
}

.r100f-dieteticienne__btn-ico {
	display: flex;
	flex-shrink: 0;
	color: inherit;
}

.r100f-dieteticienne__btn-ico svg {
	display: block;
}

/* --- Bandeau vidéo (526:12783) --- */
.r100f-video-hero {
	width: 100%;
	box-sizing: border-box;
	padding-left: clamp(16px, 4vw, 103px);
	padding-right: clamp(16px, 4vw, 103px);
}

.r100f-video-hero__frame {
	position: relative;
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	min-height: 280px;
	height: clamp(220px, 28vw, 308px);
	border-radius: 12px;
	overflow: hidden;
	background: #222;
}

.r100f-video-hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.r100f-video-hero__iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh;
	min-width: 100%;
	min-height: 100%;
	height: 56.25vw;
	max-width: none;
	border: 0;
	transform: translate(-50%, -50%);
}

.r100f-video-hero__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	pointer-events: none;
}

.r100f-video-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(53, 53, 53, var(--r100f-video-hero-overlay, 0.25));
	pointer-events: none;
	border-radius: 12px;
}

.r100f-video-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 100%;
	padding: 24px clamp(12px, 3vw, 32px);
	box-sizing: border-box;
}

.r100f-video-hero__title-wrap {
	position: relative;
	text-align: center;
	max-width: 560px;
}

/* Dernier mot du titre — barre Figma sous le mot (::after) */
.r100f-video-hero__title-bar {
	position: relative;
	display: inline-block;
	z-index: 0;
}

.r100f-video-hero__title-bar::after {
	content: "";
	position: absolute;
	left: 0;
	top: 68%;
	z-index: -1;
	width: 100%;
	height: 12px;
	background: #9fcc00;
	border-radius: 12px;
	opacity: 0.95;
	pointer-events: none;
}

.r100f-video-hero__title {
	margin: 0;
	padding-bottom: 18px; /* place pour le ::after sous le dernier mot */
	font-family: "Caveat Brush", "Caveat", cursive;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.1;
	letter-spacing: 1px;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.r100f-video-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
}

.r100f-video-hero__cta {
	display: inline-flex;
	align-items: center;
	padding: 6px 24px;
	border-radius: 24px;
	font-family: Raleway, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 39px;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.r100f-video-hero__cta--light {
	background: #fff;
	color: #242624;
}

.r100f-video-hero__cta--yellow {
	background: #f9d67a;
	color: #333;
}

.r100f-video-hero__cta:hover,
.r100f-video-hero__cta:focus {
	opacity: 0.92;
}

.r100f-video-hero__hint {
	margin: 8px auto 0;
	max-width: 1260px;
	padding: 8px clamp(12px, 3vw, 24px);
	font-size: 14px;
	color: #353535;
	background: #fff3cd;
	border-radius: 8px;
	box-sizing: border-box;
}

/* --- Instagram reels (526:12793) --- */
.r100f-instagram-reels {
	width: 100%;
	box-sizing: border-box;
	padding: 48px 24px;
}

.r100f-instagram-reels__inner {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 48px;
}

/* Figma 240:971 — titre aligné à gauche, typo manuscrite */
.r100f-instagram-reels__head {
	width: 100%;
	max-width: 746px;
	margin: 0;
	text-align: left;
}

.r100f-instagram-reels__section-title {
	margin: 0;
	font-family: "Caveat Brush", "Caveat", cursive;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.03;
	letter-spacing: 1px;
	color: #28221c;
}

.r100f-instagram-reels__title-accent {
	position: relative;
	z-index: 0;
	display: inline;
	background: none;
}

.r100f-instagram-reels__title-accent::before {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	bottom: 4px;
	height: 12px;
	background: #d4e88c;
	border-radius: 24px;
	z-index: -1;
}

/* Figma 240:888 — carrousel horizontal, reels 270 × 460px */
.r100f-instagram-reels__reels {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 0 0 8px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: rgba(53, 53, 53, 0.35) transparent;
}

.r100f-instagram-reels__reels::-webkit-scrollbar {
	height: 6px;
}

.r100f-instagram-reels__reels::-webkit-scrollbar-thumb {
	background: rgba(53, 53, 53, 0.25);
	border-radius: 3px;
}

.r100f-instagram-reels__reel {
	position: relative;
	flex: 0 0 270px;
	width: 270px;
	height: 460px;
	scroll-snap-align: start;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
	background: #111;
	isolation: isolate;
}

.r100f-instagram-reels__iframe,
.r100f-instagram-reels__video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

/* --- Carrousel d’avis (526:12793) --- */
.r100f-reviews-carousel {
	width: 100%;
	box-sizing: border-box;
	padding: 0 24px 48px;
}

.r100f-reviews-carousel__inner {
	max-width: 1260px;
	margin: 0 auto;
}

.r100f-reviews-carousel__carousel {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 16px;
	width: 100%;
	max-width: 1260px;
	margin: 0;
	align-self: stretch;
}

.r100f-reviews-carousel__owl-wrap {
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 0 12px;
	position: relative;
	width: 100%;
	/* Évite qu’un flex parent « étire » le carrousel sur une hauteur cumulée anormale */
	align-self: flex-start;
}

/* Owl dans une rangée flex : largeur réelle du stage (ne pas mettre display:flex sur .owl-item : casse le float d’Owl) */
.r100f-reviews-carousel__owl.owl-carousel {
	width: 100%;
}

/* Hauteur = une seule « ligne » de slides ; float inchangé par les styles du thème */
.r100f-reviews-carousel__owl .owl-stage-outer {
	overflow: hidden;
	padding: 24px 0;
}

.r100f-reviews-carousel__owl .owl-item {
	float: left;
	clear: none;
}

/* Owl : pas de nav / dots intégrés (boutons perso + nav:false) — évite .owl-nav.disabled visible */
.r100f-reviews-carousel__owl .owl-nav,
.r100f-reviews-carousel__owl .owl-nav.disabled,
.r100f-picto-carousel__owl .owl-nav,
.r100f-picto-carousel__owl .owl-nav.disabled {
	display: none !important;
}

.r100f-reviews-carousel__owl .owl-dots,
.r100f-picto-carousel__owl .owl-dots {
	display: none !important;
}

.r100f-reviews-carousel__slide {
	box-sizing: border-box;
}

.r100f-reviews-carousel__card {
	width: 100%;
	max-width: 412px;
	margin-left: auto;
	margin-right: auto;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.r100f-reviews-carousel__card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.r100f-reviews-carousel__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50px;
	background: #f1f1f1;
	flex-shrink: 0;
}

.r100f-reviews-carousel__review-ico {
	display: block;
}

.r100f-reviews-carousel__name {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #000;
}

.r100f-reviews-carousel__quote {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.5px;
	color: #000;
}

.r100f-reviews-carousel__nav {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	align-self: center;
	border: 0;
	border-radius: 22px;
	background: rgba(159, 204, 0, 0.65);
	cursor: pointer;
	position: relative;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.r100f-reviews-carousel__nav::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-35%, -50%) rotate(45deg);
}

.r100f-reviews-carousel__nav--next::before {
	transform: translate(-65%, -50%) rotate(-135deg);
}

.r100f-reviews-carousel__nav:hover,
.r100f-reviews-carousel__nav:focus {
	opacity: 0.9;
	transform: scale(1.04);
}

@media (max-width: 700px) {
	.r100f-reviews-carousel__carousel {
		flex-wrap: wrap;
	}

	.r100f-reviews-carousel__nav {
		order: 2;
	}

	.r100f-reviews-carousel__owl-wrap {
		order: 1;
		flex-basis: 100%;
	}
}

/* --- KPI (526:12855) --- */
.r100f-kpi-strip {
	width: 100%;
	box-sizing: border-box;
	padding: 0 16px 48px;
}

.r100f-kpi-strip__inner {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	align-items: flex-start;
	padding: 0 24px;
}

.r100f-kpi-strip__item {
	flex: 0 1 200px;
	max-width: 250px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	min-height: 280px;
}

.r100f-kpi-strip__media {
	width: 100%;
	max-width: 200px;
}

.r100f-kpi-strip__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 210px;
	object-fit: cover;
	border-radius: 12px;
}

.r100f-kpi-strip__img--placeholder {
	display: block;
	width: 100%;
	min-height: 180px;
	background: #e8e8e8;
	border-radius: 12px;
}

.r100f-kpi-strip__number {
	margin: 0;
	font-family: "Caveat Brush", "Caveat", cursive;
	font-size: 48px;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #383838;
}

.r100f-kpi-strip__text {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 18px;
	line-height: 1.25;
	letter-spacing: 1px;
	color: #383838;
}

.r100f-kpi-strip__text p {
	margin: 0;
}

/* Gras / italique : poids réel (Inter chargé jusqu’à 700) + priorité sur d’éventuelles règles du thème */
.r100f-kpi-strip .r100f-kpi-strip__text :is(strong, b) {
	font-weight: 700 !important;
	font-style: normal;
}

.r100f-kpi-strip .r100f-kpi-strip__text :is(em, i) {
	font-style: italic;
}

/* --- Carrousel pictos (Figma 240:726) --- */
.r100f-picto-carousel {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0 24px;
}

.r100f-picto-carousel__hint {
	margin: 0;
	padding: 12px;
	background: #fff3cd;
	border-radius: 8px;
	color: #353535;
	font-size: 14px;
}

.r100f-picto-carousel__wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 1260px;
	margin: 0 auto;
	position: relative;
	direction: ltr;
}

.r100f-picto-carousel__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
	padding: 8px 0 16px;
	position: relative;
	width: 100%;
}

.r100f-picto-carousel__owl.owl-carousel {
	width: 100%;
	direction: ltr;
}

/* Rangée horizontale (float Owl) — pas de pile verticale */
.r100f-picto-carousel__owl .owl-stage-outer {
	overflow: hidden;
}

.r100f-picto-carousel__owl .owl-item {
	box-sizing: border-box;
	float: left;
	height: auto;
}

.r100f-picto-carousel__slide {
	width: 100%;
	max-width: 170px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	height: auto;
}

.r100f-picto-carousel__link {
	display: block;
	text-decoration: none;
	color: inherit;
	outline: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.r100f-picto-carousel__link:hover,
.r100f-picto-carousel__link:focus-visible {
	opacity: 0.92;
	transform: translateY(-1px);
}

.r100f-picto-carousel__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	min-height: 140px;
	/* Ne pas utiliser height:100% : Owl aligne toutes les .owl-item sur la plus haute ; une image
	   disproportionnée faisait monter tout le stage (ex. milliers de px). */
	padding: 8px;
	background: #fff;
	border-radius: 12px;
}

.r100f-picto-carousel__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90px;
	max-height: 90px;
	flex-shrink: 0;
	overflow: visible;
}

.r100f-picto-carousel__figure .r100f-picto-carousel__img {
	display: block;
	max-width: 90px !important;
	max-height: 90px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	object-position: center bottom;
	transform-origin: center;
	transition: transform 0.2s ease;
}

.r100f-picto-carousel__slide:hover .r100f-picto-carousel__figure .r100f-picto-carousel__img {
	transform: scale(1.1);
}

.r100f-picto-carousel__img--placeholder {
	width: 100%;
	max-width: 120px;
	height: 100px;
	background: #eee;
	border-radius: 8px;
}

.r100f-picto-carousel__caption {
	margin: 0;
	padding-top: 4px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.5px;
	text-align: center;
	text-transform: uppercase;
	color: #383838;
	width: 100%;
	max-width: 149px;
}

.r100f-picto-carousel__nav {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 22px;
	background: rgba(159, 204, 0, 0.65);
	cursor: pointer;
	position: relative;
	transition: opacity 0.2s ease, transform 0.2s ease;
	align-self: center;
}

.r100f-picto-carousel__nav::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-35%, -50%) rotate(45deg);
}

.r100f-picto-carousel__nav--next::before {
	transform: translate(-65%, -50%) rotate(-135deg);
}

.r100f-picto-carousel__nav:hover,
.r100f-picto-carousel__nav:focus {
	opacity: 0.9;
	transform: scale(1.04);
}

@media (max-width: 480px) {
	.r100f-picto-carousel {
		padding-left: 12px;
		padding-right: 12px;
	}

	.r100f-picto-carousel__wrap {
		gap: 8px;
	}

	.r100f-picto-carousel__nav {
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 991px) {
	.r100f-picto-carousel__viewport {
		padding: 0;
	}

	.r100f-dieteticienne {
		padding: 0 12px;
	}

	.r100f-dieteticienne__inner {
		gap: 0;
	}

	.r100f-dieteticienne__media {
		max-width: 250px;
	}

	.r100f-kpi-strip__inner {
		max-width: 1260px;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
		padding: 0;
		align-items: flex-start;
	}

	.r100f-kpi-strip__item {
		flex: 0 1 200px;
		max-width: 150px;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0;
		min-height: 200px;
	}
}

@media (max-width: 700px) {
	.r100f-reviews-carousel__nav {
		order: 2;
		display: none;
	}
}
