/* 7veu Visual Rètols — Fase 2 (formulari complet, seccions, accessibilitat) */

/* ── Contenidor ── */
.svr-wrap{max-width:780px;margin:0 auto;font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1a1a1a;line-height:1.5}

/* ── Intro ── */
.svr-intro{margin-bottom:1.5rem}
.svr-title{font-size:1.75rem;font-weight:700;margin:0 0 .4rem;color:#111}
.svr-sub{color:#555;margin:0;font-size:1rem}

/* ── Formulari ── */
.svr-form{background:#fff;border:1px solid #e2e2e2;border-radius:14px;padding:0;box-shadow:0 2px 8px rgba(0,0,0,.06);overflow:hidden}

/* ── Seccions ── */
.svr-section{padding:1.5rem 1.75rem;border-bottom:1px solid #f0f0f0}
.svr-section:last-of-type{border-bottom:none}
.svr-section-title{font-size:1rem;font-weight:700;color:#111;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #111;display:inline-block}
.svr-optional{font-weight:400;font-size:.8rem;color:#888}
.svr-consents{display:flex;flex-direction:column;gap:.6rem;padding-top:1rem}

/* ── Grid de camps ── */
.svr-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1.2rem}
.svr-grid .svr-full{grid-column:1/-1}

/* ── Labels i inputs ── */
.svr-grid label{display:flex;flex-direction:column;font-size:.82rem;font-weight:600;color:#444;gap:.3rem}
.svr-grid input[type=text],
.svr-grid input[type=email],
.svr-grid input[type=date],
.svr-grid select,
.svr-grid textarea,
.svr-grid input[type=file]{
  font-size:.93rem;font-weight:400;padding:.55rem .7rem;
  border:1px solid #d0d0d0;border-radius:7px;
  width:100%;box-sizing:border-box;background:#fafafa;
  transition:border-color .15s,box-shadow .15s;color:#111
}
.svr-grid textarea{resize:vertical;min-height:70px}
.svr-grid input:focus,
.svr-grid select:focus,
.svr-grid textarea:focus{outline:none;border-color:#111;box-shadow:0 0 0 3px rgba(0,0,0,.07);background:#fff}
.svr-hint{color:#888;font-size:.76rem;font-weight:400;margin-top:2px}

/* ── Checkbox / consentiments ── */
.svr-check{display:flex !important;flex-direction:row !important;align-items:flex-start;gap:.5rem;font-size:.85rem;font-weight:400;color:#444;cursor:pointer;line-height:1.4}
.svr-check input[type=checkbox]{margin-top:.15rem;flex-shrink:0;accent-color:#111}
.svr-check a{color:#111;font-weight:600}

/* ── Honeypot (camp invisible anti-spam) ── */
.svr-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}

/* ── Botó d'enviament ── */
.svr-section-btn{padding:1.5rem 1.75rem;background:#f9f9f9;border-top:1px solid #f0f0f0}
.svr-btn{display:inline-block;background:#111;color:#fff;border:0;border-radius:8px;padding:.9rem 2rem;font-size:1rem;font-weight:700;cursor:pointer;letter-spacing:.01em;transition:background .15s}
.svr-btn:hover{background:#000}
.svr-btn:active{transform:scale(.98)}
.svr-legal{font-size:.73rem;color:#999;margin:.75rem 0 0;line-height:1.4}

/* ── Missatges de retorn ── */
.svr-ok{background:#edfbf2;border:1px solid #aee9c1;color:#155c34;padding:1rem 1.2rem;border-radius:10px;margin-bottom:1.2rem;font-weight:600}
.svr-err{background:#fdf2f2;border:1px solid #f3bebe;color:#991b1b;padding:1rem 1.2rem;border-radius:10px;margin-bottom:1.2rem}

/* ── Cloudflare Turnstile ── */
.cf-turnstile{margin:1rem 0 .5rem}

/* ── Responsive ── */
@media(max-width:580px){
  .svr-grid{grid-template-columns:1fr}
  .svr-section{padding:1.2rem 1rem}
  .svr-section-btn{padding:1.2rem 1rem}
  .svr-title{font-size:1.4rem}
}
