/*!
 * FLL Project — Page « Sites web professionnels ».
 * S'appuie sur homepage.css + dsm.css ; styles isolés sous .fll-sw.
 */

.fll-homepage.fll-sw {
	--fll-apricot: #fdebdd;
	--fll-apricot-ink: #c8641a;
}

/* ---------- Commun ---------- */
.fll-sw .fll-kicker {
	color: var(--fll-black);
}

.fll-sw .fll-kicker.fll-sw-kicker--light {
	color: rgba(255, 255, 255, 0.85);
}

.fll-sw .fll-kicker + .fll-dsm-h2 {
	margin-top: 18px;
}

.fll-sw .fll-sw-h2--light {
	color: #ffffff;
}

.fll-sw .fll-sw-h2--wide {
	max-width: 22ch;
}

.fll-sw .fll-sw-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--fll-apricot);
	color: var(--fll-apricot-ink);
}

.fll-sw .fll-sw-icon .fll-icon {
	width: 20px;
	height: 20px;
}

.fll-sw .fll-dsm-hero .fll-eyebrow {
	gap: 14px;
}

/* ---------- 01 Solutions ---------- */
.fll-sw .fll-sw-sol__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(40px, 5vw, 88px);
}

.fll-sw .fll-sw-sol__intro .fll-dsm-text {
	margin-top: 18px;
}

.fll-sw .fll-sw-sol__intro .fll-btn {
	margin-top: 28px;
}

.fll-sw .fll-sw-more {
	margin-top: 22px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--fll-muted);
}

.fll-sw .fll-sw-more a {
	color: var(--fll-black);
	text-decoration: underline;
	text-decoration-color: rgba(11, 13, 16, 0.3);
	text-underline-offset: 3px;
}

.fll-sw .fll-sw-more a:hover {
	text-decoration-color: currentColor;
}

.fll-sw .fll-sw-sol__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.fll-sw .fll-sw-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 18px;
	background: var(--fll-soft-bg);
	border: 1px solid transparent;
	transition: background-color 0.3s var(--fll-ease), box-shadow 0.3s var(--fll-ease), border-color 0.3s var(--fll-ease);
}

.fll-sw .fll-sw-card:hover {
	background: #ffffff;
	border-color: var(--fll-border);
	box-shadow: 0 22px 46px -30px rgba(11, 13, 16, 0.35);
}

.fll-sw .fll-sw-card h3 {
	margin-top: 18px;
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.fll-sw .fll-sw-card p {
	margin-top: 8px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--fll-muted);
}

.fll-sw .fll-sw-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fll-black);
}

.fll-sw .fll-sw-card__link .fll-icon {
	width: 15px;
	height: 15px;
	transition: transform 0.3s var(--fll-ease);
}

.fll-sw .fll-sw-card__link:hover .fll-icon {
	transform: translateX(3px);
}

/* ---------- 02 Pourquoi ---------- */
.fll-sw .fll-sw-why .fll-dsm-prob__card h3 {
	margin-top: 20px;
}

/* ---------- 03 Réalisations (sombre) ---------- */
.fll-sw .fll-sw-proj {
	--fll-focus: #ffffff;
	background: var(--fll-black);
	color: #ffffff;
}

.fll-sw .fll-sw-proj__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 24px 64px;
}

.fll-sw .fll-sw-proj__aside {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.fll-sw .fll-sw-proj__aside p {
	max-width: 30em;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}

.fll-sw .fll-sw-arrow {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #ffffff;
}

.fll-sw .fll-sw-arrow:hover {
	background: #ffffff;
	color: var(--fll-black);
}

.fll-sw .fll-sw-arrow[disabled] {
	background: transparent;
	color: #ffffff;
}

.fll-sw .fll-sw-proj__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 20px) / 4);
	column-gap: 20px;
	margin-top: clamp(36px, 4vw, 56px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.fll-sw .fll-sw-proj__track::-webkit-scrollbar {
	display: none;
}

.fll-sw .fll-sw-proj__track:focus-visible {
	outline-offset: 6px;
	border-radius: 12px;
}

.fll-sw .fll-sw-proj__track > li {
	scroll-snap-align: start;
	min-width: 0;
}

.fll-sw .fll-sw-pcard {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fll-sw .fll-sw-pcard__media {
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #16181c;
}

.fll-sw .fll-sw-pcard__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--fll-ease);
}

.fll-sw .fll-sw-pcard:hover .fll-sw-pcard__img {
	transform: scale(1.04);
}

