/* ==========================================================================
   Unicare — Landing page
   Palette pastel inspirée de l'illustration hero
   ========================================================================== */

:root {
	--ciel: #a8d4f0;
	--ciel-fonce: #6db3dd;
	--vert: #7bc47f;
	--vert-doux: #cdeccb;
	--rose: #f5c6d0;
	--rose-doux: #fbe7ec;
	--creme: #f5e6a3;
	--creme-doux: #fbf4d8;
	--encre: #2d3a3a;
	--encre-douce: #5a6b6b;
	--fond: #fdfcf8;
	--radius-l: 2rem;
	--font: "Quicksand", "Trebuchet MS", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	color: var(--encre);
	background: var(--fond);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
	display: inline-block;
	padding: 0.9rem 2.2rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
	background: var(--encre);
	color: #fff;
	box-shadow: 0 6px 20px rgba(45, 58, 58, 0.22);
}

.btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(45, 58, 58, 0.26);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 2.5rem;
	padding: 1.6rem clamp(1.5rem, 5vw, 4rem);
}

.nav__brand {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.nav__dot {
	color: var(--vert);
}

.nav__links {
	display: flex;
	gap: 2rem;
	margin-left: auto;
	font-weight: 600;
	font-size: 0.95rem;
}

.nav__links a {
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.nav__links a:hover {
	opacity: 1;
}

.nav__pro {
	font-weight: 600;
	font-size: 0.95rem;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.nav__pro:hover {
	opacity: 1;
}

.nav__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	margin-left: auto;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.4rem;
}

.nav__burger span {
	display: block;
	width: 24px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--encre);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav--open .nav__burger span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.nav--open .nav__burger span:nth-child(2) {
	opacity: 0;
}

.nav--open .nav__burger span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero — image full-bleed
   ========================================================================== */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(253, 252, 248, 0) 55%, rgba(253, 252, 248, 0.9) 96%),
		url("/assets/unicare/images/hero.png") center bottom / cover no-repeat,
		linear-gradient(180deg, #bfe0f5 0%, #d8ecf9 100%);
}

.hero__content {
	position: relative;
	z-index: 5;
	text-align: center;
	padding: clamp(7rem, 16vh, 11rem) 1.5rem 0;
	animation: hero-in 0.9s ease both;
}

@keyframes hero-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero__eyebrow {
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--encre-douce);
	margin-bottom: 0.75rem;
}

.hero__brand {
	font-size: clamp(3.5rem, 10vw, 6.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.hero__brand span {
	color: var(--vert);
}

.hero__tagline {
	margin-top: 1.25rem;
	font-size: clamp(1.1rem, 2.4vw, 1.45rem);
	font-weight: 500;
	color: var(--encre-douce);
}

.hero__cta {
	margin-top: 2.25rem;
}

.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	color: var(--encre);
	opacity: 0.6;
	animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% {
		transform: translate(-50%, 0);
	}
	50% {
		transform: translate(-50%, 8px);
	}
}

/* ==========================================================================
   Sections communes
   ========================================================================== */

.section {
	padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.5rem, 5vw, 4rem);
}

.section__inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.section__inner--narrow {
	max-width: 720px;
}

.section__title {
	font-size: clamp(1.9rem, 4.5vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.section__lead {
	margin-top: 0.9rem;
	font-size: 1.1rem;
	color: var(--encre-douce);
}

/* Apparition au scroll */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal--visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Gammes
   ========================================================================== */

.gammes {
	background: var(--fond);
}

.gammes__grid {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem 2rem;
}

.gamme h3 {
	margin-top: 1.2rem;
	font-size: 1.15rem;
	font-weight: 700;
}

.gamme p {
	margin-top: 0.5rem;
	font-size: 0.95rem;
	color: var(--encre-douce);
}

.gamme__icon {
	width: 84px;
	height: 84px;
	margin: 0 auto;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.gamme:hover .gamme__icon {
	transform: translateY(-6px) scale(1.05);
}

.gamme__icon svg {
	width: 36px;
	height: 36px;
	color: var(--encre);
}

.gamme__icon--rose {
	background: var(--rose-doux);
}

.gamme__icon--ciel {
	background: #ddeefb;
}

.gamme__icon--creme {
	background: var(--creme-doux);
}

.gamme__icon--vert {
	background: var(--vert-doux);
}

/* ==========================================================================
   À propos
   ========================================================================== */

.apropos {
	background: linear-gradient(180deg, var(--fond) 0%, var(--rose-doux) 120%);
}

.apropos__text {
	margin-top: 1.5rem;
	font-size: 1.15rem;
	color: var(--encre-douce);
}

.apropos__valeurs {
	margin-top: 2.5rem;
	list-style: none;
	display: flex;
	justify-content: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	font-weight: 700;
	flex-wrap: wrap;
}

.apropos__valeurs li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.valeur__pastille {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
}

.valeur__pastille--rose {
	background: var(--rose);
}

.valeur__pastille--ciel {
	background: var(--ciel);
}

.valeur__pastille--vert {
	background: var(--vert);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
	background: var(--fond);
}

.contact__infos {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	flex-wrap: wrap;
	font-weight: 600;
}

.contact__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--encre);
	transition: color 0.2s ease;
}

a.contact__item:hover {
	color: var(--ciel-fonce);
}

.contact__item svg {
	width: 22px;
	height: 22px;
	color: var(--vert);
}

.contact__cta {
	margin-top: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
	background: var(--encre);
	color: rgba(255, 255, 255, 0.85);
	padding: 2rem clamp(1.5rem, 5vw, 4rem);
}

.footer__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.footer__brand {
	font-weight: 700;
	font-size: 1.2rem;
}

.footer__brand span {
	color: var(--vert);
}

.footer__copy {
	margin-left: auto;
	font-size: 0.85rem;
	opacity: 0.7;
}

.footer__login {
	font-size: 0.85rem;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.footer__login:hover {
	opacity: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 820px) {
	.nav {
		gap: 1rem;
	}

	.nav__links {
		position: absolute;
		top: 100%;
		left: 1rem;
		right: 1rem;
		flex-direction: column;
		gap: 0;
		background: #fff;
		border-radius: 1.25rem;
		box-shadow: 0 16px 40px rgba(45, 58, 58, 0.15);
		padding: 0.75rem;
		display: none;
	}

	.nav--open .nav__links {
		display: flex;
	}

	.nav__links a {
		padding: 0.85rem 1.25rem;
		border-radius: 0.75rem;
	}

	.nav__links a:hover {
		background: var(--rose-doux);
	}

	.nav__pro {
		display: none;
	}

	.nav--open .nav__links::after {
		content: "";
	}

	.nav__burger {
		display: flex;
	}

	.gammes__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.gammes__grid {
		grid-template-columns: 1fr;
		gap: 2.75rem;
	}

	.hero__content {
		padding-top: 6.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hero__content,
	.hero__scroll {
		animation: none;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
