/* =============================================================================
   PHYTO VICTIMES — Home V2 (Figma 89:12349)
   ============================================================================= */

/* ---------- HERO (split teal / image full-bleed) — header pill flotte au-dessus ---------- */
.pv-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 720px;
	background: var(--pv-cream);
}
.pv-hero__copy {
	background: var(--pv-teal);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 200px clamp(32px, 6vw, 96px) 100px clamp(24px, 8vw, 160px);
}
.pv-hero__copy-inner { max-width: 560px; }
.pv-hero__title {
	font-family: var(--pv-font-display);
	font-size: clamp(2rem, 3.8vw, 3.3rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 28px;
	letter-spacing: -.01em;
}
.pv-hero__text {
	font-family: var(--pv-font-body);
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 40px;
	line-height: 1.6;
}
.pv-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	padding: 12px 14px 12px 30px;
	border-radius: var(--pv-radius-pill);
	background: transparent;
	border: 1.5px solid #fff;
	color: #fff;
	font-family: var(--pv-font-display);
	font-weight: 500;
	font-size: 1.15rem;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.pv-hero__cta:hover,
.pv-hero__cta:focus-visible {
	background: #fff;
	color: var(--pv-teal);
	outline: none;
}
.pv-hero__cta-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: var(--pv-teal);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	transition: background .2s ease, color .2s ease;
}
.pv-hero__cta-circle svg { width: 16px; height: 16px; }
.pv-hero__cta:hover .pv-hero__cta-circle,
.pv-hero__cta:focus-visible .pv-hero__cta-circle {
	background: var(--pv-teal);
	color: #fff;
}

/* Highlight teal-dark sur le dernier segment du titre (matche Figma) */
.pv-hero__highlight {
	display: inline-block;
	background: #1d6664;
	color: #fff;
	padding: 2px 16px 4px;
	line-height: 1.15;
}
.pv-hero__media {
	position: relative;
	overflow: hidden;
	background: var(--pv-mint);
	min-height: 320px;
}
.pv-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity .8s ease-in-out;
	pointer-events: none;
}
.pv-hero__slide.is-active { opacity: 1; }
/* Si une seule image, garantit l'affichage même sans la classe */
.pv-hero__media .pv-hero__slide:only-child { opacity: 1; }

/* LINK CIRCLE : déplacé dans main.css (composants partagés accueil + profils). */

/* ---------- BANDES profils (J'ai été exposé / Je cherche…) ---------- */
.pv-profiles {
	padding: 64px 0;
	background: var(--pv-cream);
}
.pv-profiles--alt { background: var(--pv-cream); padding-top: 0; }
.pv-profiles__title {
	text-align: left;
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 2vw, 1.8rem);
	color: var(--pv-navy);
	margin: 0 0 28px;
}
.pv-profiles__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.pv-profile-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 22px 14px 18px;
	border-radius: var(--pv-radius-md);
	background: #fff;
	box-shadow: var(--pv-shadow-sm);
	text-decoration: none;
	color: var(--pv-navy);
	min-height: 100px;
	border: 2px solid transparent;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pv-profile-card:hover,