.fll-sw .fll-sw-pcard__tag {
	align-self: flex-start;
	margin-top: 16px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(253, 235, 221, 0.12);
	border: 1px solid rgba(253, 235, 221, 0.22);
	font-size: 11.5px;
	font-weight: 500;
	color: #f6d6bd;
}

.fll-sw .fll-sw-pcard h3 {
	margin-top: 12px;
	font-size: 16.5px;
	font-weight: 600;
	color: #ffffff;
}

.fll-sw .fll-sw-pcard__text {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.65);
}

.fll-sw .fll-sw-pcard__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: #ffffff;
}

.fll-sw .fll-sw-pcard__link .fll-icon {
	width: 15px;
	height: 15px;
	transition: transform 0.3s var(--fll-ease);
}

.fll-sw .fll-sw-pcard__link:hover .fll-icon {
	transform: translateX(3px);
}

.fll-sw .fll-sw-proj__cta {
	margin-top: clamp(32px, 4vw, 48px);
}

/* ---------- 04 SEO ---------- */
.fll-sw .fll-sw-seo__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 5vw, 88px);
}

.fll-sw .fll-sw-seo__content .fll-dsm-text {
	margin-top: 16px;
}

.fll-sw .fll-sw-seo__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
	margin: 28px 0 32px;
}

.fll-sw .fll-sw-seo__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.fll-sw .fll-sw-check {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--fll-apricot);
	color: var(--fll-apricot-ink);
}

.fll-sw .fll-sw-seo__list h3 {
	font-size: 14.5px;
	font-weight: 600;
}

.fll-sw .fll-sw-seo__list p {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fll-muted);
}

.fll-sw .fll-sw-seo__media {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 40px 80px -48px rgba(11, 13, 16, 0.45);
}

.fll-sw .fll-sw-seo__img {
	width: 100%;
	height: auto;
}

/* ---------- 05 Méthode ---------- */
.fll-sw .fll-sw-method {
	background: var(--fll-soft-bg);
}

.fll-sw .fll-sw-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(36px, 4vw, 56px);
}

.fll-sw .fll-sw-step__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: visible;
}

.fll-sw .fll-sw-step__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.fll-sw .fll-sw-step__num {
	position: absolute;
	left: 14px;
	bottom: -16px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--fll-black);
	border: 3px solid var(--fll-soft-bg);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.fll-sw .fll-sw-step h3 {
	margin-top: 28px;
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.fll-sw .fll-sw-step p {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--fll-muted);
}

/* ---------- 06 FAQ ---------- */
.fll-sw .fll-sw-faq__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: clamp(32px, 5vw, 88px);
}

.fll-sw .fll-sw-faq__layout header .fll-dsm-text {
	margin-top: 16px;
}

.fll-sw .fll-sw-faq__layout header .fll-btn {
	margin-top: 26px;
}

.fll-sw .fll-sw-faq__list {
	display: grid;
	gap: 10px;
}

.fll-sw .fll-sw-faq__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
}

.fll-sw .fll-sw-faq__contact .fll-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--fll-ease);
}

.fll-sw .fll-sw-faq__contact:hover .fll-icon {
	transform: translateX(3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.fll-sw .fll-sw-proj__track {
		grid-auto-columns: calc((100% - 2 * 20px) / 3);
	}
	.fll-sw .fll-sw-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 36px;
	}
}

@media (max-width: 1023px) {
	.fll-sw .fll-sw-sol__layout,
	.fll-sw .fll-sw-seo__layout,
	.fll-sw .fll-sw-faq__layout,
	.fll-sw .fll-sw-proj__head {
		grid-template-columns: 1fr;
	}
	.fll-sw .fll-sw-proj__track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}
}

@media (max-width: 767px) {
	.fll-sw .fll-sw-sol__grid,
	.fll-sw .fll-sw-seo__list {
		grid-template-columns: 1fr;
	}
	.fll-sw .fll-sw-proj__aside {
		flex-direction: column;
		align-items: flex-start;
	}
	.fll-sw .fll-sw-proj__track {
		grid-auto-columns: 82%;
		column-gap: 14px;
	}
	.fll-sw .fll-sw-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 14px;
	}
	.fll-sw .fll-sw-proj__cta .fll-btn {
		width: 100%;
	}
}

@media (max-width: 479px) {
	.fll-sw .fll-sw-steps {
		grid-template-columns: 1fr;
	}
}
