/* ============ Gama Core — formulaire de contact / accès démo ============ */

.gc-form{display:flex; flex-direction:column; gap:20px; text-align:left;}
.gc-form-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px 20px;}
@media(max-width:560px){.gc-form-grid{grid-template-columns:1fr;}}

.gc-form-field{display:flex; flex-direction:column; gap:7px;}
.gc-form-field .gc-label{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-faint);
}
.gc-form-field .gc-label[data-req]::after{content:" *"; color:var(--accent-red);}

.gc-form input[type="text"],
.gc-form input[type="email"],
.gc-form select,
.gc-form textarea{
  width:100%;
  font-family:var(--font-body);
  font-size:15px;
  color:var(--text);
  background:var(--bg);
  border:1px solid var(--border-strong);
  border-radius:3px;
  padding:11px 13px;
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
.gc-form input:focus,
.gc-form select:focus,
.gc-form textarea:focus{
  outline:none;
  border-color:var(--accent-blue);
  box-shadow:0 0 0 3px var(--glow-blue);
}
.gc-form select{cursor:pointer;}
.gc-form textarea{resize:vertical; min-height:96px;}

.gc-interest{border:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px;}
.gc-interest-options{display:flex; flex-wrap:wrap; gap:10px;}
.gc-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--border-strong);
  border-radius:3px;
  padding:9px 14px;
  cursor:pointer;
  font-family:var(--font-body);
  font-size:14px;
  color:var(--text-muted);
  transition:all 0.2s ease;
  user-select:none;
}
.gc-chip:hover{border-color:var(--accent-blue); color:var(--text);}
.gc-chip input{
  width:15px; height:15px;
  accent-color:var(--accent-red);
  margin:0;
}
.gc-chip:has(input:checked){
  border-color:var(--accent-red);
  background:var(--accent-red-dim);
  color:var(--text);
}
.gc-chip:has(input:checked) span{color:var(--text); font-weight:600;}
.gc-chip:has(input:focus-visible){outline:2px solid var(--accent-blue); outline-offset:2px;}

.gc-captcha-row{display:flex; gap:10px; align-items:stretch;}
.gc-captcha-q{
  display:inline-flex;
  align-items:center;
  font-family:var(--font-mono);
  font-size:15px;
  border:1px dashed var(--border-strong);
  border-radius:3px;
  padding:0 14px;
  background:var(--bg-panel);
  color:var(--text);
  white-space:nowrap;
}
.gc-captcha-row input[type="text"]{flex:1; min-width:0;}
.gc-captcha-refresh{
  width:46px;
  border:1px solid var(--border-strong);
  background:var(--bg);
  color:var(--text-muted);
  border-radius:3px;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  transition:all 0.2s ease;
  flex-shrink:0;
}
.gc-captcha-refresh:hover{color:var(--accent-blue); border-color:var(--accent-blue);}

.gc-form-actions{display:flex; align-items:center; gap:16px; flex-wrap:wrap;}
.gc-submit:disabled{opacity:.6; cursor:default; transform:none;}
.gc-required-note{font-size:12px; color:var(--text-faint);}

.gc-form-status{margin-top:2px; font-size:14.5px; min-height:1em;}
.gc-form-status.ok{color:var(--accent-blue);}
.gc-form-status.err{color:var(--accent-red);}

.gc-error{display:none; font-size:12.5px; color:var(--accent-red);}
.gc-form-field.invalid .gc-error{display:block;}
.gc-form-field.invalid input,
.gc-form-field.invalid select,
.gc-form-field.invalid textarea{border-color:var(--accent-red);}

.gc-hp{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none;
}
.gc-hp label{font-size:0;}
.gc-hp input{width:1px; height:1px;}

/* ---------- modal (accès démo) ---------- */
.gc-modal{
  border:none;
  background:var(--bg);
  color:var(--text);
  padding:0;
  width:min(560px, calc(100vw - 32px));
  border:1px solid var(--border-strong);
  box-shadow:0 40px 90px rgba(18,23,43,0.35);
}
.gc-modal[open]{animation:gc-in 0.18s ease;}
.gc-modal::backdrop{background:rgba(13,17,32,0.55); backdrop-filter:blur(2px);}
@keyframes gc-in{
  from{opacity:0; transform:translateY(8px) scale(0.98);}
  to{opacity:1; transform:none;}
}
.gc-modal-inner{position:relative; padding:44px;}
@media(max-width:560px){.gc-modal-inner{padding:30px 22px;}}
.gc-modal-close{
  position:absolute;
  top:12px; right:12px;
  background:none; border:none;
  color:var(--text-muted);
  font-size:24px; line-height:1;
  cursor:pointer;
  padding:6px;
  border-radius:3px;
  transition:color 0.2s ease;
}
.gc-modal-close:hover{color:var(--accent-red);}
.gc-modal-head{margin-bottom:26px; padding-right:24px;}
.gc-modal-head .eyebrow{margin-bottom:12px;}
.gc-modal-head h3{font-family:var(--font-display); font-weight:600; font-size:26px; letter-spacing:-0.01em; margin-bottom:10px;}
.gc-modal-head p{color:var(--text-muted); font-size:15px;}

/* ---------- succès ---------- */
.gc-success{text-align:center; padding:6px 0 0;}
.gc-check{
  width:54px; height:54px;
  margin:0 auto;
  border:2px solid var(--accent-blue);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:24px; color:var(--accent-blue);
}
.gc-success h4{font-family:var(--font-display); font-weight:600; font-size:22px; margin:16px 0 8px;}
.gc-success p{color:var(--text-muted); font-size:15px; margin-bottom:26px;}
.gc-success-actions{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
