/* "Faites-vous rappeler" form, rendered by js/demo-callback.js inside the demo boxes */
.nf-callback-or { margin: 1.4rem 0 1rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; }
.nf-callback-form { max-width: 460px; margin: 0 auto; text-align: left; }
.nf-callback-title { margin: 0 0 0.2rem; font-weight: 700; font-size: 1.05rem; color: #1e293b; text-align: center; }
.nf-callback-hint { margin: 0 0 0.8rem; font-size: 0.85rem; color: #475569; text-align: center; }
.nf-callback-row { display: flex; gap: 8px; }
.nf-callback-row input { flex: 1; min-width: 0; padding: 0.7rem 0.9rem; font-size: 1rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #1e293b; }
.nf-callback-row input:focus { outline: 2px solid #93c5fd; border-color: #1e40af; }
.nf-callback-row button { padding: 0.7rem 1.1rem; font-weight: 700; font-size: 0.95rem; color: #fff; background: #1e40af; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.nf-callback-row button:disabled { opacity: 0.6; cursor: default; }
.nf-callback-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.nf-callback-consent { display: flex; gap: 8px; align-items: flex-start; margin: 0.7rem 0 0; font-size: 0.78rem; line-height: 1.4; color: #475569; font-weight: 400; cursor: pointer; }
.nf-callback-consent input { margin-top: 2px; flex-shrink: 0; }
.nf-callback-consent a { color: #1e40af; text-decoration: underline; }
.nf-callback-message { margin: 0.6rem 0 0; font-size: 0.88rem; min-height: 1.2em; text-align: center; }
.nf-callback-message.is-ok { color: #15803d; }
.nf-callback-message.is-error { color: #b91c1c; }
@media (max-width: 480px) {
  .nf-callback-row { flex-direction: column; }
}

/* Top of the landing pages: the demo is the first thing to try (26/11) */
.nf-hero-row { align-items: center; padding-bottom: 40px; }
.nf-hero-trust { color: #fff; opacity: 0.85; font-size: 0.88rem; margin: 0.4rem 0 0; }
.nf-hero-card { background: #fff; border-radius: 16px; padding: 22px 22px 16px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25); text-align: center; }
.nf-hero-card .nf-callback-form { max-width: none; }
.nf-hero-card .nf-callback-title { font-size: 1.2rem; }
.nf-hero-card-call { margin: 0; font-size: 0.85rem; color: #475569; }
.nf-hero-card-call a { color: #1e40af; font-weight: 700; white-space: nowrap; }
.nf-hero-card [data-demo-callback].is-ready + .nf-hero-card-call { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid #e2e8f0; }
@media (max-width: 991px) { .nf-hero-card { margin-top: 28px; } }

/* Mobile: the two actions stay at the bottom of the screen */
.nf-mobile-bar { display: none; }
@media (max-width: 767px) {
  .nf-mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.15); }
  .nf-mobile-bar a { flex: 1; text-align: center; padding: 0.7rem 0.5rem; border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
  .nf-mobile-bar .is-primary { background: #1e40af; color: #fff; }
  .nf-mobile-bar .is-secondary { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
  body.has-mobile-bar { padding-bottom: 76px; overflow-x: hidden; }
}

/* Demo by phone in the top card (e-commerce page: the call back plays a plumber, the shop demo is a number) */
.nf-hero-call-btn { display: inline-flex; align-items: center; gap: 10px; background: #1e40af; color: #fff !important; padding: 14px 26px; border-radius: 12px; font-size: 1.3rem; font-weight: 700; text-decoration: none !important; box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35); margin: 0.4rem 0 0.8rem; }

/* Example of a call (e-commerce page), same look as the home page example */
.nf-mock { max-width: 560px; margin: 0 auto; background: #0f172a; border-radius: 18px; padding: 20px; color: #e2e8f0; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25); text-align: left; }
.nf-mock-head { display: flex; justify-content: space-between; font-size: 0.78rem; color: #94a3b8; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.nf-mock-bubble { padding: 10px 14px; border-radius: 12px; margin: 0 0 10px; font-size: 0.92rem; line-height: 1.45; max-width: 85%; }
.nf-mock p.nf-mock-caller { background: #1e293b; color: #e2e8f0; }
.nf-mock p.nf-mock-ai { background: #1e40af; color: #fff; margin-left: auto; }
.nf-mock p.nf-mock-meta { font-size: 0.78rem; color: #94a3b8; margin: 6px 0 0; }
.nf-mock-label { text-align: center; font-size: 0.85rem; font-weight: 600; color: #1e40af; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }

/* Exit popup (js/demo-callback.js), desktop only; below the cookie banner, which stays usable */
.nf-exit-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, 0.65); overflow-y: auto; }
.nf-exit-dialog { position: relative; width: 100%; max-width: 500px; margin: auto; padding: 36px 32px 24px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4); text-align: center; }
.nf-exit-dialog .nf-callback-title { font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.5rem; text-wrap: balance; }
.nf-exit-dialog .nf-callback-hint { font-size: 0.95rem; margin-bottom: 1.1rem; text-wrap: balance; }
.nf-exit-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; padding: 0; font-size: 1.8rem; line-height: 1; color: #475569; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.nf-exit-close:hover { color: #1e293b; background: #f1f5f9; }
