/* LES PAGES DE CONTENU : contact, sécurité, aide, et les trois pages
   légales (titre, sommaire collant, texte). */

/* ── contact ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vt-form .f { margin-bottom: 14px; }
.vt-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.vt-form input, .vt-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--surface); color: var(--ink); }
.vt-form input:focus, .vt-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.vt-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coord { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.coord dt { color: var(--muted); font-size: 13px; } .coord dd { margin: 0; font-weight: 600; }
.repli { margin-top: 18px; padding: 16px; border-radius: 8px; border: 1px solid var(--gold); background: var(--gold-soft); }
.repli b { display: block; margin-bottom: 10px; }
.repli-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.repli-l .btn { padding: 5px 12px; font-size: 13px; background: var(--surface); }

/* ── sécurité ── */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.roles .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.roles ol { margin: 0; padding-left: 20px; }
.roles li { margin-bottom: 8px; color: var(--muted); }
.roles li b { color: var(--ink); }
.roles li::marker { color: var(--gold); font-weight: 700; }

/* ── aide : export de la boîte mail, questions fréquentes ── */
table.ft { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; table-layout: fixed; }
.ft th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.ft td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.ft tr:last-child td { border-bottom: 0; }
.ft td:first-child { font-weight: 600; }
.ft td:nth-child(2) { color: var(--muted); }
.ft th:last-child, .ft td:last-child { padding-left: 40px; }
.ft td:last-child { font-family: ui-monospace, Consolas, monospace; }
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.faq summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-weight: 800; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; color: var(--muted); }

/* ── pages légales ── */
html { scroll-padding-top: 80px; }
.lg-tete { padding: 48px 0 32px; }
.lg-tete .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.lg-tete h1 { font-size: 38px; margin: 0 0 10px; }
.lg-tete p { color: var(--muted); }
.lg-corps { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 64px; align-items: start; }
.toc { position: sticky; top: 84px; font-size: 13.5px; }
.toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 4px 0 4px 14px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--accent); border-left-color: var(--gold); }
.texte { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 36px 44px; max-width: 780px; }
.texte section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.texte section:first-child { padding-top: 0; }
.texte section:last-child { border-bottom: 0; padding-bottom: 0; }
.texte h2 { font-size: 19px; margin: 0 0 10px; }
.texte h2 small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.texte h3 { font-size: 15px; margin: 16px 0 4px; }
.texte p { margin: 0 0 10px; color: #3b4048; }
.texte ul { margin: 0 0 10px; padding-left: 20px; color: #3b4048; }
.texte li { margin-bottom: 4px; }
.texte li::marker { color: var(--gold); }
.encart { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 14px 18px; }
dl.id { display: grid; grid-template-columns: 200px 1fr; gap: 8px 18px; margin: 0; }
dl.id dt { color: var(--muted); font-size: 13.5px; } dl.id dd { margin: 0; font-weight: 600; }
.fin { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: right; }

@media (max-width: 860px) {
  .contact, .vt-form .row, .roles, .lg-corps { grid-template-columns: 1fr; }
  .toc { display: none; }
  .texte { padding: 24px 20px; }
  .lg-tete h1 { font-size: 30px; }
  dl.id { grid-template-columns: 1fr; gap: 2px; } dl.id dd { margin-bottom: 8px; }
}
