/* Offres, Contact, M'aider, Alternance. Shares the split hero and form styles of inscription.css. */
.pg h2 { color: var(--navy); }
.pg .insc-hero__title, .pg .insc-hero__sub { color: inherit; }
.pg .insc-hero__sub { color: var(--yellow); }
.insc-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #8a97a8; border-radius: 4px; font: inherit; font-size: 16px; resize: vertical; }
.insc-field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.insc-field[hidden] { display: none; }
.pg-submit { margin-top: 24px; }
.pg-sent { margin: 0 0 24px; padding: 12px 16px; border-left: 5px solid var(--navy); background: var(--wash); font-size: 15px; font-weight: 600; color: var(--navy); }
.pg-h2 { margin: 0 0 18px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

.pg-hero { position: relative; display: flex; align-items: flex-end; min-height: 380px; background: var(--navy); }
.pg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pg-wrap { padding: 44px var(--gutter) 8px; }
.pg-lead { max-width: 1100px; margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }

/* Offres */
.pg-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pg-filter[hidden] { display: none; }
.pg-filter button { min-height: 44px; padding: 0 20px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.pg-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pg-filter button:focus-visible, .pg-offer:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.pg-offers { display: grid; gap: 28px; margin: 0 0 48px; padding: 0; list-style: none; }
.pg-offers li[hidden] { display: none; }
.pg-offer, .pg-offer:visited { display: block; color: inherit; text-decoration: none; }
.pg-offer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-offer h2 { margin: 14px 0 4px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.pg-offer span { font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pg-offer:hover h2 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Signup band */
.pg-signup { display: grid; gap: 20px; margin: 0; padding: 44px var(--gutter); border: 0; background: var(--wash); }
.pg-signup .signup__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; }
.pg-signup__lead { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.pg-signup input[type="email"] { background: #fff; }

/* Contact: Entre nous */
.pg-social { padding: 40px var(--gutter); background: var(--wash); }
.pg-social h2 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; }
.pg .pg-social__sub { margin: 6px 0 16px; color: #000; font-size: 16px; font-weight: 400; }
.pg-social ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-social a, .pg-social a:visited { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--navy); border-radius: 6px; color: var(--navy); }
.pg-social a:hover { background: var(--navy); color: #fff; }
.pg-social a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* M'aider */
.pg-choices { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.pg-choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid #8a97a8; border-radius: 4px; font-size: 15px; font-weight: 500; line-height: 1.35; cursor: pointer; }
.pg-choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.pg-choice:has(input:checked) { border: 2px solid var(--navy); background: var(--wash); color: var(--navy); font-weight: 600; }
.pg-choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.pg-start { display: grid; gap: 20px; align-items: center; padding: 44px var(--gutter); background: var(--yellow); }
.pg-start h2 { margin: 0; font-size: 16px; font-weight: 600; }
.pg .pg-start__sub { margin-top: 4px; font-size: clamp(24px, 3vw, 40px); line-height: 1.12; letter-spacing: -.015em; }
.pg-start .insc-submit, .pg-start .insc-submit:visited { justify-self: start; background: var(--navy); color: #fff; }
.pg-start .insc-submit:hover { background: #fff; color: var(--navy); }
.pg-reach { display: grid; gap: 16px; padding: 36px var(--gutter); }
.pg-reach h3 { margin: 0; color: var(--navy); font-size: 17px; font-weight: 500; line-height: 1.5; }
.pg-reach a, .pg-reach a:visited { display: inline-block; margin-right: 14px; color: var(--navy); text-decoration: none; }
.pg-reach a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Alternance */
.pg-transform { display: grid; gap: 28px; padding: 24px var(--gutter) 56px; font-size: 16px; line-height: 1.7; }
.pg-transform p { max-width: 80ch; margin: 0 0 14px; }
.pg-transform strong { font-weight: 600; }
.pg-transform h2 { margin: 8px 0 0; font-size: clamp(32px, 5vw, 66px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pg-transform img { width: 100%; max-width: 240px; justify-self: center; }
.pg-method { padding: 56px var(--gutter); background: var(--navy); color: #fff; }
.pg .pg-method > h2 { margin: 0 0 32px; color: #fff; font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.pg-method ol { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
.pg-method ol > li { padding-top: 16px; border-top: 3px solid var(--yellow); font-size: 15px; line-height: 1.6; }
.pg-method h1, .pg .pg-method li h2 { margin: 0 0 12px; color: #fff; font-size: 22px; font-weight: 600; line-height: 1.2; }
.pg-method h1 span, .pg-method li h2 span { color: var(--yellow); }
.pg-method p { margin: 0 0 10px; }
.pg-method ul { margin: 0; padding-left: 18px; }
.pg-method ul li { margin-bottom: 8px; }
.pg-partners { padding: 56px var(--gutter) 64px; }
.pg-partners h2 { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.pg-partners ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; margin: 0; padding: 0; list-style: none; }
.pg-partners img { width: 100%; max-width: 170px; height: 80px; margin-inline: auto; object-fit: contain; }

@media (min-width: 700px) {
	.pg-offers { grid-template-columns: repeat(2, 1fr); }
	.pg-signup { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
	.pg-method ol { grid-template-columns: repeat(2, 1fr); }
	.pg-partners ul { grid-template-columns: repeat(3, 1fr); }
	.pg-start { grid-template-columns: 1fr auto; }
	.pg-reach { grid-template-columns: repeat(3, auto); justify-content: space-between; }
}
@media (min-width: 1000px) {
	.pg-offers { grid-template-columns: repeat(3, 1fr); }
	.pg-transform { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: 56px; align-items: center; }
	.pg-method ol { grid-template-columns: repeat(4, 1fr); }
	.pg-partners ul { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 699px) {
	.pg-hero { min-height: 300px; }
	.pg-hero .insc-hero__panel { --cut: 26px; width: 100%; padding-right: 44px; }
}

/* Explorez, Certificats, legal pages */
.pg-title { display: grid; gap: 16px; padding: 52px var(--gutter) 44px; background: var(--navy); color: #fff; }
.pg .pg-title h1, .pg .pg-title h2 { margin: 0; color: #fff; font-size: clamp(32px, 4.4vw, 60px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
.pg-title p { max-width: 80ch; margin: 0; font-size: 16px; line-height: 1.65; }
.pg-certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 44px var(--gutter) 56px; list-style: none; }
.pg-certs a, .pg-certs a:visited { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; color: var(--navy); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pg-certs__logo { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 130px; padding: 20px; }
.pg-certs img { width: auto; max-width: min(150px, 100%); max-height: 88px; object-fit: contain; }
.pg-certs__name { padding: 12px; background: var(--wash); font-size: 15px; font-weight: 600; text-align: center; transition: background-color .2s ease, color .2s ease; }
.pg-certs a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (hover: hover) {
	.pg-certs a:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 10px 22px rgba(0, 41, 85, .14); }
	.pg-certs a:hover .pg-certs__name { background: var(--navy); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .pg-certs a, .pg-certs__name { transition: none; } .pg-certs a:hover { transform: none; } }
.pg-legal { padding: 44px var(--gutter) 72px; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.pg .pg-legal h2 { margin: 36px 0 12px; font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.25; }
.pg-legal h3 { margin: 24px 0 8px; color: var(--navy); font-size: 18px; font-weight: 600; }
.pg-legal h4 { margin: 24px 0 8px; color: var(--navy); font-size: 17px; font-weight: 600; }
.pg-legal p { margin: 0 0 14px; }
.pg-legal ul { margin: 0 0 14px; padding-left: 20px; }
.pg-legal li { margin-bottom: 6px; }
.pg-legal a { color: var(--navy); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 700px) { .pg-certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pg-certs { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-right: max(var(--gutter), 56px); } }
@media (min-width: 1100px) {
	.pg-legal { columns: 2; column-gap: 56px; padding-right: max(var(--gutter), 56px); }
	.pg .pg-legal h2, .pg-legal h3, .pg-legal h4 { break-after: avoid; }
	.pg .pg-legal > h2:first-child, .pg-legal > p:first-child { margin-top: 0; }
	.pg-legal li, .pg-legal p { break-inside: avoid; }
}

.pg-reach > div { display: flex; align-items: flex-start; gap: 2px; }
.pg-pillars { padding: 44px var(--gutter); }
.pg-pillars__lead { margin: 0 0 18px; color: var(--navy); font-size: 20px; font-weight: 600; }
.pg-pillars ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pg-pillars li { padding: 22px 28px 22px 20px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
@media (min-width: 700px) { .pg-pillars ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
