/* ============================================================
   formuliermetideal.nl — aanvullingen op site.css
   (Functies-dropdown in de hoofdnav + kleine tweaks)
   ============================================================ */

/* Merk-woordmerk: "iDEAL" in magenta */
.brand-name .ideal { color: var(--magenta); }

/* ---------- Functies-dropdown ---------- */
.nav-item { position: relative; display: inline-flex; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .caret { width: 15px; height: 15px; transition: transform .2s; opacity: .7; }
.nav-item:hover .caret,
.nav-item:focus-within .caret { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px;
  width: 560px; max-width: 92vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.nav-item:hover .drop,
.nav-item:focus-within .drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.drop::before { /* onzichtbare hover-brug naar de trigger */
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.drop a {
  display: flex; gap: 11px; align-items: center; padding: 9px 11px;
  border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: 14.5px;
}
.drop a:hover { background: var(--surface-2); color: var(--ink); }
.drop a .ic { width: 34px; height: 34px; border-radius: 10px; }
.drop a .ic svg { width: 17px; height: 17px; }
.drop a b { font-weight: 700; color: var(--ink); }
.drop .drop-all {
  grid-column: 1 / -1; margin-top: 6px; justify-content: center;
  border-top: 1px solid var(--border); border-radius: 0 0 12px 12px;
  padding-top: 14px; color: var(--accent-600); font-weight: 700;
}
.drop .drop-all:hover { background: transparent; }
.drop-all svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 1100px) {
  .drop, .nav-item .caret { display: none !important; }
  .nav-links { display: none; }
  .nav-cta .btn-sm:not(.nav-burger) { display: none; }
  .nav-burger { display: inline-flex !important; }
}

/* ---------- Mobiel: functie-links als groep ---------- */
.mobile-menu .mm-head {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink-3); font-weight: 700; padding: 12px 12px 2px;
}
.mobile-menu .mm-sub { padding-left: 24px; font-size: 14.5px; }

/* ---------- Kleine content-helpers ---------- */
.lead-narrow { max-width: 640px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.pill-note {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 14px;
  font-weight: 600; font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-xs);
}
.pill-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.prose { max-width: 720px; }
.prose p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

/* Hero-mockup: mini betaalformulier */
.mini-title { font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.mini-field { border: 1px solid var(--border); background: var(--surface-2); border-radius: 10px; padding: 11px 13px; color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px 4px; border-top: 1px dashed var(--border-2); margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.mini-row b { font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.mini-pay { width: 100%; justify-content: center; margin-top: 14px; }
.floaty .ic { color: #fff; }
.floaty .ic.soft-teal { background: var(--teal); }
.floaty .ic.soft-magenta { background: var(--magenta); }
