/* JAPSSO Newsletter – interface publique (aligné sur le thème ONG JAPSSO) */
:root { --jna-red: #bc1728; --jna-red-dark: #9f1422; --jna-accent: #e83239; --jna-ink: #111827; --jna-muted: #4b5563; --jna-line: #e5e7eb; --jna-soft: #f9fafb; }

.jna-ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.jna-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jna-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Form ---------- */
.jna-form { width: 100%; }
.jna-form__fields { display: flex; gap: 12px; }
.jna-input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--jna-line); border-radius: 8px; background: #fff; color: var(--jna-ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.jna-input::placeholder { color: #9ca3af; }
.jna-input:focus { outline: none; border-color: var(--jna-red); box-shadow: 0 0 0 3px rgb(188 23 40 / 18%); }
.jna-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 8px; color: #fff; background: var(--jna-red); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.jna-btn:hover { background: var(--jna-red-dark); }
.jna-btn:active { transform: translateY(1px); }
.jna-btn .jna-ico { transition: transform .2s; }
.jna-btn:hover .jna-ico { transform: translateX(3px); }
.jna-btn[disabled] { opacity: .7; cursor: progress; }
.jna-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--jna-muted); cursor: pointer; text-align: left; }
.jna-consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--jna-red); }
.jna-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.jna-msg { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.jna-msg:empty { display: none; }
.jna-msg.is-ok { color: #15803d; }
.jna-msg.is-error { color: var(--jna-red); }
.jna-form.is-done .jna-form__fields, .jna-form.is-done .jna-consent { display: none; }
.jna-form.is-done .jna-msg { padding: 14px 16px; border-radius: 8px; background: #f0fdf4; }

/* Card variant (stacked) */
.jna-form--card .jna-form__fields { flex-direction: column; }
.jna-form--card .jna-btn { width: 100%; }

/* ---------- Home band ---------- */
.jna-band { padding: 72px 16px; background: var(--jna-red); color: #fff; }
.jna-band__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.jna-band__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: rgb(255 255 255 / 14%); font-size: 24px; }
.jna-band__title { margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.jna-band__text { margin: 0 auto 28px; max-width: 560px; color: #fde2e4; font-size: 17px; line-height: 1.6; }
.jna-band .jna-input { border-color: transparent; }
.jna-band .jna-input:focus { box-shadow: 0 0 0 3px rgb(255 255 255 / 45%); }
.jna-band .jna-btn { background: #111827; }
.jna-band .jna-btn:hover { background: #000; }
.jna-band .jna-consent { justify-content: center; color: #fde2e4; text-align: left; }
.jna-band .jna-consent input { accent-color: #111827; }
.jna-band .jna-msg.is-ok, .jna-band .jna-msg.is-error { color: #fff; }
.jna-band .jna-form.is-done .jna-msg { background: rgb(255 255 255 / 14%); }
.jna-band__privacy { margin: 18px 0 0; color: #fbcfd3; font-size: 12px; }

/* ---------- Public page ---------- */
body.jna-public-page .article-h1 { display: none; }
body.jna-public-page .content-wrapper, body.jna-public-page .article-content, body.jna-public-page .article-body { max-width: none; width: 100%; margin: 0; padding: 0; }
.jna-page { color: var(--jna-ink); }
.jna-wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.jna-hero { position: relative; padding: 48px 0; overflow: hidden; background: var(--jna-red); color: #fff; }
.jna-hero__title { margin: 0 0 8px; color: #fff; font-size: clamp(30px, 3vw, 40px); font-weight: 800; }
.jna-crumbs { display: flex; gap: 8px; color: #fecdd3; font-size: 14px; }
.jna-crumbs a { color: #fecdd3; text-decoration: none; } .jna-crumbs a:hover { color: #fff; }
.jna-crumbs [aria-current] { color: #fff; }

.jna-h2 { position: relative; margin: 0 0 16px; padding-bottom: 16px; color: var(--jna-ink); font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; line-height: 1.25; }
.jna-h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 96px; height: 4px; border-radius: 4px; background: var(--jna-accent); }
.jna-muted { margin: 0 0 24px; color: var(--jna-muted); font-size: 16px; line-height: 1.7; }
.jna-lead { margin: 0 0 40px; color: var(--jna-ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; font-weight: 500; }

.jna-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 56px; align-items: start; padding: 64px 0; }
.jna-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.jna-benefit { display: flex; gap: 16px; padding: 22px; border: 1px solid #f3f4f6; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.jna-benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; color: var(--jna-red); background: #fdecee; font-size: 20px; }
.jna-benefit h3 { margin: 0 0 6px; color: var(--jna-ink); font-size: 16px; font-weight: 700; }
.jna-benefit p { margin: 0; color: var(--jna-muted); font-size: 14px; line-height: 1.6; }

.jna-intro__aside { position: sticky; top: 120px; }
.jna-card { padding: 32px; border-radius: 12px; background: #fff; border-top: 4px solid var(--jna-red); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%); }
.jna-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; color: #fff; background: var(--jna-red); font-size: 22px; }
.jna-card__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--jna-ink); }
.jna-card .jna-muted { margin-bottom: 20px; }
.jna-promises { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--jna-line); list-style: none; }
.jna-promises li { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--jna-muted); font-size: 14px; }
.jna-promises .jna-ico { color: #31a44f; }

.jna-latest { padding: 64px 0; background: var(--jna-soft); }
.jna-latest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }
.jna-post { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%); transition: box-shadow .3s; }
.jna-post:hover { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%); }
.jna-post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e5e7eb; }
.jna-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jna-post:hover .jna-post__img img { transform: scale(1.05); }
.jna-post__tag { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 999px; color: #fff; background: var(--jna-red); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.jna-post__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.jna-post__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--jna-ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.jna-post:hover .jna-post__title { color: var(--jna-red); }
.jna-post__date { color: #6b7280; font-size: 14px; }

.jna-faq { max-width: 860px; padding: 64px 0 80px; }
.jna-faq__item { border-bottom: 1px solid var(--jna-line); }
.jna-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--jna-ink); font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.jna-faq__item summary::-webkit-details-marker { display: none; }
.jna-faq__item summary .jna-ico { color: var(--jna-red); transition: transform .2s; }
.jna-faq__item[open] summary .jna-ico { transform: rotate(180deg); }
.jna-faq__item p { margin: 0 0 20px; color: var(--jna-muted); line-height: 1.7; }

/* Newsletter's own flow (confirmation, profile, unsubscribe) */
.jna-flow { padding: 56px 0 80px; }
.jna-flow__card { max-width: 720px; margin: 0 auto; padding: 40px; border-radius: 12px; background: #fff; border-top: 4px solid var(--jna-red); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%); color: var(--jna-ink); font-size: 16px; line-height: 1.7; }
.jna-flow__card input[type=text], .jna-flow__card input[type=email], .jna-flow__card select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--jna-line); border-radius: 8px; font: inherit; background: #fff; }
.jna-flow__card input[type=submit], .jna-flow__card button, .jna-flow__card .tnp-submit { height: 48px; padding: 0 24px; border: 0; border-radius: 8px; color: #fff; background: var(--jna-red); font: inherit; font-weight: 700; cursor: pointer; }
.jna-flow__card a { color: var(--jna-red); }
.jna-flow__back { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--jna-line); font-size: 14px; }

@media (max-width: 1023px) {
  .jna-intro { grid-template-columns: 1fr; gap: 40px; }
  .jna-intro__aside { position: static; }
  .jna-latest__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .jna-form--band .jna-form__fields { flex-direction: column; }
  .jna-form--band .jna-btn { width: 100%; }
  .jna-benefits, .jna-latest__grid { grid-template-columns: 1fr; }
  .jna-card, .jna-flow__card { padding: 24px; }
  .jna-band { padding: 56px 16px; }
}
@media (prefers-reduced-motion: reduce) { .jna-post__img img, .jna-btn .jna-ico, .jna-faq__item summary .jna-ico { transition: none; } }
