/* ==========================================================================
   Page produit Artificial Sumo : « La révélation ».
   Une simple photo devient une mise en scène complète.
   Couleurs du studio : noir #0E0F11, rouge #E0412B (texte rouge sur noir : #EC5E48, 5,7:1), blanc cassé.
   1. Hero (section collante, ordinateur) : la petite photo du collier s'écarte,
      l'image de campagne se révèle derrière elle (flou et grain qui se dissipent).
   2. Le quoi : les secteurs en grands mots qui s'allument au fil du défilement.
   3. Les prestations : une pellicule, chaque plan s'ouvre par un volet.
   4. Le comment : le manifeste, en grand.
   Sans JS / mouvement réduit / mobile : avant et après côte à côte, tout est affiché.
   ========================================================================== */

.sumo-pp--artificial-sumo {
	--art-noir: #0e0f11;
	--art-noir-2: #17181b;
	--art-film: #060607;
	--art-blanc: #f2efea;
	--art-gris: #b4b8bf;          /* textes secondaires : 9,6:1 sur le noir */
	--art-eteint: #5b6068;        /* mots pas encore allumés : 3:1 (grand texte) */
	--art-rouge: #e0412b;         /* surfaces, traits */
	--art-rouge-texte: #ec5e48;   /* texte rouge sur noir : 5,7:1 */
	--art-rouge-fonce: #c8341f;   /* fond de bouton au survol, texte blanc 5,3:1 */
	--art-ease: cubic-bezier(.2, .7, .2, 1);
}
.sumo-pp .pp--artificial-sumo { background: var(--art-noir); color: var(--art-blanc); }
.sumo-pp .pp--artificial-sumo.pp :is(h1, h2, h3) { color: var(--art-blanc); }
.pp--artificial-sumo .pp-sur { color: var(--art-rouge-texte); }
.pp--artificial-sumo .pp-sur::before { background: var(--art-rouge); }
.pp--artificial-sumo .pp-titre { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.sumo-pp .pp--artificial-sumo a:focus-visible { outline: 3px solid var(--art-rouge-texte); outline-offset: 4px; }
.pp--artificial-sumo .pp-lien { color: var(--art-blanc); }
.pp--artificial-sumo .pp-lien:hover { color: var(--art-rouge-texte); }

/* --- 1. Hero --------------------------------------------------------------- */
.art-hero { position: relative; background: var(--art-noir); }
.art-hero__colle { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.art-hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.art-hero__texte { position: relative; z-index: 2; }
.sumo-pp .pp--artificial-sumo .art-h1 {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0 .2em;
	font-family: var(--font-title); font-size: clamp(2.7rem, 4.7vw, 4.6rem); line-height: 1; letter-spacing: -.02em;
	margin: 0 0 22px;
}
.art-logo { width: .8em; height: .8em; margin-right: .08em; flex: none; }
.art-h1__gras { font-weight: 700; }
.art-h1__maigre { font-family: var(--font-body); font-weight: 300; letter-spacing: -.01em; }
.art-accroche { font-family: var(--font-title); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.25; max-width: 22em; margin: 0 0 20px; color: var(--art-blanc); text-wrap: balance; }
.art-hero__desc { color: var(--art-gris); max-width: 31em; text-wrap: pretty; }
.art-hero__desc p:last-child { margin-bottom: 0; }
.art-bouton {
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--art-blanc); color: var(--art-noir); font-weight: 700; text-decoration: none;
	padding: 15px 24px; border-radius: 2px; transition: background-color .25s ease, color .25s ease;
}
.sumo-pp .pp--artificial-sumo .art-bouton:hover { background: var(--art-rouge-fonce); color: #fff; }
.art-bouton svg { transition: translate .25s ease; }
.art-bouton:hover svg { translate: 4px 0; }

/* la scène, au repos : l'avant et l'après côte à côte */
.art-scene { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 2vw, 26px); }
.art-avant, .art-apres { margin: 0; }
.art-avant { width: clamp(92px, 10vw, 148px); }
.art-avant img { display: block; width: 100%; height: auto; background: #fff; padding: 6px; border-radius: 2px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); }
.art-scene figcaption { font: 700 .75rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--art-gris); margin-top: 12px; }
.art-fleche { color: var(--art-rouge); display: flex; }
.art-fleche svg { width: 34px; height: auto; }
.art-apres__cadre { position: relative; display: block; overflow: hidden; aspect-ratio: 1100 / 619; border-radius: 2px; background: #000; }
.art-apres__cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-grain {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: overlay;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art-rec { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--art-rouge); margin-right: .7em; vertical-align: -.05em; box-shadow: 0 0 0 3px rgba(224, 65, 43, .25); }
.art-viseur { display: none; }

/* la révélation (ordinateur, mouvement autorisé ; .is-anim posé par pp-artificial-sumo.js,
   positions et progression écrites par le script à chaque image) */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
	.art-hero.is-anim { height: 300vh; }
	.art-hero.is-anim .art-hero__colle { position: sticky; top: 0; height: 100vh; min-height: 620px; padding: 0; display: flex; align-items: center; overflow: hidden; }
	.art-hero.is-anim .art-hero__in { width: 100%; }
	.art-hero.is-anim .art-scene { position: absolute; inset: 0; display: block; z-index: 1; pointer-events: none; }
	.art-hero.is-anim .art-fleche { display: none; }
	.art-hero.is-anim .art-hero__texte > :not(.pp-boutons), .art-hero.is-anim .pp-lien { text-shadow: 0 0 28px rgba(14, 15, 17, .9); }
	.art-hero.is-anim .art-apres { position: absolute; inset: 0; }
	.art-hero.is-anim .art-apres__cadre {
		position: absolute; aspect-ratio: auto; border-radius: 0; background: none;
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--art-fondu, 24%));
		        mask-image: linear-gradient(to right, transparent 0, #000 var(--art-fondu, 24%));
	}
	.art-hero.is-anim .art-apres__cadre img { will-change: transform, filter; }
	.art-hero.is-anim .art-grain { opacity: var(--art-grain, 0); }
	.art-hero.is-anim .art-apres figcaption { position: absolute; margin: 0; opacity: 0; translate: 0 8px; transition: opacity .5s ease, translate .6s var(--art-ease); }
	.art-hero.is-anim.is-revele .art-apres figcaption { opacity: 1; translate: 0 0; }
	.art-hero.is-anim .art-avant { position: absolute; z-index: 3; width: auto; }
	.art-hero.is-anim .art-avant img { width: 100%; height: auto; }
	.art-hero.is-anim .art-viseur { display: block; position: absolute; z-index: 2; }
	.art-viseur i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(242, 239, 234, .75); }
	.art-viseur i:nth-child(1) { left: -10px; top: -10px; border-right: 0; border-bottom: 0; }
	.art-viseur i:nth-child(2) { right: -10px; top: -10px; border-left: 0; border-bottom: 0; }
	.art-viseur i:nth-child(3) { left: -10px; bottom: -10px; border-right: 0; border-top: 0; }
	.art-viseur i:nth-child(4) { right: -10px; bottom: -10px; border-left: 0; border-top: 0; }
	/* indice de défilement, discret, tant que rien n'a bougé */
	.art-hero.is-anim .art-hero__colle::after {
		content: ""; position: absolute; left: 50%; bottom: 26px; width: 2px; height: 44px; margin-left: -1px; z-index: 2;
		background: linear-gradient(var(--art-rouge), transparent); transition: opacity .4s ease;
	}
	.art-hero.is-anim.is-parti .art-hero__colle::after { opacity: 0; }
}

