/* Yuda x ABCD — thème sur mesure (maquette 2026) */

@font-face { font-family: "YA Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "YA Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "YA Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "YA Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "YA Roboto"; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "YA Roboto"; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "YA Roboto"; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.ya-onepage {
	--blue: #2260d6;
	--blue-soft: #e6eefc;
	--navy: #212639;
	--ice: #ecf3ff;
	--grey: #8a8a8a;
	--ink: #1e1e1e;
	--title: #111;
	--g3: #f3f3f3;
	--radius: 20px;
	--shadow: 0 10px 40px rgba(33, 38, 64, .10);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--display: "YA Poppins", "Poppins", system-ui, sans-serif;
	--gutter: clamp(16px, 5vw, 80px);
	position: relative;
	overflow-x: clip; /* clip (et non hidden) : ne casse pas position: sticky */
	background: #fff;
	color: var(--ink);
	font: 400 18px/1.4 "YA Roboto", "Roboto", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
/* Remises à zéro en :where() (spécificité minimale) pour ne jamais écraser les composants. */
.ya-onepage *, .ya-onepage *::before, .ya-onepage *::after { box-sizing: border-box; }
.ya-onepage :where(img, svg) { display: block; max-width: 100%; }
.ya-onepage :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.ya-onepage :where(ul, ol) { list-style: none; }
.ya-onepage :where(a) { color: inherit; text-decoration: none; }
.ya-onepage :where(button) { font: inherit; color: inherit; }
.ya-onepage section[id] { scroll-margin-top: 90px; }
html:has(.ya-onepage) { scroll-behavior: smooth; }
body.ya-body { margin: 0; }

.ya-wrap { width: min(1520px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ya-sr, .ya-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ya-skip:focus { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.ya-center { text-align: center; }
.ya-onepage :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Fond dégradé animé (repris du site actuel) */
.ya-onepage::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3600px;
	z-index: 0;
	pointer-events: none;
	background: var(--ya-bg) center top / 140% auto no-repeat;
	opacity: .85;
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	        mask-image: linear-gradient(#000 70%, transparent);
	animation: ya-gradient 22s ease-in-out infinite alternate;
}
@keyframes ya-gradient {
	from { background-position: 20% 0; filter: hue-rotate(0deg); }
	to   { background-position: 80% 120px; filter: hue-rotate(18deg); }
}
.ya-onepage > * { position: relative; z-index: 1; }


/* ---------- Boutons ---------- */
.ya-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px 12px 14px;
	border: 0; border-radius: 100px; cursor: pointer;
	background: var(--blue); color: #fff;
	font: 700 18px/1.45 "YA Roboto", "Roboto", sans-serif; letter-spacing: .02em; text-transform: uppercase;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.ya-btn__icon { width: 26px; height: 26px; flex: none; transition: transform .45s var(--ease); }
.ya-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34, 96, 214, .28); }
.ya-btn:hover .ya-btn__icon { transform: rotate(45deg); }
.ya-btn--dark { background: var(--navy); }
.ya-btn--dark:hover { box-shadow: 0 10px 24px rgba(33, 38, 57, .3); }
.ya-btn--light { background: #fff; color: var(--blue); }
.ya-btn--pill { padding: 12px 20px; font: 600 18px/1.4 var(--display); text-transform: none; letter-spacing: 0; }

/* ---------- Header collant qui se réduit (repris du site actuel) ---------- */
.ya-header {
	position: fixed; z-index: 100; inset: 0 0 auto;
	top: var(--wp-admin--admin-bar--height, 0px);
	padding: 40px 0;
	transition: padding .45s var(--ease), background-color .45s, box-shadow .45s, backdrop-filter .45s;
}
.ya-header.is-scrolled { padding: 12px 0; background: rgba(255, 255, 255, .86); box-shadow: 0 8px 30px rgba(33, 38, 64, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ya-header__inner { display: flex; align-items: center; gap: 40px; }
.ya-header__logo img { width: 232px; height: auto; transition: width .45s var(--ease); }
.ya-header.is-scrolled .ya-header__logo img { width: 190px; }
.ya-nav { flex: 1; display: flex; align-items: center; }
.ya-nav ul { display: flex; gap: clamp(24px, 2.6vw, 50px); margin-inline: auto; }
.ya-nav ul a { position: relative; display: block; padding: 6px 0; font: 400 18.5px/1.4 var(--display); color: #6f6f6f; transition: color .25s; }
.ya-nav ul a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 18px; height: 3px; border-radius: 2px; background: var(--blue); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--ease); }
.ya-nav ul a:hover, .ya-nav ul a.is-current { color: var(--ink); }
.ya-nav ul a.is-current { font-weight: 600; }
.ya-nav ul a:hover::after, .ya-nav ul a.is-current::after { transform: translateX(-50%) scaleX(1); }
.ya-burger { display: none; }

/* ---------- Hero ---------- */
.ya-hero { position: relative; padding: clamp(170px, 17vw, 330px) 0 clamp(120px, 12vw, 250px); text-align: center; }
.ya-hero__title { font: 700 clamp(40px, 4.6vw, 66px)/1.06 var(--display); color: #1b1f2e; letter-spacing: -.01em; }
.ya-hero__title em { font-style: normal; font-weight: 400; color: var(--blue); }
.ya-hero__text { max-width: 580px; margin: 30px auto 32px; font-size: 19px; line-height: 25px; color: var(--grey); }
.ya-hero__tools { position: absolute; inset: 110px 0 60px; width: min(1520px, 100%); margin-inline: auto; pointer-events: none; }
.ya-tool { position: absolute; left: var(--x); top: var(--y); transform: translate3d(-50%, calc(-50% + var(--py, 0px)), 0); will-change: transform; }
.ya-tool img {
	width: 78px; height: 78px; padding: 17px; object-fit: contain;
	border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(26, 31, 51, .12);
	animation: ya-float 6s ease-in-out infinite; animation-delay: calc(var(--d) * -1.1s);
}
@keyframes ya-float { 50% { transform: translateY(-12px) rotate(-3deg); } }

/* ---------- Logos clients (défilement infini) ---------- */
.ya-clients__band { position: relative; display: flex; align-items: center; gap: 60px; min-height: 183px; padding: 30px 40px 30px 80px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.ya-clients__notch { position: absolute; left: 50%; bottom: 100%; width: 176px; height: 47px; margin-bottom: -1px; transform: translateX(-50%); fill: var(--navy); }
.ya-clients__title { display: flex; align-items: center; gap: 44px; flex: none; font: 700 36px/1.2 var(--display); }
.ya-clients__arrow { width: 54px; height: 54px; }
.ya-marquee { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ya-marquee__list { display: flex; flex: none; align-items: center; gap: 70px; padding-right: 70px; animation: ya-marquee 28s linear infinite; }
.ya-marquee:hover .ya-marquee__list { animation-play-state: paused; }
.ya-marquee li { display: flex; align-items: center; justify-content: center; height: 110px; }
.ya-marquee img { width: auto; max-width: none; }
.ya-marquee img.is-white { filter: brightness(0) invert(1); }
@keyframes ya-marquee { to { transform: translateX(-100%); } }

/* ---------- Titres de section ---------- */
.ya-head { max-width: 800px; margin: 0 auto; text-align: center; }
.ya-head h2, .ya-faq h2 { font: 700 clamp(36px, 3.6vw, 52px)/1.15 var(--display); color: var(--title); }
.ya-head p { max-width: 470px; margin: 20px auto 0; color: var(--grey); line-height: 25px; }

/* ---------- À propos : le duo (volets qui s'échangent) ---------- */
.ya-about { padding: 160px 0 0; }
.ya-team {
	display: grid; grid-template-columns: minmax(0, 1fr) 734px; gap: 60px;
	margin-top: 95px; padding: 44px 68px 44px 68px;
	border-radius: 24px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ya-team__texts { display: grid; align-content: center; }
.ya-team__text { grid-area: 1 / 1; animation: ya-fade-in .6s var(--ease); }
.ya-team__text[hidden] { display: none; }
@keyframes ya-fade-in { from { opacity: 0; transform: translateX(-16px); } }
.ya-team__name { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; font: 500 40px/1.2 var(--display); color: var(--title); }
.ya-team__name img, .ya-team__initial { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ya-team__initial { display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 28px/1 var(--display); }
.ya-team__text > p { max-width: 510px; line-height: 25px; }
.ya-facts { display: grid; gap: 20px; margin: 46px 0 52px; }
.ya-facts li { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; max-width: 360px; line-height: 20px; }
.ya-facts__icon { grid-row: span 2; width: 26px; height: 26px; color: var(--blue); }
.ya-facts__icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ya-facts strong { display: block; margin-bottom: 6px; text-transform: uppercase; }
.ya-team__photos { display: flex; gap: 30px; height: 654px; }
.ya-team__photo {
	position: relative; flex: 0 0 217px; padding: 0; border: 0; border-radius: var(--radius);
	overflow: hidden; cursor: pointer; background: var(--blue-soft);
	transition: flex-basis .8s var(--ease), filter .3s;
}
.ya-team__photo.is-active { flex-basis: 487px; cursor: default; }
.ya-team__photo:not(.is-active):hover { filter: brightness(1.06); }
.ya-team__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ya-team__photo:not(.is-active):hover img { transform: scale(1.04); }
.ya-team__photo::after { content: ""; position: absolute; inset: auto 0 40px; height: 94px; background: rgba(33, 38, 57, .88); }
.ya-team__role { position: absolute; z-index: 1; left: 44px; bottom: 64px; font: 400 34px/1.35 var(--display); color: #fff; white-space: nowrap; transition: opacity .4s; }
.ya-team__photo:not(.is-active) .ya-team__role { left: 50%; bottom: 52px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); }

/* Grand écran : le duo reste à l'écran le temps de voir les deux profils au scroll. */
.ya-team-pin.is-pinned { height: calc(100vh + (var(--members) - 1) * 80vh); }
.ya-team-pin.is-pinned .ya-team { position: sticky; top: max(90px, calc(50vh - 371px)); }
.ya-team-pin.is-pinned .ya-team__photos { height: min(654px, calc(100vh - 200px)); }

/* ---------- Valeurs ---------- */
.ya-values { padding: 200px 0 100px; }
.ya-values__title { font: 700 clamp(32px, 3.5vw, 50px)/1.2 var(--display); color: #1b1f2e; text-align: center; }
.ya-hl {
	display: inline-block; padding: 0 .14em; border-radius: 10px;
	background: linear-gradient(var(--blue), var(--blue)) left center / 0 100% no-repeat;
	font-weight: 400;
	transition: background-size .9s var(--ease) .25s, color .4s .55s;
}
.is-in .ya-hl, .ya-hl.is-in { background-size: 100% 100%; color: #fff; }
.ya-values__grid { display: grid; grid-template-columns: 410px 414px; gap: 25px; justify-content: center; margin-top: 100px; }
.ya-value { position: relative; min-height: 304px; padding: 62px 50px 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.ya-value:hover { transform: translateY(-6px); }
.ya-value p { max-width: 300px; line-height: 25px; }
.ya-value img { position: absolute; right: 34px; bottom: 30px; width: 96px; transition: transform .8s var(--ease); }
.ya-value:hover img { transform: rotate(-8deg) scale(1.08); }
.ya-value--strategy { background: var(--navy); color: #fff; }
/* Décalage façon maquette : la carte bleue descend de 73px sans pousser la ligne suivante. */
.ya-value--contact { grid-column: 2; grid-row: 1; align-self: start; min-height: 340px; margin: 73px 0 -109px; background: var(--blue); color: #fff; }
.ya-value--contact img { width: 175px; right: 36px; }
.ya-value--quality { grid-column: 1; min-height: 338px; background: var(--g3); }
.ya-value--quality img { width: 124px; }
.ya-values__cta { grid-column: 2; grid-row: 2; align-self: start; margin-top: 173px; padding-top: 25px; border-top: 1.5px solid #7a7a7a; font: 700 31px/40px var(--display); color: var(--title); transition: color .3s; }
.ya-values__cta:hover { color: var(--blue); }

/* ---------- Méthode : section épinglée ---------- */
.ya-method { position: relative; padding: 80px 0; }
.ya-method.is-pinned { height: calc(100vh + var(--steps) * 70vh); padding: 0; }
.ya-method.is-pinned .ya-method__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ya-method__pin { width: 100%; }
.ya-method__box { position: relative; display: grid; grid-template-columns: 525px 1fr; gap: 80px; align-items: center; min-height: 483px; padding: 90px 0 90px 106px; }
.ya-method__box::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: var(--navy); }
.ya-method__intro { position: relative; color: #fff; }
.ya-method__intro h2 { font: 700 52px/1.2 var(--display); }
.ya-method__intro > p { margin-top: 18px; line-height: 25px; }
.ya-method__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ya-method__nav button { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 100px; background: transparent; cursor: pointer; font: 500 15px/1.3 var(--display); transition: background-color .35s, border-color .35s, color .35s; }
.ya-method__nav button span { opacity: .6; margin-right: 4px; }
.ya-method__nav button:hover { border-color: #fff; }
.ya-method__nav button[aria-current] { background: var(--blue); border-color: var(--blue); }
.ya-method__progress { height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.ya-method__progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
/* Les étapes passées sortent par la gauche sans recouvrir l'intro ; à droite, elles débordent jusqu'au bord de l'écran. */
.ya-method__viewport { position: relative; min-width: 0; clip-path: inset(-60px -100vw -60px 0); }
.ya-method__track { display: flex; gap: 31px; transform: translateX(calc(var(--i, 0) * -442px)); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.ya-step {
	position: relative; flex: 0 0 411px; min-height: 330px; padding: 30px 30px 0; overflow: hidden;
	border-radius: 16px; background: #fff;
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.ya-method.is-pinned .ya-step:not(.is-active) { opacity: .45; transform: scale(.95); }
.ya-step h3 { padding-right: 70px; font: 700 36px/1.2 var(--display); color: var(--title); }
.ya-team__text > .ya-btn { font-size: 15px; white-space: nowrap; }
.ya-step__icon { position: absolute; top: 29px; right: 30px; display: grid; place-items: center; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: background-color .4s, color .4s; }
.ya-step.is-active .ya-step__icon { background: var(--blue); color: #fff; }
.ya-step p { max-width: 300px; margin-top: 16px; font-size: 16px; line-height: 23px; color: #555; }
.ya-step__num { position: absolute; left: 24px; bottom: -0.32em; font: 700 250px/1 var(--display); color: var(--navy); transition: transform .8s var(--ease); }
.ya-method.is-pinned .ya-step:not(.is-active) .ya-step__num { transform: translateY(40px); }

/* ---------- Packs ---------- */
.ya-packs { position: relative; padding: 160px 0 0; }
.ya-packs::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 830px; background: var(--ice); clip-path: polygon(0 130px, 100% 0, 100% 695px, 0 100%); }
.ya-packs__grid { display: grid; grid-template-columns: repeat(3, 348px); gap: 42px; justify-content: center; margin-top: 100px; }
.ya-pack { padding: 30px 36px 40px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ya-pack:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(33, 38, 64, .16); }
.ya-pack h3 { display: flex; align-items: center; gap: 14px; font: 500 26px/1.2 "YA Roboto", "Roboto", sans-serif; color: var(--title); }
.ya-pack__level { display: grid; place-items: center; width: 52px; height: 52px; padding: 13px 11px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.ya-pack > p { margin: 26px 0; font-size: 16.5px; line-height: 21px; color: var(--grey); }
.ya-pack ul { display: grid; gap: 12px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #9a9a9a; }
.ya-pack li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ya-pack li svg { width: 26px; height: 26px; flex: none; color: var(--blue); }
.ya-pack.is-featured { background: var(--blue); color: #fff; }
.ya-pack.is-featured h3, .ya-pack.is-featured > p { color: #fff; }
.ya-pack.is-featured .ya-pack__level { background: #fff; }
.ya-pack.is-featured ul { border-color: rgba(255, 255, 255, .6); }
.ya-pack.is-featured li svg { color: #fff; }
.ya-doubt { max-width: 520px; margin: 130px auto 0; text-align: center; }
.ya-doubt h3 { font: 700 28px/1.4 var(--display); color: var(--title); }
.ya-doubt p { margin: 14px 0 34px; line-height: 25px; color: #222; }

/* ---------- Réalisations ---------- */
.ya-work { padding: 200px 0 230px; }
.ya-work__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 55px; margin: 100px 0 60px; }
.ya-work__grid > * { flex: 0 1 calc((100% - 110px) / 3); } /* 1 ou 2 projets : centrés */
.ya-project { display: block; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ya-project:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(33, 38, 64, .16); }
.ya-project__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ya-project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.ya-project:hover .ya-project__media img { transform: scale(1.06); }
.ya-project__badge { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; padding: 12px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .5s var(--ease); }
.ya-project:hover .ya-project__badge { transform: rotate(45deg) scale(1.1); }
.ya-project__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 24px 30px 28px; }
.ya-project__body strong { font: 600 24px/1.3 var(--display); color: var(--title); }
.ya-project__body span { grid-column: 1 / -1; font-size: 16px; color: var(--grey); }
.ya-project__body small { grid-row: 1; grid-column: 2; align-self: center; font: 500 15px/1 "YA Roboto", sans-serif; color: var(--blue); }

/* ---------- AFNIC ---------- */
.ya-afnic { position: relative; padding: 100px 0; background: var(--ice); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.ya-afnic::after { content: ""; position: absolute; inset: 0 0 0 37.3%; background: var(--photo) center / cover no-repeat; }
.ya-afnic__card { position: relative; z-index: 1; max-width: 874px; padding: 22px 40px 40px; border-radius: var(--radius); background: #fff; }
.ya-afnic__logo {
	position: absolute; top: -24px; left: 705px; width: 204px; height: 204px; padding: 45px 22px;
	border: 5px solid transparent; border-radius: 50%; object-fit: contain;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2a2346, #e8def0) border-box;
	transition: transform 1.1s var(--ease) .2s;
}
html.ya-js .ya-afnic__card:not(.is-in) .ya-afnic__logo { transform: rotate(-90deg) scale(.6); }
.ya-afnic h2 { max-width: 560px; padding-bottom: 32px; border-bottom: 1px solid #9a9a9a; font: 700 clamp(36px, 3.6vw, 52px)/1.12 var(--display); color: #1b1f2e; }
.ya-afnic ul { display: grid; gap: 12px; margin-top: 34px; }
.ya-afnic li { display: flex; gap: 10px; line-height: 25px; }
.ya-afnic li svg { width: 26px; height: 26px; flex: none; color: var(--blue); }

/* ---------- FAQ ---------- */
.ya-faq { padding: 180px 0 160px; }
.ya-faq__grid { display: grid; grid-template-columns: 500px 1fr; }
.ya-faq header p { max-width: 320px; margin-top: 20px; color: var(--grey); line-height: 25px; }
.ya-qa { margin-bottom: 21px; border-radius: 12px; background: var(--g3); transition: background-color .4s; }
.ya-qa h3 { font: inherit; }
.ya-qa button { position: relative; display: block; width: 100%; padding: 18px 90px 18px 30px; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 500; line-height: 24px; }
.ya-qa__sign { position: absolute; top: 50%; right: 40px; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--blue); transition: background-color .4s, transform .5s var(--ease); }
.ya-qa__sign::before, .ya-qa__sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 2.4px; margin: -1.2px 0 0 -7.5px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), background-color .4s; }
.ya-qa__sign::after { transform: rotate(90deg); }
.ya-qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ya-qa__panel > div { overflow: hidden; }
.ya-qa:not(.is-open) .ya-qa__panel > div { visibility: hidden; transition: visibility 0s .5s; }
.ya-qa__panel p { padding: 0 30px 24px; max-width: 900px; line-height: 25px; }
.ya-qa.is-open { background: var(--blue); color: #fff; }
.ya-qa.is-open .ya-qa__panel { grid-template-rows: 1fr; }
.ya-qa.is-open .ya-qa__sign { background: #fff; transform: rotate(180deg); }
.ya-qa.is-open .ya-qa__sign::before, .ya-qa.is-open .ya-qa__sign::after { background: var(--blue); }
.ya-qa.is-open .ya-qa__sign::after { transform: rotate(0); }

/* ---------- Contact ---------- */
.ya-contact { display: grid; grid-template-columns: 907fr 1013fr; min-height: 1105px; }
.ya-contact__rdv { position: relative; display: flex; align-items: flex-end; padding: 0 clamp(24px, 10.4vw, 200px) 265px; background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .35)), var(--photo) center / cover no-repeat; color: #fff; }
.ya-contact__rdv > div { max-width: 400px; }
.ya-contact h2 { font: 700 52px/1.2 var(--display); }
.ya-contact__rdv p { margin: 12px 0 26px; line-height: 25px; }
.ya-contact__form { padding: 87px clamp(24px, 10.4vw, 200px) 80px 80px; background: var(--blue); color: #fff; }
.ya-contact__form > p { margin: 24px 0 40px; }
.ya-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 61px; }
.ya-form label { display: grid; gap: 10px; font: 500 19px/1.3 "YA Roboto", sans-serif; }
.ya-form input, .ya-form textarea { width: 100%; height: 56px; padding: 0 18px; border: 2px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); font: 400 17px/1.4 "YA Roboto", sans-serif; transition: border-color .25s, box-shadow .25s; }
.ya-form textarea { height: 178px; padding: 14px 18px; resize: vertical; }
.ya-form input:focus, .ya-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.ya-form__full { grid-column: 1 / -1; }
.ya-form .ya-form__rgpd { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 400; }
.ya-form__rgpd input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.ya-form__trap { position: absolute; left: -9999px; }
.ya-form .ya-btn { justify-self: start; margin-top: 30px; }
/* Contact Form 7 (modèle de formulaire fourni dans readme.txt, à base de .ya-form) */
.ya-contact__form .wpcf7 form { margin: 0; }
.ya-form .wpcf7-form-control-wrap { display: block; }
.ya-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.ya-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 400; }
.ya-form .wpcf7-acceptance input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.ya-form .wpcf7-not-valid { border-color: #ffd0cc; }
.ya-form .wpcf7-not-valid-tip { margin-top: 6px; color: #fff; font-size: 14px; font-weight: 500; }
.ya-form .wpcf7-not-valid-tip::before { content: "⚠ "; }
.ya-form label { align-content: start; }
.ya-form input.wpcf7-submit { justify-self: start; width: auto; height: auto; margin-top: 30px; padding: 14px 30px; border: 0; border-radius: 100px; background: #fff; color: var(--blue); font: 700 18px/1.45 "YA Roboto", "Roboto", sans-serif; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; }
.ya-form .ya-btn.wpcf7-submit:disabled { opacity: .6; cursor: wait; }
.ya-contact__form .wpcf7-spinner { margin: 30px 0 0 14px; background: #fff; }
.ya-contact__form .wpcf7-response-output { margin: 24px 0 0 !important; padding: 14px 18px !important; border: 0 !important; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 500; }
.ya-contact__form .wpcf7 form.invalid .wpcf7-response-output,
.ya-contact__form .wpcf7 form.failed .wpcf7-response-output,
.ya-contact__form .wpcf7 form.spam .wpcf7-response-output { color: #b3261e; }
.ya-notice { margin: -10px 0 30px; padding: 14px 18px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 500; }
.ya-notice--invalid, .ya-notice--error { color: #b3261e; }

/* ---------- Footer ---------- */
.ya-footer { padding: 118px 0 70px; background: var(--navy); color: #fff; }
.ya-footer__top { display: flex; justify-content: space-between; gap: 40px; }
.ya-footer__top img { width: 230px; height: auto; }
.ya-footer__top p { max-width: 430px; margin-top: 44px; color: #9ea3b0; line-height: 25px; }
.ya-footer__right { text-align: right; }
.ya-footer__right nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 32px; margin-top: 100px; }
.ya-footer__right nav a:first-child { font-weight: 700; }
.ya-footer a:hover { color: #8fb3f5; }
.ya-footer__right p { margin-top: 30px; }
.ya-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 76px; border-top: 1px solid rgba(255, 255, 255, .18); }
.ya-footer__bottom nav { display: flex; gap: 45px; }

/* ---------- Pages intérieures (projets, réalisations, pages légales) ---------- */
.ya-onepage--inner::before { height: 1100px; }
.ya-wrap--text { width: min(900px, 100% - 2 * var(--gutter)); }
.ya-page-hero { padding: clamp(150px, 13vw, 220px) 0 70px; }
.ya-page-hero--center { text-align: center; }
.ya-page-hero--center .ya-page-hero__text { margin-inline: auto; }
.ya-page-hero--center .ya-page-hero__actions, .ya-page-hero--center .ya-crumbs { justify-content: center; }
.ya-page-hero--404 { padding-bottom: 180px; }
.ya-page-hero__title { font: 700 clamp(38px, 4.4vw, 64px)/1.1 var(--display); color: #1b1f2e; letter-spacing: -.01em; }
.ya-page-hero__title em { font-style: normal; font-weight: 400; color: var(--blue); }
.ya-page-hero__text { max-width: 640px; margin-top: 24px; font-size: 19px; line-height: 27px; color: #5d6170; }
.ya-page-hero__meta { margin-top: 18px; font-size: 15px; color: var(--grey); }
.ya-page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ya-eyebrow { margin-bottom: 14px; font: 600 15px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.ya-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; font-size: 15px; color: var(--grey); }
.ya-crumbs a:hover { color: var(--blue); }
.ya-crumbs > * + *::before { content: "/"; margin-right: 8px; opacity: .5; }
.ya-shot { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(33, 38, 64, .18); background: #fff; }
.ya-shot img { width: 100%; height: auto; }
.ya-case { padding: 120px 0 40px; }
.ya-case__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; align-items: start; }
.ya-case__block + .ya-case__block { margin-top: 70px; }
.ya-case h2 { margin-bottom: 22px; font: 700 clamp(28px, 2.6vw, 38px)/1.2 var(--display); color: var(--title); }
.ya-case__side { position: sticky; top: 120px; padding: 40px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.ya-case__side h2 { color: #fff; font-size: 26px; }
.ya-checks { display: grid; gap: 12px; }
.ya-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ya-checks svg { width: 24px; height: 24px; flex: none; color: #8fb3f5; }
.ya-case__site { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.ya-case__site a { color: #8fb3f5; font-weight: 500; }
.ya-case__site a:hover { color: #fff; }
.ya-gallery { padding: 80px 0 0; }
.ya-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.ya-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ya-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ya-quote { padding: 120px 0 0; }
.ya-quote blockquote { max-width: 900px; margin: 0 auto; text-align: center; }
.ya-quote p { font: 500 clamp(24px, 2.4vw, 34px)/1.4 var(--display); color: var(--title); }
.ya-quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--grey); }
.ya-work--more { padding: 160px 0 0; }
.ya-work--more .ya-work__grid { margin-bottom: 0; }
.ya-work--archive { padding: 30px 0 0; }
.ya-work--archive .ya-work__grid { margin-top: 0; }
.ya-cta-band { padding: 40px 0 160px; }
.ya-cta-band .ya-doubt { margin-top: 120px; }
.ya-cta-band h2 { font: 700 clamp(28px, 2.6vw, 36px)/1.4 var(--display); color: var(--title); }
.ya-page-body { padding: 10px 0 160px; }
.ya-todo { margin: 0 0 30px; padding: 16px 20px; border: 2px dashed #f0b429; border-radius: 12px; background: #fff8e6; color: #7a5a00; font-size: 15px; }
.ya-case__side .ya-todo { margin: 0; }
.ya-pagination .nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.ya-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 100px; background: var(--g3); }
.ya-pagination .current { background: var(--blue); color: #fff; }
/* Texte libre (éditeur WordPress, champs « Le besoin » / « Notre réponse ») */
.ya-prose { line-height: 1.65; color: #33363f; }
.ya-prose > * + * { margin-top: 1.1em; }
.ya-prose > :first-child { margin-top: 0; }
.ya-prose :where(h2) { margin-top: 2em; font: 700 clamp(24px, 2.2vw, 32px)/1.25 var(--display); color: var(--title); }
.ya-prose :where(h3) { margin-top: 1.6em; font: 600 22px/1.3 var(--display); color: var(--title); }
.ya-prose :where(ul, ol) { padding-left: 1.3em; list-style: revert; }
.ya-prose :where(li + li) { margin-top: .4em; }
.ya-prose :where(a) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ya-prose :where(strong) { color: var(--title); }
.ya-prose :where(img) { height: auto; border-radius: 12px; }

/* ---------- Apparitions au scroll ---------- */
html.ya-js .ya-onepage [data-ya-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
html.ya-js .ya-onepage [data-ya-reveal].is-in { opacity: 1; transform: none; }
html.ya-js .ya-onepage .ya-value[data-ya-reveal].is-in:hover,
html.ya-js .ya-onepage .ya-pack[data-ya-reveal].is-in:hover,
html.ya-js .ya-onepage .ya-project[data-ya-reveal].is-in:hover { transform: translateY(-8px); transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
	.ya-team { grid-template-columns: 1fr 1fr; padding: 40px; }
	.ya-team__photos { height: 560px; gap: 20px; }
	.ya-team__photo { flex-basis: 150px; }
	.ya-team__photo.is-active { flex: 1 1 auto; }
	.ya-team__role { left: 28px; font-size: 28px; }
	.ya-afnic__logo { left: auto; right: -110px; }
}
@media (max-width: 1180px) {
	.ya-burger { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; }
	.ya-burger span:first-child, .ya-burger span:first-child::before, .ya-burger span:first-child::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
	.ya-burger span:first-child { position: relative; }
	.ya-burger span:first-child::before, .ya-burger span:first-child::after { content: ""; position: absolute; left: 0; }
	.ya-burger span:first-child::before { top: -6px; }
	.ya-burger span:first-child::after { top: 6px; }
	.ya-burger[aria-expanded="true"] span:first-child { background: transparent; }
	.ya-burger[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
	.ya-burger[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
	.ya-nav { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 16px; margin-top: 10px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; }
	.ya-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.ya-nav ul { flex-direction: column; gap: 4px; margin: 0; }
	.ya-nav ul a { align-self: flex-start; }
	.ya-nav ul a::after { left: 0; transform: scaleX(0); transform-origin: left; }
	.ya-nav ul a:hover::after, .ya-nav ul a.is-current::after { transform: scaleX(1); }
	.ya-nav .ya-btn { justify-content: center; }
	.ya-header { padding: 20px 0; }
	.ya-clients__band { flex-direction: column; align-items: stretch; gap: 20px; padding: 36px 30px; text-align: center; }
	.ya-clients__title { justify-content: center; gap: 20px; font-size: 28px; }
	.ya-clients__arrow { width: 40px; height: 40px; }
	.ya-team { grid-template-columns: 1fr; }
	.ya-team__photos { order: -1; height: 480px; }
	.ya-method__box { grid-template-columns: 1fr; gap: 50px; padding: 60px 40px; }
	.ya-packs__grid { grid-template-columns: repeat(auto-fit, minmax(290px, 348px)); }
	.ya-work__grid > * { flex-basis: calc((100% - 55px) / 2); }
	.ya-afnic::after { display: none; }
	.ya-afnic__logo { position: static; width: 150px; height: 150px; padding: 32px 16px; margin: 0 0 20px auto; }
	.ya-faq__grid { grid-template-columns: 1fr; gap: 40px; }
	.ya-contact { grid-template-columns: 1fr; min-height: 0; }
	.ya-contact__rdv { min-height: 620px; padding-bottom: 80px; }
	.ya-contact__form { padding: 70px var(--gutter); }
	.ya-footer__top, .ya-footer__bottom { flex-direction: column; }
	.ya-footer__right { text-align: left; }
	.ya-footer__right nav { justify-content: flex-start; margin-top: 0; }
	.ya-case__grid { grid-template-columns: 1fr; gap: 50px; }
	.ya-case__side { position: static; }
}
@media (max-width: 760px) {
	.ya-onepage { font-size: 16px; }
	.ya-header__logo img, .ya-header.is-scrolled .ya-header__logo img { width: 170px; }
	.ya-hero__tools { display: none; }
	.ya-marquee__list { zoom: .65; }
	.ya-clients__title { gap: 12px; font-size: clamp(20px, 6vw, 24px); white-space: nowrap; }
	.ya-clients__arrow { width: 32px; height: 32px; flex: none; }
	.ya-about, .ya-values, .ya-packs, .ya-work, .ya-faq { padding-top: 110px; }
	.ya-team { margin-top: 50px; padding: 24px; }
	.ya-team__photos { height: 380px; gap: 12px; }
	.ya-team__photo { flex-basis: 90px; }
	.ya-team__photo::after { bottom: 20px; height: 70px; }
	.ya-team__role { left: 14px; bottom: 39px; font-size: 15px; }
	.ya-team__photo:not(.is-active) .ya-team__role { bottom: 30px; }
	.ya-team__name { font-size: 32px; margin-bottom: 20px; }
	.ya-values__grid { grid-template-columns: 1fr; margin-top: 60px; }
	.ya-value, .ya-value--contact, .ya-value--quality, .ya-values__cta { grid-column: auto; grid-row: auto; margin: 0; min-height: 260px; padding: 40px 30px; }
	.ya-values__cta { min-height: 0; padding: 25px 0 0; font-size: 26px; line-height: 34px; }
	.ya-value, .ya-value--contact, .ya-value--quality { min-height: 0; padding-bottom: 170px; } /* pictos sous le texte */
	.ya-value img { bottom: 26px; }
	.ya-value--strategy img { width: 84px; }
	.ya-value--quality img { width: 100px; }
	.ya-method__box { padding: 50px 22px; }
	.ya-method__intro h2, .ya-contact h2 { font-size: 38px; }
	.ya-step { flex-basis: 100%; }
	.ya-step h3 { font-size: 28px; }
	.ya-team__text > .ya-btn { font-size: 13px; padding-right: 16px; }
	.ya-packs__grid { grid-template-columns: 1fr; gap: 30px; }
	.ya-work__grid { gap: 30px; }
	.ya-work__grid > * { flex-basis: 100%; }
	.ya-packs__grid, .ya-work__grid { margin-top: 44px; }
	.ya-packs::before { clip-path: polygon(0 60px, 100% 0, 100% 90%, 0 100%); }
	.ya-doubt { margin-top: 80px; }
	.ya-afnic { padding: 60px 0; }
	.ya-afnic__card { padding: 24px; }
	.ya-qa button { padding: 16px 70px 16px 20px; }
	.ya-qa__sign { right: 18px; }
	.ya-qa__panel p { padding: 0 20px 20px; }
	.ya-form { grid-template-columns: 1fr; }
	.ya-footer { padding-top: 70px; }
	.ya-footer__bottom { gap: 8px; margin-top: 30px; padding-top: 18px; font-size: 13px; }
	.ya-footer__bottom nav { flex-wrap: wrap; gap: 6px 20px; }
	.ya-page-hero { padding-bottom: 50px; }
	.ya-case { padding-top: 70px; }
	.ya-case__side { padding: 30px 24px; }
	.ya-shot { border-radius: 14px; }
	.ya-gallery__grid { grid-template-columns: 1fr; }
	.ya-work--more { padding-top: 100px; }
	.ya-cta-band { padding-bottom: 100px; }
	.ya-cta-band .ya-doubt { margin-top: 80px; }
}
/* Sans épinglage (mobile, ou JS absent) : les étapes s'empilent. */
.ya-method:not(.is-pinned) .ya-method__track { flex-direction: column; transform: none; }
.ya-method:not(.is-pinned) .ya-step { flex-basis: auto; width: min(411px, 100%); }
.ya-method:not(.is-pinned) .ya-method__nav, .ya-method:not(.is-pinned) .ya-method__progress { display: none; }

@media (prefers-reduced-motion: reduce) {
	.ya-onepage *, .ya-onepage *::before, .ya-onepage *::after { animation: none !important; transition-duration: .01ms !important; }
	html:has(.ya-onepage) { scroll-behavior: auto; }
}
.ya-table { overflow-x: auto; }
.ya-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ya-prose :where(th, td) { padding: 12px 14px; border-bottom: 1px solid #e3e6ee; text-align: left; vertical-align: top; }
.ya-prose th { font-weight: 600; color: var(--title); background: var(--ice); }
.ya-prose td:first-child { overflow-wrap: anywhere; min-width: 140px; }
@media (max-width: 600px) {
	.ya-prose thead { display: none; }
	.ya-prose :where(tr, td) { display: block; }
	.ya-prose tr { padding: 10px 0; border-bottom: 1px solid #e3e6ee; }
	.ya-prose td { padding: 4px 0; border: 0; }
	.ya-prose td[data-label]::before { content: attr(data-label) " : "; font-weight: 600; color: var(--title); }
}
