/* =========================================================
   TATEA — S11 « Inscription » + pied de page (hors scène, flux normal)
   Piste B « le billet » retenue le 2026-10-15 (A et C : bak/tatea-inscription.*.pistes).
   ========================================================= */
.ins { position: relative; z-index: 30; background: var(--wall); color: var(--ink); }
.ins__band { padding: clamp(16px, 2.6vh, 26px) var(--edge); border-top: 1px solid rgb(22 33 61 / .12); }
.ins__band .why__out { margin: 0; max-width: none; font-size: var(--band); }
.ins__band .why__out b { font-weight: inherit; color: var(--gold); }
.ins__in { position: relative; display: grid; grid-template-columns: minmax(0, var(--col)) minmax(0, 1fr); grid-template-areas: "hd card" "direct card"; align-items: start; gap: 28px var(--gap); padding: clamp(28px, 6vh, 64px) var(--edge) clamp(56px, 10vh, 110px); }
.ins h2, .ins h3, .ins p, .ins ol, .ins ul, .ins dl, .ins dd { margin: 0; }
.ins ol, .ins ul { padding: 0; list-style: none; }
:where(.ins) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.ins svg { flex: none; width: 16px; height: 16px; fill: currentColor; }

.ins__hd { grid-area: hd; }
.ins .s02__label { color: var(--gold); }
.ins .s02__title { margin: 10px 0 0; font-size: var(--ttl); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); }
.ins .s02__title b { font-weight: inherit; color: var(--gold); }
.ins__intro { margin-top: 18px !important; max-width: 38ch; font-size: var(--intro); line-height: 1.5; color: var(--text); }

/* le contact direct */
.ins__direct { grid-area: direct; display: grid; justify-items: start; gap: 14px; }
.ins__dk { font-size: 14.5px; font-weight: 600; }
.ins__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--night); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: transform .3s var(--ease); }
.ins__wa svg { width: 20px; height: 20px; color: #3ccf75; }
.ins__wa:hover { transform: translateY(-2px); }
.ins__dl { display: grid; gap: 10px; font-size: 14.5px; }
.ins__dl li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: var(--text); }
.ins__dl svg { color: rgb(22 33 61 / .45); }
.ins__dl a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.ins__dl a:hover { background-size: 100% 2px; }

/* la carte et le formulaire */
.ins__card { grid-area: card; position: relative; border-radius: var(--r); background: #fff; }
.ins__form { padding: clamp(22px, 2.6vw, 40px); }
.ins__fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.ins__fs + .ins__fs { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgb(22 33 61 / .08); }
.ins__fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px; font-size: 17px; font-weight: 600; }
.ins__fs legend + * { clear: both; }
.ins__fs legend i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 26%, #fff); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink); }
.ins__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ins__f { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text); }
.ins__f--full { margin-top: 18px; }
.ins__f em { font-style: normal; font-weight: 400; color: rgb(61 72 98 / .7); }
.ins__f input, .ins__f textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: 10px; background: #f1f2f4; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); outline: 0; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s, background-color .25s; }
.ins__f textarea { resize: vertical; min-height: 84px; }
.ins__f input:focus, .ins__f textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.ins__f input:user-invalid { box-shadow: inset 0 0 0 2px #d9534f; }

/* les choix en pastilles (même dessin que les onglets des sections 08 et 09) */
.ins__q + .ins__q { margin-top: 16px; }
.ins__ql { margin-bottom: 8px !important; font-size: 13px; font-weight: 500; color: var(--text); }
.ins__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ins__chip { position: relative; }
.ins__chip input { position: absolute; opacity: 0; pointer-events: none; }
.ins__chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: rgb(22 33 61 / .06); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s; }
.ins__chip:hover span { background: rgb(22 33 61 / .1); }
.ins__chip input:checked + span { background: var(--night); color: #fff; }
.ins__chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 55%, transparent); }
.ins__hint { max-height: 0; overflow: hidden; margin-top: 0 !important; font-size: 13px; color: var(--gold-strong); font-weight: 500; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin-top .3s; }
.ins__hint.on { max-height: 40px; margin-top: 8px !important; opacity: 1; }

.ins__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.ins__send .btn { border: 0; cursor: pointer; font-family: inherit; }
.ins__legal { font-size: 12.5px; color: var(--text); }
.ins__legal a { color: inherit; }

/* la confirmation */
.ins__ok { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 56px); outline: 0; animation: ins-in .5s var(--ease) both; }
.ins__ok[hidden] { display: none; }
@keyframes ins-in { from { opacity: 0; transform: translateY(14px); } }
.ins__okk { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-strong); }
.ins__ok h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.ins__ok p:not(.ins__okk) { color: var(--text); }

