/* =====================================================================
   POLICES — fichiers déjà présents dans la médiathèque (uploads/fonts)
   Inter est chargée depuis Google Fonts (voir functions.php)
   ===================================================================== */
@font-face { font-family: "Stack Sans Headline"; font-weight: 200; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc7tIgFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Stack Sans Headline"; font-weight: 300; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc4zIgFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Stack Sans Headline"; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc5tIgFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Stack Sans Headline"; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc5fIgFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Stack Sans Headline"; font-weight: 600; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc6zJQFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Stack Sans Headline"; font-weight: 700; font-display: swap; src: url('/wp-content/uploads/fonts/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc6KJQFCqgUA3ZCX.woff2') format('woff2'); }
@font-face { font-family: "Sonder"; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/SonderRegular.otf') format('opentype'); }

/* =====================================================================
   PELEWEB — page d'accueil
   Tout est préfixé par .pw pour ne pas entrer en conflit avec le thème.
   ===================================================================== */
.pw {
	--violet: #5733ff;
	--violet-dark: #3d1fd6;
	--lavande: #f3f0ff;
	--lavande-2: #e8e3ff;
	--ink: #0f0d1a;
	--text: #3b3950;
	--muted: #6b6880;
	--line: #e6e2f5;
	--white: #fff;
	--radius: 20px;
	--wrap: 1200px;
	--f-head: "Stack Sans Headline", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, sans-serif;
	--f-accent: "Sonder", "Stack Sans Headline", serif;

	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw img { max-width: 100%; height: auto; display: block; }
.pw a { color: inherit; text-decoration: none; }
.pw h1, .pw h2, .pw h3 {
	font-family: var(--f-head);
	color: var(--ink);
	margin: 0;
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.pw h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 300; }
.pw h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
.pw h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.pw :where(p) { margin: 0; }
.pw .accent { color: var(--violet); }
.pw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pw-section { padding: 110px 0; scroll-margin-top: 90px; }
.pw-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.pw-head p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.pw-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--violet);
	margin-bottom: 16px;
}

/* ---------- Boutons ---------- */
.pw-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 28px;
	border-radius: 100px;
	font-family: var(--f-head);
	font-weight: 600; font-size: 0.98rem; line-height: 1;
	border: 1.5px solid transparent;
	transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	cursor: pointer;
}
.pw-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.pw-btn:hover svg { transform: translateX(3px); }
.pw-btn--primary { background: var(--ink); color: var(--white); }
.pw-btn--primary:hover { background: var(--violet); }
.pw-btn--ghost { border-color: var(--ink); color: var(--ink); }
.pw-btn--ghost:hover { background: var(--ink); color: var(--white); }
.pw-btn--light { background: var(--white); color: var(--ink); }
.pw-btn--light:hover { background: var(--lavande-2); }
.pw a.pw-btn--primary { color: var(--white); }
.pw a.pw-btn--light { color: var(--ink); }
.pw-btn:focus-visible, .pw a:focus-visible, .pw summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* ---------- Header ---------- */
.pw-header {
	position: fixed; top: 16px; left: 50%; z-index: 999;
	transform: translateX(-50%);
	width: calc(100% - 32px); max-width: 1100px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 10px 10px 10px 24px;
	background: rgba(255,255,255,.72);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(87,51,255,.08);
	border-radius: 100px;
	box-shadow: 0 8px 30px rgba(15,13,26,.08);
	transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s ease;
}
.pw-header.is-hidden { transform: translate(-50%, -140%); opacity: 0; }
.pw-header__logo img { width: 128px; }
.pw-nav { display: flex; align-items: center; gap: 28px; }
.pw-nav a { font-size: 0.93rem; font-weight: 500; color: var(--ink); transition: color .2s; }
.pw-nav a:hover { color: var(--violet); }
.pw-header__right { display: flex; align-items: center; gap: 14px; }
.pw-lang { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.pw-lang a:hover { color: var(--violet); }
.pw-header .pw-btn { padding: 12px 20px; font-size: 0.9rem; }
.pw-burger { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; padding: 0; }
.pw-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.pw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.pw-hero {
	position: relative; overflow: hidden;
	min-height: 100vh;
	display: flex; align-items: center;
	padding: 150px 0 110px;
	background: linear-gradient(160deg, #ece7ff 0%, var(--lavande) 45%, #fff 100%);
	text-align: center;
}
.pw-hero::before, .pw-hero::after {
	content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.pw-hero::before { width: 520px; height: 520px; top: -140px; right: -120px; background: rgba(87,51,255,.18); }
.pw-hero::after  { width: 420px; height: 420px; bottom: -160px; left: -120px; background: rgba(135,217,253,.35); }
.pw-hero .pw-wrap { position: relative; z-index: 1; }
.pw-hero__me {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 6px 18px 6px 6px; margin-bottom: 32px;
	background: var(--white); border-radius: 100px;
	box-shadow: 0 4px 18px rgba(15,13,26,.06);
	font-size: 0.92rem; color: var(--ink);
}
.pw-hero__me img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pw-hero__me strong { font-weight: 600; }
.pw-hero h1 { max-width: 900px; margin: 0 auto; }
.pw-hero__text { max-width: 640px; margin: 28px auto 0; font-size: 1.15rem; color: var(--text); }
.pw-hero__langs { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.pw-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ---------- Logos défilants ---------- */
.pw-logos { padding: 56px 0 0; }
.pw-logos__title { text-align: center; font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; }
.pw-marquee {
	display: flex; overflow: hidden; user-select: none;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.pw-marquee__track {
	flex-shrink: 0; display: flex; align-items: center; gap: 56px; padding-right: 56px;
	animation: pw-scroll 60s linear infinite;
}
.pw-marquee__track img { width: 130px; height: 48px; object-fit: contain; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.pw-marquee__track img:hover { opacity: 1; filter: none; }
@keyframes pw-scroll { to { transform: translateX(-100%); } }

/* ---------- Services ---------- */
.pw-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pw-service {
	padding: 34px 30px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pw-service:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 40px rgba(87,51,255,.12); }
.pw-service__icon {
	width: 52px; height: 52px; margin-bottom: 24px;
	display: grid; place-items: center;
	background: var(--lavande); color: var(--violet); border-radius: 14px;
}
.pw-service__icon svg { width: 24px; height: 24px; }
.pw-service p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Pour qui ---------- */
.pw-cibles { background: var(--ink); color: rgba(255,255,255,.75); border-radius: 32px; margin: 0 16px; }
.pw-cibles h2, .pw-cibles h3 { color: var(--white); }
.pw-cibles .accent { color: #a996ff; }
.pw-cibles .pw-head p { color: rgba(255,255,255,.65); }
.pw-cibles__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.pw-cible {
	grid-column: span 2;
	padding: 32px 28px;
	border-radius: var(--radius);
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	transition: background .25s;
}
.pw-cible:nth-child(4), .pw-cible:nth-child(5) { grid-column: span 3; }
.pw-cible:hover { background: rgba(87,51,255,.22); }
.pw-cible__num { font-family: var(--f-accent); color: #a996ff; font-size: 3.2rem; line-height: 1; display: block; margin-bottom: 20px; }
.pw-cible p { margin-top: 10px; font-size: 0.98rem; }

/* ---------- Projets ---------- */
.pw-projets__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.pw-projet { display: flex; flex-direction: column; }
.pw-projet:first-child { grid-column: 1 / -1; }
.pw-projet__media {
	overflow: hidden; border-radius: var(--radius);
	background: var(--lavande);
	aspect-ratio: 16 / 9;
}
.pw-projet:first-child .pw-projet__media { aspect-ratio: 21 / 9; }
.pw-projet__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.pw-projet:hover .pw-projet__media img { transform: scale(1.04); }
.pw-projet__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 22px; }
.pw-projet__tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.pw-projet p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }
.pw-projet__arrow {
	flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid var(--line); color: var(--ink);
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pw-projet__arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.pw-projet:hover .pw-projet__arrow { background: var(--violet); border-color: var(--violet); color: var(--white); }

/* ---------- Tarifs ---------- */
.pw-tarifs { background: var(--lavande); }
.pw-tarifs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pw-tarif {
	position: relative;
	display: flex; flex-direction: column;
	padding: 40px 32px;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.pw-tarif--featured { background: var(--ink); color: rgba(255,255,255,.8); border-color: var(--ink); }
.pw-tarif--featured h3, .pw-tarif--featured .pw-tarif__price { color: var(--white); }
.pw-tarif__badge {
	position: absolute; top: -13px; left: 32px;
	padding: 6px 14px; border-radius: 100px;
	background: var(--violet); color: var(--white);
	font-size: 0.75rem; font-weight: 600; letter-spacing: .04em;
}
.pw-tarif__desc { margin-top: 8px; font-size: 0.95rem; color: var(--muted); min-height: 3em; }
.pw-tarif--featured .pw-tarif__desc { color: rgba(255,255,255,.65); }
.pw-tarif__prefix { display: block; margin-top: 28px; font-size: 0.85rem; color: var(--muted); }
.pw-tarif--featured .pw-tarif__prefix { color: rgba(255,255,255,.6); }
.pw-tarif__price { font-family: var(--f-head); font-size: 2.6rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
.pw-tarif__price small { font-size: 0.95rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.pw-tarif--featured .pw-tarif__price small { color: rgba(255,255,255,.6); }
.pw-tarif ul { list-style: none; margin: 28px 0 32px; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pw-tarif--featured ul { border-color: rgba(255,255,255,.14); }
.pw-tarif li { display: flex; gap: 10px; font-size: 0.96rem; }
.pw-tarif li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--violet); }
.pw-tarif--featured li svg { color: #a996ff; }
.pw-tarif .pw-btn { margin-top: auto; justify-content: center; }
.pw-tarifs__note { text-align: center; margin-top: 32px; font-size: 0.95rem; color: var(--muted); }
.pw-tarifs__note a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Avis ---------- */
.pw-avis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pw-avis-card {
	display: flex; flex-direction: column; gap: 24px;
	padding: 34px 30px;
	border: 1px solid var(--line); border-radius: var(--radius);
}
.pw-avis-card__stars { display: flex; gap: 3px; color: #f5b400; }
.pw-avis-card__stars svg { width: 18px; height: 18px; }
.pw-avis-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); flex: 1; }
.pw-avis-card__who { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.pw-avis-card__avatar {
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lavande); color: var(--violet); font-weight: 600;
}
.pw-avis-card__who span { display: block; color: var(--muted); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.pw-faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.pw-faq__inner .pw-head { text-align: left; margin: 0; position: sticky; top: 110px; }
.pw-faq__list { border-top: 1px solid var(--line); }
.pw-faq details { border-bottom: 1px solid var(--line); }
.pw-faq summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 24px 0;
	font-family: var(--f-head); font-size: 1.1rem; font-weight: 500; color: var(--ink);
}
.pw-faq summary::-webkit-details-marker { display: none; }
.pw-faq__plus { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--lavande); transition: background .2s, transform .3s; }
.pw-faq__plus::before, .pw-faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--violet); transform: translate(-50%, -50%); transition: transform .3s; }
.pw-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.pw-faq details[open] .pw-faq__plus { background: var(--violet); }
.pw-faq details[open] .pw-faq__plus::before, .pw-faq details[open] .pw-faq__plus::after { background: var(--white); }
.pw-faq details[open] .pw-faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.pw-faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.pw-cta { padding: 0 16px 16px; }
.pw-cta__box {
	position: relative; overflow: hidden;
	padding: 100px 24px;
	border-radius: 32px;
	background: linear-gradient(135deg, var(--violet) 0%, #7b5cff 55%, #4f2cdd 100%);
	text-align: center; color: rgba(255,255,255,.85);
}
.pw-cta__box::after { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: rgba(135,217,253,.35); filter: blur(80px); }
.pw-cta__box > * { position: relative; z-index: 1; }
.pw-cta h2 { color: var(--white); max-width: 760px; margin: 0 auto; }
.pw-cta h2 .accent { color: #c9f0ff; }
.pw-cta p { max-width: 560px; margin: 20px auto 36px; font-size: 1.1rem; }
.pw-cta__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pw-cta .pw-btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.pw-cta .pw-btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- Footer ---------- */
.pw-footer { padding: 72px 0 32px; font-size: 0.95rem; }
.pw-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.pw-footer__brand img { width: 150px; margin-bottom: 18px; }
.pw-footer__brand p { color: var(--muted); max-width: 340px; }
.pw-footer h4 { margin: 0 0 16px; font-family: var(--f-head); font-size: 0.8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.pw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pw-footer ul a { color: var(--muted); transition: color .2s; }
.pw-footer ul a:hover { color: var(--violet); }
.pw-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; color: var(--muted); font-size: 0.88rem; }

/* ---------- Apparition au scroll ---------- */
.pw .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.pw .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pw-services__grid, .pw-avis__grid { grid-template-columns: repeat(2, 1fr); }
	.pw-tarifs__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.pw-tarif__desc { min-height: 0; }
	.pw-cibles__grid { grid-template-columns: repeat(2, 1fr); }
	.pw-cible, .pw-cible:nth-child(4), .pw-cible:nth-child(5) { grid-column: span 1; }
	.pw-cible:last-child { grid-column: 1 / -1; }
	.pw-faq__inner { grid-template-columns: 1fr; gap: 32px; }
	.pw-faq__inner .pw-head { position: static; }
}
@media (max-width: 860px) {
	.pw-burger { display: block; }
	.pw-header { padding: 8px 8px 8px 20px; border-radius: 28px; flex-wrap: wrap; }
	.pw-header .pw-header__cta { display: none; }
	.pw-nav {
		display: none;
		order: 3; width: 100%;
		flex-direction: column; align-items: flex-start; gap: 0;
		padding: 8px 12px 16px;
	}
	.pw-nav a { width: 100%; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.pw-header.is-open .pw-nav { display: flex; }
	.pw-footer__top { grid-template-columns: 1fr 1fr; }
	.pw-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.pw { font-size: 16px; }
	.pw-section { padding: 80px 0; }
	.pw-head { margin-bottom: 40px; }
	.pw-hero { padding: 130px 0 80px; min-height: auto; }
	.pw-hero__ctas .pw-btn, .pw-cta__ctas .pw-btn { width: 100%; justify-content: center; }
	.pw-services__grid, .pw-avis__grid, .pw-projets__grid, .pw-cibles__grid { grid-template-columns: 1fr; }
	.pw-cible:last-child { grid-column: auto; }
	.pw-projet:first-child .pw-projet__media { aspect-ratio: 16 / 9; }
	.pw-cibles, .pw-cta__box { border-radius: 24px; }
	.pw-cibles { margin: 0 8px; }
	.pw-cta { padding: 0 8px 8px; }
	.pw-cta__box { padding: 72px 20px; }
	.pw-faq details p { padding-right: 0; }
	.pw-footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.pw-marquee__track { animation: none; }
	.pw .reveal { opacity: 1; transform: none; transition: none; }
	.pw-header, .pw-service, .pw-projet__media img { transition: none; }
}

/* =====================================================================
   PAGES ET ARTICLES (index.php) — mentions légales, etc.
   ===================================================================== */
.pw-page { padding: 150px 0 100px; }
.pw-page .pw-wrap { max-width: 780px; }
.pw-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 40px; }
.pw-content h2 { font-size: 1.8rem; margin: 48px 0 16px; }
.pw-content h3 { margin: 32px 0 12px; }
.pw-content p, .pw-content ul, .pw-content ol { margin: 0 0 1.2em; }
.pw-content a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.pw-content img { border-radius: 12px; margin: 24px 0; }
.pw-page__item + .pw-page__item { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
