/* Section Téléchargement – réutilise les variables du thème nextma */
.nxt-dl-intro { max-width: 720px; color: var(--nxt-gray-mid, #8A8A80); font-size: 1.05rem; line-height: 1.7; margin: 1rem 0 2.5rem; }

.nxt-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }

.nxt-dl-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
	background: var(--nxt-white, #fff); border: 1px solid var(--nxt-border, rgba(0,0,0,.06));
	border-radius: 8px; padding: 1.75rem; transition: transform .3s var(--ease-out, ease), box-shadow .3s;
}
.nxt-dl-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.nxt-dl-card h3 { font-family: var(--font-heading, serif); font-size: 1.4rem; margin: 0; color: var(--nxt-dark, #1a1a1a); }
.nxt-dl-card p { flex: 1; margin: 0 0 .75rem; color: #555; font-size: .95rem; line-height: 1.6; }
.nxt-dl-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--nxt-green-light, #E8F5EC); color: var(--nxt-green, #1B6B3A); font-size: 1.1rem; }
.nxt-dl-tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nxt-green, #1B6B3A); }
.nxt-dl-open { cursor: pointer; border: 0; }

/* Fenêtre du formulaire */
.nxt-dl-dialog { border: 0; border-radius: 10px; padding: 0; width: min(440px, calc(100vw - 2rem)); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.nxt-dl-dialog::backdrop { background: rgba(20,30,25,.55); backdrop-filter: blur(3px); }
.nxt-dl-form { position: relative; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.nxt-dl-form h3 { font-family: var(--font-heading, serif); margin: 0; font-size: 1.4rem; padding-right: 2rem; }
.nxt-dl-form h3 span { color: var(--nxt-green, #1B6B3A); }
.nxt-dl-sub { margin: 0; color: #555; font-size: .92rem; }
.nxt-dl-close { position: absolute; top: .6rem; right: .9rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--nxt-gray-mid, #8A8A80); }
.nxt-dl-close:hover { color: var(--nxt-dark, #1a1a1a); }
.nxt-dl-field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; }
.nxt-dl-field input { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1.5px solid #d6d8d0; border-radius: 4px; }
.nxt-dl-field input:focus { outline: 0; border-color: var(--nxt-green, #1B6B3A); box-shadow: 0 0 0 3px var(--nxt-green-light, #E8F5EC); }
.nxt-dl-submit { justify-content: center; cursor: pointer; border: 0; }
.nxt-dl-submit[disabled] { opacity: .6; cursor: wait; }
.nxt-dl-msg { min-height: 1.2em; margin: 0; font-size: .9rem; }
.nxt-dl-msg.is-error { color: var(--nxt-red, #D42B2B); }
.nxt-dl-msg.is-ok { color: var(--nxt-green, #1B6B3A); font-weight: 600; }
.nxt-dl-legal { margin: 0; font-size: .75rem; color: var(--nxt-gray-mid, #8A8A80); }
.nxt-dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
