/*
  Seen By Robots — système visuel "guichet d'enregistrement".
  Le site est un comptoir de dépôt officiel, pas un dashboard SaaS : on vient y
  déposer son entreprise dans un registre lu par les machines. Les tampons,
  numéros de dossier et lignes de registre encodent une vraie information
  (statut de vérification, date, numéro) — ce ne sont jamais des décorations.
*/

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;700&family=Public+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --paper: #e3dac4;
  --paper-light: #f0ead9;
  --ink: #2a2618;
  --ink-soft: #6b6248;
  --seal: #9c3a28;
  --verified: #35603f;
  --line: #c2b594;
  --max-width: 680px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  padding: 0 20px 64px;
}

h1, h2, h3 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: 2.1rem; max-width: 16ch; }
h2 { font-size: 1.15rem; margin-top: 0; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--seal); }

.dossier {
  max-width: var(--max-width);
  margin: 48px auto 0;
}

.entete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.entete .marque {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.entete .marque:hover { color: var(--seal); }

.reference {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.promesse {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.sous-promesse {
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-top: -8px;
}

.tampon-garantie {
  font-size: 0.76rem;
  padding: 7px 14px;
  line-height: 1.3;
  max-width: 34ch;
}

.tampon-garantie.petit {
  margin: 24px 0 4px;
}

.lien-ancre-bloc { margin-top: -8px; }

.lien-ancre {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
}

.connecteur {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--line);
}

.guichet h3.souligne {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 22px 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

ul.liste-check li { padding-left: 22px; position: relative; }
ul.liste-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verified);
  font-weight: 600;
}

.recap-prix {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 18px 0 0;
}

.micro {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.faq { margin: 40px 0 32px; }
.faq h2 { margin-bottom: 4px; }

.faq details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.faq details[open] summary::after { content: "\2013"; }

.faq details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: 60ch;
}

.cta-bas { text-align: center; margin: 36px 0; }
.cta-bas .bouton { margin-top: 0; }

.guichet {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px 28px 24px;
  margin: 24px 0;
  position: relative;
}

.guichet::before {
  content: attr(data-numero);
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ink);
  color: var(--paper-light);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 3px 10px;
}

.guichet h2 { margin-top: 8px; }
.guichet .detail { color: var(--ink-soft); font-size: 0.94rem; }

label {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 14px 0 4px;
}

label.case {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.86rem;
  margin: 12px 0;
}

label.case input { margin-top: 3px; }

input[type="text"], input[type="url"], input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--ink-soft);
  background: #fff;
  color: var(--ink);
  border-radius: 1px;
}

input:focus, button:focus, a:focus {
  outline: 3px solid var(--seal);
  outline-offset: 1px;
}

button, .bouton {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  background: var(--ink);
  color: var(--paper-light);
  border: none;
  padding: 12px 22px;
  margin-top: 16px;
  cursor: pointer;
  border-radius: 1px;
  text-decoration: none;
}

button:hover, .bouton:hover { background: var(--seal); }

button.secondaire {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
button.secondaire:hover { background: var(--ink); color: var(--paper-light); }

.tampon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 3px solid currentColor;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
  margin: 12px 0 20px;
}

.tampon.admis { color: var(--verified); }
.tampon.refuse { color: var(--seal); }

.ligne-registre {
  border: none;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

table.registre {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  font-size: 0.92rem;
}

table.registre th, table.registre td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

table.registre th {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

ul.liste-sobre { list-style: none; margin: 0 0 1em; padding: 0; }
ul.liste-sobre li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
ul.liste-sobre li:last-child { border-bottom: none; }

.mentions {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.avis {
  border-left: 3px solid var(--seal);
  padding: 10px 16px;
  margin: 20px 0;
  background: rgba(156, 58, 40, 0.06);
}

.avis.ok { border-color: var(--verified); background: rgba(53, 96, 63, 0.06); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .guichet { padding: 22px 18px 18px; }
}
