/* Pop-up d'accès : seule feuille de style servie avant validation */
:root { --chalk: #F7F5F0; --straw: #EBC35A; --straw-soft: #F4E8C8; --comb: #C8372D; --comb-2: #A92B22; --ink: #1A1D21; --muted: #5F646B; --rule: rgba(26, 29, 33, .16); --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
body { font: 400 1rem/1.6 var(--display); color: var(--ink); }
h1 { font-family: var(--display); font-stretch: 115%; font-weight: 900; letter-spacing: -.02em; line-height: 1.02; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 1rem var(--display); padding: 15px 26px; border-radius: 10px; border: 0; cursor: pointer; background: var(--comb); color: #fff; justify-self: start; }
.btn:hover { background: var(--comb-2); }
label { display: grid; gap: 5px; font-weight: 600; font-size: .85rem; }
input { font: 400 1rem var(--display); width: 100%; padding: 11px 14px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--chalk); }
input:focus { outline: none; border-color: var(--ink); background: #fff; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.err { color: var(--comb); font-weight: 600; }

.gate-body { min-height: 100vh; margin: 0; background: var(--ink) url('/img/demarrage.jpg') center / cover no-repeat; }
.gate-overlay { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: linear-gradient(160deg, rgba(26, 29, 33, .55), rgba(26, 29, 33, .94)); }
.gate-modal { width: min(940px, 100%); display: grid; grid-template-columns: 290px 1fr; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6); }
.gate-visual { background: var(--straw); color: var(--ink); padding: 36px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.gate-visual::after { content: ''; position: absolute; width: 260px; height: 300px; right: -90px; bottom: -100px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--ink); opacity: .08; }
.gate-brand { display: flex; align-items: center; gap: 14px; position: relative; }
.gate-brand img { width: 56px; height: 56px; background: var(--chalk); border-radius: 14px; padding: 5px; }
.gate-brand span { font: 900 1.6rem/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.gate-brand small { display: block; font: 500 .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; }
.gate-visual p { margin: 0; font: 400 .82rem/1.5 var(--mono); border-top: 2px solid var(--ink); padding-top: 16px; position: relative; }
.gate-content { padding: clamp(26px, 4vw, 42px); display: grid; gap: 16px; }
.gate-chip { display: inline-block; color: var(--straw); background: var(--ink); padding: 5px 12px; border-radius: 6px; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.gate-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 14px 0 10px; }
.gate-head h1 em { display: block; font-style: normal; color: var(--comb); }
.gate-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.gate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gate-fields .full { grid-column: 1 / -1; }
.gate-check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; font-weight: 400; background: var(--straw-soft); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.gate-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--comb); }
.gate-legal { font-size: .78rem; color: var(--muted); }
.gate-legal summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.gate-legal p { margin: 8px 0 0; }
.gate-copy { font-size: .74rem; color: var(--muted); margin: 0; border-top: 1px solid var(--rule); padding-top: 12px; }

@media (max-width: 760px) {
  .gate-modal { grid-template-columns: 1fr; }
  .gate-visual { padding: 18px 20px; flex-direction: row; align-items: center; }
  .gate-visual::after { display: none; }
  .gate-brand span { font-size: 1.2rem; }
  .gate-visual p { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 0 12px; font-size: .72rem; }
  .gate-fields { grid-template-columns: 1fr; }
}