/* --- 2. Le quoi : les secteurs ------------------------------------------- */
.art-quoi { background: var(--art-noir); border-top: 1px solid #222428; }
.art-quoi__intro { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.6; color: var(--art-gris); max-width: 40em; margin: 0 0 clamp(36px, 5vw, 64px); }
.art-mots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .08em .32em; font-family: var(--font-title); font-weight: 700; font-size: clamp(2.3rem, 7.2vw, 7rem); line-height: 1.08; letter-spacing: -.025em; }
.art-mot { display: inline-flex; align-items: center; gap: .16em; color: var(--art-blanc); transition: color .45s ease; }
.art-mot:not(:last-child)::after { content: "/" / ""; font-family: var(--font-body); font-weight: 300; color: var(--art-rouge); margin-left: .12em; }
.art-mot__img { display: block; width: 1.25em; height: .82em; object-fit: cover; border-radius: 2px; transition: clip-path .6s var(--art-ease), scale .7s var(--art-ease); }
/* au fil du défilement (ordinateur) : un mot s'allume, son image s'ouvre */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
	.art-quoi.is-anim .art-mot:not(.is-on) { color: var(--art-eteint); }
	.art-quoi.is-anim .art-mot:not(.is-on) .art-mot__img { clip-path: inset(0 50% 0 50%); scale: .9; }
	.art-quoi.is-anim .art-mot__img { clip-path: inset(0 0 0 0); }
	.art-quoi.is-anim .art-mot.is-dernier { color: var(--art-rouge-texte); }
}

