/* Lettre Elyom : formulaire d'inscription */
.ely-nl { --nl-ink: #0E1638; --nl-blue: #24387D; --nl-orange: #ED7224; --nl-muted: #5B6283; --nl-line: #E6E2DA;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--nl-ink); box-sizing: border-box; }
.ely-nl *, .ely-nl *::before { box-sizing: border-box; }
.ely-nl p { margin: 0; }
.ely-nl-eb { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--nl-orange); margin-bottom: 8px !important; }
.ely-nl-title { font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.3px; margin-bottom: 8px !important; }
.ely-nl-sub { font-size: 16px; line-height: 1.55; color: var(--nl-muted); }
.ely-nl-gift { margin-top: 12px !important; font-size: 15px; font-weight: 600; }
.ely-nl-form { display: grid; gap: 10px; }
.ely-nl-fields { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(170px, 1.3fr) auto; gap: 8px; }
.ely-nl input[type=text], .ely-nl input[type=email] { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--nl-line); background: #fff;
  font: inherit; font-size: 16px; color: var(--nl-ink); outline: none; margin: 0; box-shadow: none; }
.ely-nl input[type=text]:focus, .ely-nl input[type=email]:focus { border-color: var(--nl-blue); box-shadow: 0 0 0 3px rgba(36,56,125,.15); }
.ely-nl button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--nl-orange); color: #fff; font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.ely-nl button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ely-nl button[disabled] { opacity: .6; cursor: wait; transform: none; }
.ely-nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--nl-muted); cursor: pointer; }
.ely-nl-consent input { margin: 2px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--nl-orange); }
.ely-nl-consent a { color: inherit !important; text-decoration: underline !important; }
.ely-nl-hp, .ely-nl-sr { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ely-nl-msg { font-size: 15px; font-weight: 600; min-height: 0; }
.ely-nl-msg:empty { display: none; }
.ely-nl-msg.is-ok { color: #145C38; background: #E8F5EE; padding: 10px 14px; border-radius: 12px; }
.ely-nl-msg.is-ko { color: #9F1D1D; background: #FCE8E6; padding: 10px 14px; border-radius: 12px; }
.ely-nl.is-done .ely-nl-fields, .ely-nl.is-done .ely-nl-consent { display: none; }

/* Encadré (fin d'article, page Blog) */
.ely-nl-card { background: var(--nl-ink); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; margin: 40px 0; position: relative; overflow: hidden; }
.ely-nl-card::after { content: ""; position: absolute; right: -56px; top: -56px; width: 120px; height: 120px; border-radius: 50%; background: var(--nl-orange); opacity: .9; z-index: 0; }
.ely-nl-card { padding-top: clamp(30px, 4vw, 44px); }
.ely-nl-card > * { position: relative; z-index: 1; }
.ely-nl-card .ely-nl-title { color: #fff; }
.ely-nl-card .ely-nl-sub, .ely-nl-card .ely-nl-consent { color: #C9D0EC; }
.ely-nl-card .ely-nl-gift { color: #fff; }
.ely-nl-card .ely-nl-fields { grid-template-columns: 1fr; }
.ely-nl-card input[type=text], .ely-nl-card input[type=email] { border-color: transparent; }

/* Bandeau (pied de page) */
.ely-nl-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 48px; align-items: center; padding: 28px 0; }
.ely-nl-band .ely-nl-title { color: #fff; }
.ely-nl-band .ely-nl-sub, .ely-nl-band .ely-nl-consent { color: #AEB6D8; }
.ely-nl-band .ely-nl-gift { color: #fff; }
.ely-nl-band input[type=text], .ely-nl-band input[type=email] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.ely-nl-band input::placeholder { color: #AEB6D8; }
.ely-nl-band .ely-nl-msg.is-ok { background: rgba(37,211,102,.15); color: #fff; }
.ely-nl-band .ely-nl-msg.is-ko { background: rgba(255,100,100,.18); color: #fff; }

/* Compact (barre latérale) */
.ely-nl-compact { background: #fff; border: 1px solid var(--nl-line); border-radius: 20px; padding: 20px; display: grid; gap: 12px; }
.ely-nl-compact .ely-nl-title { font-size: 20px; }
.ely-nl-compact .ely-nl-sub { font-size: 14.5px; }
.ely-nl-compact .ely-nl-fields { grid-template-columns: 1fr; }
.ely-nl-compact .ely-nl-fields input[name=name] { display: none; }

@media (max-width: 900px) {
  .ely-nl-card, .ely-nl-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ely-nl-card::after { width: 84px; height: 84px; right: -42px; top: -42px; }
  .ely-nl-fields { grid-template-columns: 1fr; }
  .ely-nl button { width: 100%; }
  .ely-nl-card { border-radius: 20px; }
}