.pv-profile-card:focus-visible {
	border-color: var(--pv-teal);
	box-shadow: var(--pv-shadow-md);
	color: var(--pv-navy);
	outline: none;
	transform: translateY(-1px);
}
.pv-profile-card__icon {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pv-profile-card__icon svg, .pv-profile-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.pv-profile-card__label {
	flex: 1 1 auto;
	text-align: center;
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.25;
	color: var(--pv-navy);
}
.pv-profile-card__arrow {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--pv-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pv-profile-card__arrow svg { width: 16px; height: 16px; }

/* ---------- NOS ACTIONS (bande navy pleine largeur) ---------- */
.pv-actions {
	background: var(--pv-navy);
	color: #fff;
	padding: 76px 0;
}
.pv-actions__title {
	color: #fff;
	text-align: center;
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(2rem, 2.8vw, 2.5rem);
	margin: 0 0 48px;
}
.pv-actions__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 960px;
	margin: 0 auto;
}
.pv-action-card {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.pv-action-card__icon {
	width: 140px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pv-action-card__icon svg { width: 100%; height: 100%; }
.pv-action-card__label {
	font-family: var(--pv-font-display);
	font-size: clamp(1.6rem, 2vw, 2rem);
	font-weight: 700;
	color: #fff;
	margin-top: 4px;
}
.pv-action-card__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px 10px 28px;
	border-radius: var(--pv-radius-pill);
	border: 1.5px solid #fff;
	background: transparent;
	color: #fff;
	font-family: var(--pv-font-display);
	font-weight: 500;
	font-size: 1.05rem;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.pv-action-card__link:hover,
.pv-action-card__link:focus,
.pv-action-card__link:focus-visible {
	background: #fff !important;
	color: var(--pv-navy) !important;
	outline: none;
}
.pv-action-card__arrow {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--pv-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	transition: background .2s ease, color .2s ease;
}
.pv-action-card__arrow svg { width: 14px; height: 14px; }
.pv-action-card__link:hover .pv-action-card__arrow,
.pv-action-card__link:focus-visible .pv-action-card__arrow {
	background: var(--pv-navy);
	color: #fff;
}

/* ---------- ACTU (intro gauche, carousel droite avec peek) ---------- */
.pv-actu {
	padding: 80px 0 60px;
	background: var(--pv-cream);
	overflow: hidden;
}
.pv-actu__layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
	align-items: start;
}
.pv-actu__intro {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding-top: 12px;
}
.pv-actu__title {
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(2.2rem, 3vw, 2.8rem);
	color: var(--pv-navy);
	margin: 0;
}
.pv-actu__lead {
	font-family: var(--pv-font-body);
	font-weight: 500;
	font-size: .95rem;
	color: var(--pv-navy);
	margin: 0;
	line-height: 1.7;
}

/* Bouton mint (.pv-btn-mint) : déplacé dans main.css, alias de .pv-pastille--mint. */

/* Viewport + track du carousel */
.pv-actu__carousel { position: relative; }
.pv-actu__viewport {
	overflow: hidden;
	margin-right: -90px; /* peek de la 4e carte */
}
.pv-actu__track {
	list-style: none;
	padding: 8px 0 12px;
	margin: 0;
	display: flex;
	align-items: stretch; /* toutes les cartes même hauteur */
	gap: 18px;
	transition: transform .45s cubic-bezier(.2,.7,.2,1);
	will-change: transform;
}

/* Carousel-only sizing pour la home (override de la largeur flex) */
.pv-actu .pv-article-card { flex: 0 0 calc((100% - 36px - 60px) / 3); }

/* Le reste des styles .pv-article-card est dans main.css (chargé partout) */

/* Nav prev/next */
.pv-actu__nav {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 40px;
}
.pv-actu__nav-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--pv-mint);
	color: var(--pv-navy);
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease;
}
.pv-actu__nav-btn:hover, .pv-actu__nav-btn:focus-visible { background: #a5d3d2 !important; color: var(--pv-navy); outline: none; }
.pv-actu__nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.pv-actu__nav-btn svg { width: 18px; height: 18px; }

/* ---------- NEWSLETTER (carte teal rotée -2.7°, illu rotée +4.5°) ---------- */
.pv-newsletter {
	padding: 60px 0 100px;
	background: var(--pv-cream);
	overflow: hidden; /* clip un peu si la rotation dépasse */
}
.pv-newsletter__card {
	position: relative;
	background: var(--pv-teal);
	color: #fff;
	border-radius: 22px;
	padding: 54px 64px 58px;
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 40px;
	align-items: center;
	max-width: 960px;
	margin: 0 auto;
	box-shadow: 0 6px 22px rgba(0, 40, 62, .28);
	transform: rotate(-2.66deg);
	transform-origin: center;
}
.pv-newsletter__title {
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(2.2rem, 3vw, 2.8rem);
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.05;
}
.pv-newsletter__subtitle {
	font-family: var(--pv-font-body);
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
	margin: 0 0 22px;
}
.pv-newsletter__form {
	display: flex;
	align-items: center;
	background: transparent;
	border: 1.5px solid #fff;
	border-radius: var(--pv-radius-pill);
	padding: 4px 4px 4px 22px;
	max-width: 420px;
	margin-bottom: 18px;
}
.pv-newsletter__form input[type="email"] {
	flex: 1;
	border: 0;
	outline: none;
	font: inherit;
	font-family: var(--pv-font-display);
	font-weight: 500;
	color: #fff;
	background: transparent;
	padding: 12px 6px;
}
.pv-newsletter__form input[type="email"]::placeholder { color: #fff; opacity: .9; }
.pv-newsletter__form button,
.pv-newsletter__form button:hover,
.pv-newsletter__form button:focus,
.pv-newsletter__form button:active,
.pv-newsletter__form button:focus-visible {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: #fff !important;
	color: var(--pv-teal) !important;
	border: 0 !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	outline: none !important;
	box-shadow: none !important;
}
.pv-newsletter__form button svg { width: 16px; height: 16px; color: var(--pv-teal); }

.pv-newsletter__legal {
	font-family: var(--pv-font-body);
	font-size: .68rem;
	font-weight: 400;
	color: #fff;
	margin: 0;
	line-height: 1.5;
	max-width: 480px;
}
.pv-newsletter__art {
	/* Le parent a rotate(-2.66°). Pour atteindre +4.5° absolu sur l'illu : +7.16° relatif. */
	transform: rotate(7.16deg);
	transform-origin: center;
	position: relative;
}
.pv-newsletter__art svg,
.pv-newsletter__art img {
	width: 100%;
	max-width: 260px;
	height: auto;
	margin-left: auto;
	display: block;
}

/* ---------- NOUS SOUTENIR (bandeau orange, 3 pills blancs) ---------- */
.pv-support {
	background: var(--pv-orange);
	color: #fff;
	padding: 36px 0;
}
.pv-support__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px;
}
.pv-support__title {
	color: var(--pv-cream);
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	margin-right: 24px;
}
.pv-support__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}
.pv-support__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 12px 10px 26px;
	border-radius: var(--pv-radius-pill);
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	font-family: var(--pv-font-display);
	font-weight: 500;
	font-size: 1.05rem;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.pv-support__btn:hover,
