/* Puzzle · viewport pass: navigation call to action, floating WhatsApp, one-viewport sections, mobile layout */

/* ---- Display type: Anton served with the site, a metric-matched fallback while it loads, a little air between the letters ---- */
@font-face {
	font-family: "Anton";
	src: url("../fonts/Anton-Regular-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Anton Fallback";
	src:
		local("Arial"), local("Helvetica Neue"), local("Roboto"),
		local("Liberation Sans"), local("DejaVu Sans");
	size-adjust: 70%;
	ascent-override: 168%;
	descent-override: 47%;
	line-gap-override: 0%;
}
:root {
	--font--serif: Anton, "Anton Fallback", sans-serif;
	--letter-spacing--2: 0.012em;
}

/* ---- Navigation call to action: quiet outlined pill beside the orange menu ---- */
.nav-cta {
	padding: 11px 20px;
	border: 1px solid var(--black);
	border-radius: var(--radius--round);
	line-height: 1;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}
.nav-cta:hover,
.nav-cta:focus-visible {
	background-color: var(--sapin);
	border-color: var(--sapin);
	color: var(--white);
}
.nav-cta-circle {
	display: none;
}

/* ---- Hero photo: lower frame so the team is fully in view, shorter section ---- */
@media (min-width: 992px) {
	.home-a-video {
		height: 600px;
		margin-bottom: 48px;
	}
}
/* The first paint already holds the scale the scroll zoom starts from */
@media (prefers-reduced-motion: no-preference) {
	.home-a-video {
		transform: scale(1.06);
	}
}

/* ---- Stacked display lines: room for the Q tails and the accents ---- */
.home-a-hero-wrap .text-h0,
.headline-home-a-work .text-h1 {
	line-height: 1.1;
}

/* ---- Anchors land below the fixed navigation bar ---- */
[data-section] {
	scroll-margin-top: 124px;
}

/* ---- The fixed navigation bar never covers the hero title's accents ---- */
.section.hero-home-a {
	padding-top: 168px;
}
@media (max-width: 767px) {
	.section.hero-home-a {
		padding-top: 136px;
	}
}

/* ---- Footer marquee keeps its accent ---- */
.footer-marquee .text-h0 {
	line-height: 1.35;
	margin-right: 0.35em;
}

/* ---- Floating WhatsApp ---- */
.puzzle-whatsapp {
	position: fixed;
	right: 22px;
	bottom: 88px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: var(--radius--round);
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.18);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.puzzle-whatsapp:hover,
.puzzle-whatsapp:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(26, 26, 26, 0.24);
}

/* ---- Each section reads in one desktop viewport ---- */
@media (min-width: 992px) {
	.headline-home-a-work .text-h1 {
		font-size: 7.6vh;
	}
	.section.home-a-projects-section {
		padding-top: 88px;
	}
	.home-a-projects-section .headline-home-a-work {
		margin-bottom: 40px;
	}
	.project-thumbnail.thumbnail-1 {
		height: min(606px, 48vh);
	}
	.section.home-a-services {
		min-height: 0;
		padding-top: 72px;
		padding-bottom: 72px;
	}
	.home-a-service-item .text-h1 {
		font-size: 7vh;
	}
	.home-a-service-item {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	.section.formules {
		padding-top: 48px;
		padding-bottom: 48px;
	}
	.formules-head {
		margin-bottom: 24px;
	}
	.formules-head .text-h4 {
		font-size: 26px;
	}
	.formules-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}
	.formule-card {
		padding: 24px 22px;
	}
	.formule-name {
		font-size: 26px;
	}
	.formule-cta {
		margin-top: 20px;
	}
	.formule-tagline {
		margin-bottom: 20px;
	}
	.rate-amount {
		font-size: 23px;
	}
	.section.home-a-services {
		padding-bottom: 72px;
	}
	.services-included {
		margin-top: 24px;
	}
}
@media (max-width: 767px) {
	.puzzle-whatsapp {
		right: 14px;
		bottom: 76px;
		width: 54px;
		height: 54px;
	}
}

/* ---- Mobile pass ---- */
@media (max-width: 991px) {
	.section.home-a-services {
		min-height: 0;
		padding-top: 40px;
		padding-bottom: 56px;
	}
	.home-a-service-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.home-a-service-item .hide {
		flex: 1;
		min-width: 0;
	}
	.home-a-service-image {
		display: block;
		position: static;
		inset: auto;
		width: 72px;
		height: 72px;
		margin: 0;
		border-radius: 14px;
		flex: none;
		opacity: 1 !important;
		transform: none !important;
	}
}
@media (max-width: 767px) {
	.section.home-a-projects-section {
		padding-bottom: 24px;
	}
	.testimonial-carousel {
		flex-wrap: wrap;
		margin-top: 0;
	}
	.mask-full {
		width: 100%;
		padding-top: 24px;
	}
	.testimonial-card {
		justify-items: stretch;
	}
	.image-wrap-testimonial {
		width: 100%;
		max-width: 100%;
		height: 240px;
		border-radius: var(--radius--regular);
	}
	.carousel-button.testimonial-right,
	.carousel-button.testominal-left-button {
		position: absolute;
		inset: 212px auto auto 12px;
		margin: 0;
		background-color: var(--white);
	}
	.carousel-button.testimonial-right {
		inset: 212px auto auto 84px;
	}
	.single-text-marquee {
		padding-right: 60px;
	}
	.footer-grid {
		grid-row-gap: 48px;
	}
}
@media (max-width: 479px) {
	.home-a-video {
		height: 260px;
	}
}
