/* Shared page look for text pages (Devenir bénévole, Contact…): tokens, wrap, hero with the hands watermark, eyebrow, h2, buttons, calendar chip. From site/_mockup/programme. */
.tth-pg {
  --navy: #183B56; --navy2: #1F538A; --red: #D9230F; --red-accent: #F22811; --red-h: #B81C0B;
  --muted: #5B6576; --line: #E6E9EE; --soft: #F5F7FA;
  font-family: "Montserrat", system-ui, sans-serif; color: var(--navy); background: #fff;
}
.tth-pg *, .tth-pg *::before, .tth-pg *::after { box-sizing: border-box; }
.tth-pg img { display: block; max-width: 100%; }
.tth-pg__wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.tth-pg__sec { padding: 88px 0; }
.tth-pg__sec--soft { background: var(--soft); }
.tth-pg__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tth-pg .tth-pg__eyebrow { display: inline-block; margin-bottom: 12px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tth-pg .tth-pg__h2 { margin: 0 0 16px; color: var(--navy); font-family: inherit; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.tth-pg .tth-pg__h3 { margin: 14px 0 6px; color: var(--navy); font-family: inherit; font-size: 17px; line-height: 1.3; font-weight: 800; }
.tth-pg .tth-pg__p { margin: 0; color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.tth-pg .tth-pg__p--lg { font-size: 16px; line-height: 1.7; margin-bottom: 26px; }

.tth-pg .tth-pg__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.tth-pg__btn svg { width: 16px; height: 16px; }
.tth-pg .tth-pg__btn--red { background: var(--red); color: #fff; }
.tth-pg .tth-pg__btn--red:hover, .tth-pg .tth-pg__btn--red:focus-visible { background: var(--red-h); color: #fff; transform: translateY(-1px); }
.tth-pg .tth-pg__btn--line { box-shadow: inset 0 0 0 2px var(--line); color: var(--navy); background: #fff; }
.tth-pg .tth-pg__btn--line:hover, .tth-pg .tth-pg__btn--line:focus-visible { box-shadow: inset 0 0 0 2px var(--navy2); color: var(--navy2); }
.tth-pg .tth-pg__btn--white { background: #fff; color: var(--navy); white-space: nowrap; }
.tth-pg .tth-pg__btn--white:hover, .tth-pg .tth-pg__btn--white:focus-visible { background: #E6ECF3; color: var(--navy); }

/* Hero: centred title, the logo's hands as a faint watermark */
/* Top padding = fixed header height (122 / 82 / 64 px) + breathing room */
.tth-pg__hero { position: relative; overflow: hidden; padding: 186px 0 36px; text-align: center; }
.tth-pg__mark { position: absolute; top: 146px; inset-inline-end: max(40px, calc(50% - 560px)); width: 170px; aspect-ratio: 243 / 263; opacity: .07; pointer-events: none; }
.tth-pg__mark img { width: 100%; height: 100%; }
.tth-pg .tth-pg__title { margin: 0; color: var(--navy); font-family: inherit; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.tth-pg .tth-pg__lead { max-width: 640px; margin: 16px auto 26px; color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.tth-pg__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Three numbered steps */
.tth-pg__steps-sec { padding: 20px 0 88px; }
.tth-pg__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 28px; padding: 0; list-style: none; }
.tth-pg__photo { position: relative; height: 240px; border-radius: 20px; overflow: hidden; }
.tth-pg__photo img { width: 100%; height: 100%; object-fit: cover; }
.tth-pg__steps[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
/* No photo: soft tile with a large icon */
.tth-pg__photo--icon { display: grid; place-items: center; height: 200px; background: linear-gradient(150deg, #EAF0F7, #F5F7FA); color: var(--navy2); }
.tth-pg__photo--icon svg { width: 64px; height: 64px; stroke-width: 1.5; }
/* Step linking to another page (Solidarité internationale hub) */
.tth-pg__step--link { position: relative; }
.tth-pg .tth-pg__step--link h3 a { color: var(--navy); text-decoration: none; }
.tth-pg .tth-pg__step--link h3 a::after { content: ""; position: absolute; inset: 0; }
.tth-pg .tth-pg__step--link:hover h3 a { color: var(--navy2); }
.tth-pg__step--link:hover .tth-pg__photo img { transform: scale(1.04); }
.tth-pg__photo img { transition: transform .5s ease; }
.tth-pg__num { position: absolute; top: 14px; inset-inline-start: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 16px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }

/* Next dates strip */
.tth-pg__next { text-align: start; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; border-radius: 20px; background: var(--navy); color: #fff; }
.tth-pg__cal { width: 56px; overflow: hidden; border-radius: 10px; background: #fff; text-align: center; }
.tth-pg__cal small { display: block; padding: 3px 0; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tth-pg__cal b { display: block; padding: 4px 0 5px; color: var(--navy); font-size: 22px; font-weight: 800; }
.tth-pg__next-info strong { display: block; font-size: 16px; }
.tth-pg__next-info span { display: block; margin-top: 3px; color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.tth-pg__next-info .tth-pg__later { color: rgba(255, 255, 255, .62); font-size: 12.5px; }

/* En pratique: context left, 4 fact cards right */
/* Both columns stretch to the same height: the quote sits at the bottom of the left column, the fact cards grow to fill the right one */
.tth-pg__split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: stretch; }
.tth-pg__intro { display: flex; flex-direction: column; }
.tth-pg__intro .tth-pg__quote { margin-top: auto; }
.tth-pg__facts { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.tth-pg__fact { padding: 22px; border-radius: 18px; background: #fff; }
.tth-pg__fact .tth-pg__h3 { margin-top: 14px; font-size: 15px; }
.tth-pg__fact .tth-pg__p { font-size: 14px; }
.tth-pg__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EAF0F7; color: var(--navy2); }
.tth-pg__ico svg { width: 20px; height: 20px; }

/* Testimonial card under the context (hands mark on the left) */
.tth-pg__quote { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; margin: 0; padding: 22px 24px; border-radius: 18px; background: #fff; border-inline-start: 4px solid var(--red-accent); }
.tth-pg__qmark { position: relative; grid-row: span 2; width: 44px; aspect-ratio: 243 / 263; }
.tth-pg__qmark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tth-pg__quote blockquote { margin: 0; }
.tth-pg__quote blockquote p { margin: 0; color: var(--navy); font-size: 16px; line-height: 1.5; font-weight: 700; }
.tth-pg__quote figcaption { color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 13px; }

/* Donation band closing the section: why text | 66 % | button */
.tth-pg__give { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; margin-top: 40px; padding: 26px 30px; border-radius: 20px; background: #fff; }
.tth-pg__give-text .tth-pg__eyebrow { margin-bottom: 6px; }
.tth-pg__give-text .tth-pg__p { max-width: 560px; font-size: 14.5px; }
.tth-pg__tax { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: #FDECEA; }
.tth-pg__tax b { flex: none; color: var(--red); font-size: 30px; font-weight: 800; line-height: 1; white-space: nowrap; }
.tth-pg__tax span { color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.35; }
.tth-pg__tax em { font-style: normal; font-weight: 600; color: var(--red-h); }
.tth-pg__give .tth-pg__btn { white-space: nowrap; }

@media (max-width: 960px) {
  .tth-pg__split { grid-template-columns: 1fr; gap: 32px; }
  .tth-pg__give { grid-template-columns: 1fr auto; }
  .tth-pg__give-text { grid-column: 1 / -1; }
  .tth-pg__steps, .tth-pg__steps[data-count="2"] { grid-template-columns: 1fr; }
  .tth-pg__photo { height: 200px; }
}
@media (max-width: 640px) {
  .tth-pg__wrap { padding: 0 20px; }
  .tth-pg__sec { padding: 64px 0; }
  .tth-pg__hero { padding: 130px 0 28px; }
  .tth-pg__mark { width: 110px; inset-inline-end: 10px; top: 96px; }
  .tth-pg__facts { grid-template-columns: 1fr; }
  .tth-pg__next { grid-template-columns: auto 1fr; padding: 20px; }
  .tth-pg__next .tth-pg__btn { grid-column: 1 / -1; justify-content: center; }
  .tth-pg__give { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; }
  .tth-pg__give .tth-pg__btn { justify-content: center; }
}
@media (max-width: 520px) {
  .tth-pg__hero { padding-top: 108px; }
  .tth-pg__mark { top: 76px; }
}