.pv-support__btn:focus,
.pv-support__btn:focus-visible {
	background: #fff !important;
	color: var(--pv-orange);
	outline: none;
}
.pv-support__btn .pv-link-circle--white {
	background: #fff;
	color: var(--pv-orange);
	width: 32px;
	height: 32px;
	margin: 0;
}
.pv-support__btn .pv-link-circle--white svg { width: 13px; height: 13px; }
.pv-support__btn:hover .pv-link-circle--white { background: var(--pv-orange); color: #fff; }

/* ---------- SUIVEZ-NOUS (5 cards blanches grand format) ---------- */
.pv-social {
	padding: 64px 0;
	text-align: center;
	background: var(--pv-cream);
}
.pv-social__title {
	font-family: var(--pv-font-display);
	font-weight: 700;
	font-size: clamp(2rem, 2.8vw, 2.5rem);
	color: var(--pv-navy);
	margin: 0 0 40px;
}
.pv-social__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	max-width: 1100px;
	margin: 0 auto;
}
.pv-social-card {
	background: #fff;
	border-radius: var(--pv-radius-md);
	padding: 24px 18px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	text-decoration: none;
	color: var(--pv-navy);
	box-shadow: var(--pv-shadow-sm);
	min-height: 200px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pv-social-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pv-shadow-md);
	color: var(--pv-navy);
}
.pv-social-card__icon {
	width: 110px;
	height: 88px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pv-social-card__icon svg { width: 100%; height: 100%; }
.pv-social-card__footer {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.pv-social-card__handle {
	font-family: var(--pv-font-body);
	font-weight: 700;
	font-size: 1rem;
	color: var(--pv-navy);
}
.pv-social-card__arrow {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pv-teal);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pv-social-card__arrow svg { width: 11px; height: 11px; }

/* =============================================================================
   RESPONSIVE — cascade 1100 / 960 / 720 / 480
   ============================================================================= */

/* ---- Tablet large : profils 3-col, social 4-col ---- */
@media (max-width: 1100px) {
	.pv-profiles__grid { grid-template-columns: repeat(3, 1fr); }
	.pv-social__grid   { grid-template-columns: repeat(4, 1fr); }
	.pv-actu__layout   { grid-template-columns: 280px 1fr; gap: 28px; }
	.pv-newsletter__card { padding: 44px 48px; }
}

/* ---- Tablet : profils 2-col, social 3-col, actions 2-col, support stack ---- */
@media (max-width: 960px) {
	.pv-profiles__grid { grid-template-columns: repeat(2, 1fr); }
	.pv-social__grid   { grid-template-columns: repeat(3, 1fr); }
	.pv-actions__grid  { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.pv-support__inner { flex-direction: column; gap: 16px; text-align: center; }
	.pv-support__title { margin-right: 0; }
	.pv-actions__title { margin-bottom: 36px; }
}

/* Anti-overflow universel pour les grid/flex items (évite que du contenu
   trop large pousse une colonne au-delà de son container). */
.pv-actu__layout,
.pv-actu__intro,
.pv-actu__carousel,
.pv-actu__viewport,
.pv-actu__track,
.pv-newsletter__card,
.pv-newsletter__body,
.pv-newsletter__art { min-width: 0; }

/* ---- Mobile large : hero stack, actu 1 card + peek, newsletter stack ---- */
@media (max-width: 880px) {
	/* Hero : copy + media stackés verticalement */
	.pv-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.pv-hero__copy {
		padding: 130px 22px 56px;
		justify-content: flex-start;
	}
	.pv-hero__copy-inner { max-width: none; }
	.pv-hero__title { font-size: clamp(1.8rem, 7.5vw, 2.4rem); margin-bottom: 20px; }
	.pv-hero__text { font-size: .92rem; margin-bottom: 24px; }
	.pv-hero__media { min-height: 240px; }
	.pv-hero__cta { font-size: 1rem; padding: 10px 12px 10px 26px; }

	/* Profils : encore 2-col mais plus compact */
	.pv-profiles { padding: 48px 0; }
	.pv-profiles--alt { padding-top: 0; }
	.pv-profiles__title { font-size: 1.25rem; margin-bottom: 20px; }

	/* Actions : 1-col, icônes plus petites */
	.pv-actions { padding: 56px 0; }
	.pv-actions__title { font-size: clamp(1.8rem, 6vw, 2.2rem); margin-bottom: 28px; }
	.pv-actions__grid { grid-template-columns: 1fr; gap: 36px; }
	.pv-action-card__icon { width: 100px; height: 100px; }
	.pv-action-card__label { font-size: clamp(1.4rem, 5vw, 1.7rem); }

	/* Actu : layout stack (intro au-dessus), carousel 1 carte + peek */
	.pv-actu { padding: 56px 0 40px; }
	.pv-actu__layout { grid-template-columns: 1fr; gap: 24px; }
	.pv-actu__title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
	.pv-actu__lead { max-width: 100%; }
	.pv-actu__viewport { margin-right: 0; } /* pas de margin négative qui déborde */
	.pv-actu .pv-article-card { flex: 0 0 86%; min-width: 0; } /* card pleine + peek 14% de la suivante */
	.pv-actu__nav { margin-top: 24px; }

	/* Newsletter : rotation supprimée sur mobile, layout vertical centré */
	.pv-newsletter { padding: 32px 0 60px; }
	.pv-newsletter__card {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 36px 24px 40px;
		transform: none;
		gap: 24px;
	}
	.pv-newsletter__title { font-size: 1.8rem; }
	.pv-newsletter__form { margin: 0 auto 14px; max-width: none; }
	.pv-newsletter__legal { max-width: none; }
	.pv-newsletter__art {
		transform: none;
		order: -1; /* image au-dessus du texte sur mobile */
	}
	.pv-newsletter__art svg,
	.pv-newsletter__art img {
		margin: 0 auto;
		max-width: 200px;
	}

	/* Support : titre + boutons en colonne */
	.pv-support { padding: 32px 16px; }
	.pv-support__buttons { flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
	.pv-support__btn { justify-content: space-between; width: 100%; }

	/* Social : 2-col, cards plus compactes */
	.pv-social { padding: 48px 0; }
	.pv-social__title { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: 28px; }
	.pv-social__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.pv-social-card { min-height: 160px; padding: 18px 14px 16px; gap: 12px; }
	.pv-social-card__icon { width: 80px; height: 64px; }
}

/* ---- Mobile small : profils 1-col, hero compact, padding réduits ---- */
@media (max-width: 480px) {
	.pv-hero__copy { padding: 110px 18px 48px; }
	.pv-hero__title { font-size: clamp(1.6rem, 8vw, 2rem); margin-bottom: 16px; }
	.pv-hero__text { font-size: .88rem; line-height: 1.55; }
	.pv-hero__highlight { padding: 2px 10px 4px; }

	.pv-profiles__grid { grid-template-columns: 1fr; gap: 14px; }
	.pv-profile-card { padding: 14px 18px; gap: 14px; min-height: 90px; }
	.pv-profile-card__icon { flex-basis: 56px; width: 56px; height: 56px; }
	.pv-profile-card__label { font-size: 1rem; text-align: left; }

	.pv-actions { padding: 48px 0; }

	.pv-actu__viewport { margin-right: 0; }
	.pv-actu .pv-article-card { flex: 0 0 90%; min-width: 0; }
	.pv-actu__nav-btn { width: 42px; height: 42px; }

	.pv-newsletter__card { padding: 28px 18px 32px; border-radius: 18px; }
	.pv-newsletter__title { font-size: 1.5rem; }
	.pv-newsletter__subtitle { font-size: .9rem; }
	.pv-newsletter__art svg,
	.pv-newsletter__art img { max-width: 170px; }

	.pv-support__btn { padding: 10px 14px 10px 22px; font-size: 1rem; }
}

