/* Page d'acces a la data room (prototype docs/mynomadea_v5/nomadea-site/access.html, styles de la page). */
/* Access gate: calm, private, one decision. Photo behind, one card, three reassurances. */
.gate { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gr) 64px var(--gl); isolation: isolate; }
.gate__bg { position: absolute; inset: 10px; z-index: -2; border-radius: var(--r-lg); overflow: hidden; background: #083E4B; }
.gate__bg img { width: 100%; height: 100%; object-fit: cover; }
.gate__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,41,44,.86) 0%, rgba(0,41,44,.55) 55%, rgba(0,41,44,.7) 100%); }
.gate__grid { width: 100%; max-width: 1100px; margin: 0 auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .gate__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; } }
.gate__intro { color: #EEE8E1; display: grid; gap: 22px; justify-items: start; }
.gate__intro .eyebrow { color: #EEE8E1; }
.gate__intro h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; color: #EEE8E1; }
.gate__intro h1 em { font-style: italic; font-weight: 400; color: #EEE8E1; }
.gate__facts { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.gate__facts li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(238,232,225,.94); }
.gate__facts svg { width: 20px; height: 20px; flex: none; color: #CFB99C; }
.card-gate { background: var(--bg); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); border: 1px solid var(--nav-line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--bg-alt); }
.seg button { min-height: 44px; border: 0; border-radius: var(--pill); background: none; font: 500 15px/1 var(--sans); color: var(--muted); cursor: pointer; transition: background-color .3s var(--ease), color .3s; }
.seg button[aria-selected="true"] { background: var(--btn); color: var(--btn-text); font-weight: 600; }
.card-gate h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; }
.card-gate .sub { color: var(--text-soft); font-size: 16px; margin-top: -8px; }
.gform { display: grid; gap: 14px; }
.gfield { display: grid; gap: 6px; }
.gfield label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gfield input[type=text], .gfield input[type=email] { min-height: 52px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); font-size: 16px; font-weight: 400; color: var(--text); transition: border-color .25s; }
.gfield input:focus { outline: none; border-color: var(--heading); }
.gfield input[aria-invalid="true"] { border-color: #A4452F; }
.gcheck { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-soft); cursor: pointer; }
.gcheck input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--heading); }
.gcheck a { color: var(--heading); text-underline-offset: 3px; }
.gerr { color: #A4452F; font-size: 14px; min-height: 1.4em; margin-top: -4px; }
.gform .btn { width: 100%; }
.chosen { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.gnote { font-size: 13px; color: var(--muted); text-align: center; }
.back { display: inline-flex; align-items: center; gap: 8px; color: rgba(238,232,225,.9); text-decoration: none; font-size: 14px; border-bottom: 1px solid #CFB99C; min-height: 44px; }
.back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.gfield input[type=password], .gfield textarea { width: 100%; min-height: 52px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); font: 400 16px/1.4 var(--sans); color: var(--text); transition: border-color .25s; }
.gfield textarea { min-height: 92px; padding: 14px 18px; border-radius: 8px; resize: vertical; }
.gfield input[readonly] { background: var(--bg-alt); color: var(--text-soft); }
.gfield .opt { font-weight: 400; letter-spacing: 0; text-transform: none; }
.gpw { position: relative; }
.gpw input { padding-right: 88px; }
.gpw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--pill); background: none; color: var(--heading); font: 500 14px/1 var(--sans); cursor: pointer; }
.gtwo { display: grid; gap: 14px; }
@media (min-width: 520px) { .gtwo { grid-template-columns: 1fr 1fr; } }
.grow { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.grow a, .glink { color: var(--heading); font-size: 15px; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); }
.gok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 6px; background: var(--bg-alt); color: var(--text); font-size: 15px; }
.gok svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--heading); }
.gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.gsteps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; color: var(--text); }
.gsteps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-alt); color: var(--heading); font: 600 14px/1 var(--sans); }
.gsteps li.is-now::before { background: var(--btn); color: var(--btn-text); }
.gdoc { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); font-size: 15px; color: var(--text); }
.gdoc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.card-gate [hidden] { display: none !important; }
.gfield, .gtwo > * { min-width: 0; }
.gfield input, .gfield textarea { min-width: 0; max-width: 100%; }
.card-gate h2 { overflow-wrap: anywhere; hyphens: auto; }
#formNda h2 { font-size: clamp(26px, 3vw, 34px); }
.grow a, .glink { display: inline-flex; align-items: center; min-height: 44px; }
.footer { position: relative; }

/* --- Nomadea prod : ajouts ------------------------------------------------------------- */
.gform .alert { margin: 0; font-size: 15px; }
.gform .alert--ok { color: var(--text); }
.gerr:empty { display: none; }
.gform .gstep { color: var(--text-soft); font-size: 15px; }
.gform .gstep b { color: var(--heading); font-weight: 600; }
.gform .linkbtn { background: none; border: 0; padding: 0; color: var(--heading); font: 500 15px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.gform .grow form { display: inline; }
.gform .gpw input { padding-right: 88px; }
.nda-dlg { border: 0; padding: 0; border-radius: var(--r-lg); width: min(640px, calc(100vw - 32px)); background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); }
.nda-dlg::backdrop { background: rgba(0, 27, 32, .6); }
.nda-dlg__in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; max-height: 80vh; overflow: auto; }
.nda-dlg h2 { font-size: clamp(26px, 3vw, 34px); }
.nda-dlg p { margin: 0; color: var(--text-soft); }
.nda-dlg .btn { justify-self: end; }
.gate__links { display: grid; gap: 8px; font-size: 15px; color: var(--text-soft); }
.gate__links a { color: var(--heading); text-underline-offset: 3px; }