/* --- 3. Les prestations : la pellicule ----------------------------------- */
.art-plans { background: var(--art-noir-2); }
.art-plans .pp-titre { margin-bottom: clamp(36px, 5vw, 64px); }
.art-plans__liste { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.art-plan { margin: 0; min-width: 0; }
.art-plan__cadre {
	position: relative; overflow: hidden; background: var(--art-film); padding: 26px 8px;
}
/* les perforations de la pellicule, qui défilent avec la page */
.art-plan__cadre::before, .art-plan__cadre::after {
	content: ""; position: absolute; left: 0; right: 0; height: 12px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6' y='2' width='14' height='8' rx='2' fill='%23303238'/%3E%3C/svg%3E") repeat-x;
	background-position-x: calc(var(--p, 0) * -260px);
}
.art-plan__cadre::before { top: 7px; }
.art-plan__cadre::after { bottom: 7px; }
.art-plan__cadre img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.art-plan__volet { display: none; }
.art-plan__num { font: 700 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--art-rouge-texte); margin: 22px 0 10px; padding: 0 clamp(8px, 1.4vw, 22px) 0 8px; }
.sumo-pp .pp--artificial-sumo .art-plan__nom { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.15; margin: 0 0 10px; padding: 0 clamp(8px, 1.4vw, 22px) 0 8px; }
.art-plan__texte { color: var(--art-gris); font-size: 1rem; line-height: 1.55; margin: 0; padding: 0 clamp(8px, 1.4vw, 22px) 0 8px; }
@media (prefers-reduced-motion: no-preference) {
	/* le plan s'ouvre comme un obturateur : deux volets s'écartent, l'image se pose */
	.pp-js .art-plan[data-pp-vu]:not(.is-vu) { opacity: 1; translate: none; }
	.pp-js .art-plan__volet { display: block; position: absolute; inset: 26px 8px; overflow: hidden; border-radius: 2px; }
	.pp-js .art-plan__volet::before, .pp-js .art-plan__volet::after {
		content: ""; position: absolute; left: 0; right: 0; height: 50.5%; background: var(--art-film);
		transition: translate 1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--pp-delai, 0s) + .15s);
	}
	.pp-js .art-plan__volet::before { top: 0; border-bottom: 2px solid var(--art-rouge); }
	.pp-js .art-plan__volet::after { bottom: 0; }
	.pp-js .art-plan.is-vu .art-plan__volet::before { translate: 0 calc(-100% - 6px); }
	.pp-js .art-plan.is-vu .art-plan__volet::after { translate: 0 calc(100% + 6px); }
	.pp-js .art-plan__cadre img { transition: scale 1.6s var(--art-ease); transition-delay: calc(var(--pp-delai, 0s) + .15s); }
	.pp-js .art-plan:not(.is-vu) .art-plan__cadre img { scale: 1.16; }
	.pp-js .art-plan :is(.art-plan__num, .art-plan__nom, .art-plan__texte) { transition: opacity .7s ease, translate .8s var(--art-ease); transition-delay: calc(var(--pp-delai, 0s) + .55s); }
	.pp-js .art-plan:not(.is-vu) :is(.art-plan__num, .art-plan__nom, .art-plan__texte) { opacity: 0; translate: 0 14px; }
}

/* --- 4. Le comment : le manifeste ---------------------------------------- */
.art-manif { position: relative; overflow: hidden; background: var(--art-noir); padding: clamp(96px, 13vw, 200px) 0; }
.art-manif__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .26; }
.art-manif::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--art-noir) 0, rgba(14, 15, 17, .55) 30%, rgba(14, 15, 17, .55) 70%, var(--art-noir) 100%); pointer-events: none; }
.art-manif__in { position: relative; z-index: 1; }
.sumo-pp .pp--artificial-sumo .art-manif__tete { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.2rem, 5.2vw, 4.8rem); line-height: 1.04; letter-spacing: -.02em; max-width: 15em; margin: 0 0 clamp(28px, 4vw, 48px); }
.art-manif__ligne { font-family: var(--font-body); font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.9rem); line-height: 1.22; letter-spacing: -.01em; max-width: 24em; margin: 0 0 .45em; color: var(--art-blanc); }
.art-manif__ligne--fin { font-family: var(--font-title); font-weight: 700; margin-top: .9em; }
.art-manif__ligne--fin::after { content: ""; display: block; width: 72px; height: 5px; background: var(--art-rouge); margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
	.pp-js .art-manif__fond { scale: calc(1.14 - var(--p, 1) * .14); translate: 0 calc((var(--p, 1) - .5) * -4%); }
}

/* --- Raccords avec le gabarit : « Tous nos produits » et le bandeau ------- */

/* --- Mobile ---------------------------------------------------------------- */
@media (max-width: 900px) {
	.art-hero__in { grid-template-columns: minmax(0, 1fr); }
	.art-scene { margin-top: 8px; }
	.art-plans__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.art-mot:not(:last-child)::after { margin-left: .2em; }
}
@media (max-width: 560px) {
	.art-scene { grid-template-columns: auto minmax(0, 1fr); }
	.art-fleche { display: none; }
	.art-avant { width: 84px; }
	.art-plans__liste { grid-template-columns: minmax(0, 1fr); }
	.art-plan__cadre img { aspect-ratio: 5 / 4; }
}