/* ---------- B : le billet — talon bleu nuit qui récapitule, encoches rondes ---------- */
[data-in="b"] .ins__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hd" "card" "direct"; }
[data-in="b"] .ins__hd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38ch); align-items: end; column-gap: var(--gap); }
[data-in="b"] .ins__hd .s02__label { grid-column: 1 / -1; }
[data-in="b"] .ins__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 30%); overflow: hidden; }
[data-in="b"] .ins__ok { grid-column: 1 / -1; }
.ins__stub { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 40px); background: var(--night); color: #fff; }
.ins__stub::before, .ins__stub::after { content: ""; position: absolute; left: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--wall); }
.ins__stub::before { top: -14px; } .ins__stub::after { bottom: -14px; }
.ins__stub[hidden] { display: none; }
.ins__sk { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ins__stub dl { display: grid; gap: 14px; }
.ins__stub dl div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.ins__stub dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.ins__stub dd { font-size: 19px; font-weight: 500; animation: ins-in .4s var(--ease) both; }
.ins__sn { margin-top: auto !important; font-size: 13.5px; line-height: 1.5; color: rgb(255 255 255 / .7); }
[data-in="b"] .ins__direct { grid-template-columns: auto auto 1fr; align-items: center; gap: 12px 24px; }
[data-in="b"] .ins__dl { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* ---------- le pied de page ---------- */
.tfoot { position: relative; z-index: 30; padding: clamp(44px, 8vh, 80px) var(--edge) 24px; background: var(--night); color: rgb(255 255 255 / .72); font-size: 14.5px; }
.tfoot a { color: inherit; text-decoration: none; transition: color .25s; }
.tfoot a:hover { color: var(--gold); }
.tfoot p { margin: 0; }
.tfoot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px var(--gap); padding-bottom: 40px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.tfoot__brand img { width: 180px; height: auto; }
.tfoot__brand p { margin-top: 16px; max-width: 34ch; line-height: 1.55; }
.tfoot__col { display: grid; align-content: start; justify-items: start; gap: 10px; }
.tfoot__col > p { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tfoot__soc { display: flex; gap: 8px; margin-top: 8px; }
.tfoot__soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .25s, color .25s; }
.tfoot__soc a:hover { background: var(--gold); color: var(--ink); }
.tfoot__soc svg { width: 17px; height: 17px; fill: currentColor; }
.tfoot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: 13px; color: rgb(255 255 255 / .5); }
.tfoot__bot p:last-child { display: flex; gap: 20px; }

/* ---------- tablette en paysage ---------- */
@media (min-width: 900px) and (max-width: 1180px) {
  .ins__grid { grid-template-columns: minmax(0, 1fr); }
  [data-in="b"] .ins__card { grid-template-columns: minmax(0, 1fr) 240px; }
  .tfoot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tfoot__brand { grid-column: 1 / -1; }
}

/* ---------- téléphone et tablette en portrait ---------- */
@media (max-width: 899px) {
  .ins__in, [data-in="b"] .ins__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hd" "card" "direct"; gap: 24px; padding-top: 28px; }
  [data-in="b"] .ins__hd { display: block; }
  .ins__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ins__form { padding: 20px 16px; }
  .ins__chip span { padding: 8px 12px; font-size: 13.5px; }
  [data-in="b"] .ins__card { grid-template-columns: minmax(0, 1fr); }
  .ins__stub::before { left: auto; right: auto; top: -14px; left: -14px; }
  .ins__stub::after { bottom: auto; top: -14px; left: auto; right: -14px; }
  .ins__stub dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .ins__stub dd { font-size: 16px; }
  [data-in="b"] .ins__direct { grid-template-columns: minmax(0, 1fr); }
  .tfoot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .tfoot__brand { grid-column: 1 / -1; }
  .tfoot__col:last-child { grid-column: 1 / -1; }
}

/* =========================================================
   2026-10-16 : S11 « Inscription » refaite (planche captures/tatea/planche-s11-landing.png)
   ========================================================= */

/* S11 : piste 12 « une question à la fois » retenue le 2026-10-16 (pistes 1, 7 et sélecteur : bak/tatea-inscription.css.pre-choix-12) */
.inx { padding: clamp(24px, 5vh, 56px) var(--edge) clamp(56px, 10vh, 110px); }
.inx form { margin: 0; }
.inx .s02__label { color: var(--gold); }
.inx .s02__title { margin: 10px 0 0; font-size: var(--ttl); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.inx .s02__title b { font-weight: inherit; color: var(--gold); }
.inx__intro { margin-top: 18px !important; max-width: 38ch; font-size: var(--intro); line-height: 1.5; color: var(--text); }
.inx__steps { display: grid; gap: 14px; margin-top: 28px !important; }
.inx__steps li { display: flex; align-items: center; gap: 14px; }
.inx__steps i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink); }
.inx__steps span { display: grid; gap: 2px; }
.inx__steps b { font-size: 15.5px; font-weight: 600; }
.inx__steps small { font-size: 13.5px; color: var(--text); }
.inx__ct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.inx__rdv { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.inx__rdv:hover { background-size: 100% 2px; }
.inx__rdv svg { width: 18px; height: 18px; fill: currentColor; opacity: .55; }

.inx__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inx__f { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text); }
.inx__f--full, .inx__q, .inx__send { grid-column: 1 / -1; }
.inx__f input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: 10px; background: #f1f2f4; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); outline: 0; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s, background-color .25s; }
.inx__f input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.inx__f input:user-invalid { box-shadow: inset 0 0 0 2px #d9534f; }
.inx__q > p { margin-bottom: 8px !important; font-size: 13px; font-weight: 500; color: var(--text); }
.inx__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.inx__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.inx .btn { border: 0; cursor: pointer; font-family: inherit; }
.inx__ok { display: grid; justify-items: start; gap: 14px; outline: 0; animation: ins-in .5s var(--ease) both; }
.inx__ok[hidden], .inx__form[hidden] { display: none; }
.inx__ok h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.inx__steps--ok { margin-top: 10px !important; }

/* ---------- 12 : une question à la fois ---------- */
.p12 { display: grid; grid-template-columns: minmax(0, var(--col)) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.p12__card { width: min(100%, 640px); justify-self: end; padding: clamp(24px, 2.8vw, 44px); border-radius: calc(var(--r) * 1.4); background: #fff; }
.p12 .inx__form { display: block; }
.p12__top { display: grid; gap: 10px; margin-bottom: 26px; }
.p12__top p { font-size: 13px; font-weight: 500; color: var(--text); }
.p12__top b { color: var(--ink); }
.p12__bar { display: block; height: 4px; border-radius: 4px; background: rgb(22 33 61 / .08); overflow: hidden; }
.p12__bar i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.33); transition: transform .5s var(--ease); }
.p12__stage { display: grid; }
.p12__st { grid-area: 1 / 1; min-width: 0; margin: 0; padding: 0; border: 0; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
.p12__st.past { transform: translateX(-24px); }
.p12__st.on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s .1s, transform .5s .1s var(--ease), visibility 0s; }
.p12__st legend { padding: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.p12__st > p { margin: 8px 0 22px !important; font-size: 14.5px; color: var(--text); }
.p12__fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.p12 .ins__chip span { padding: 11px 16px; font-size: 14.5px; }
.p12__nav { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 30px; }
.p12__nav [hidden] { display: none; }
.p12__back, .p12__next { min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background-color .25s, transform .3s var(--ease); }
.p12__back { background: rgb(22 33 61 / .07); }
.p12__back:hover { background: rgb(22 33 61 / .12); }
.p12__next { background: var(--gold); color: var(--ink); }
.p12__next:hover { transform: translateY(-2px); }
.p12 .ins__legal { margin-top: 18px !important; text-align: right; }

/* tablette en paysage */
@media (min-width: 900px) and (max-width: 1180px) {
  .inx__form { grid-template-columns: minmax(0, 1fr); }
  .p12__fs { grid-template-columns: minmax(0, 1fr); }
}
/* téléphone et tablette en portrait */
@media (max-width: 899px) {
  .p12 { grid-template-columns: minmax(0, 1fr); }
  .inx__form, .p12__fs { grid-template-columns: minmax(0, 1fr); }
  .p12__card { justify-self: stretch; }
  .p12 .ins__legal { text-align: left; }
}
/* 12 : bloc resserré et centré (texte et carte rapprochés) */
.p12 { grid-template-columns: minmax(0, 500px) minmax(0, 640px); justify-content: center; gap: clamp(40px, 6vw, 110px); }
.p12__card { justify-self: stretch; width: auto; }
@media (max-width: 1180px) { .p12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); justify-content: stretch; gap: 40px; } }
@media (max-width: 899px) { .p12 { grid-template-columns: minmax(0, 1fr); } }
/* téléphone : la carte prend la hauteur de l'étape affichée (pas de grand vide à l'étape 1) */
@media (max-width: 899px) { .p12__stage { position: relative; } .p12__st:not(.on) { position: absolute; inset: 0 0 auto; } .p12__nav { margin-top: 24px; } }
