/* Pages de contenu (inscription…) : s'ajoute à style.css */

.page { height: auto; min-height: 100%; display: flex; flex-direction: column; background: #f7f4ef; color: #2b2118; }
.page .site-header { position: sticky; top: 0; }
.page .site-footer { position: static; margin-top: auto; height: auto; padding: 10px 16px; background: var(--white); }

.page-main { width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 20px 48px; }

.page-intro h1 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", var(--font);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: .01em;
}
.page-intro p { margin: 0 0 10px; line-height: 1.55; }
.page .hint { font-size: 13px; color: #6f6458; margin: 0 0 12px; }
.thanks { text-align: center; padding: 40px 0; }

.form-alert {
  margin: 18px 0;
  padding: 12px 16px;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}

.signup .block {
  margin: 18px 0 0;
  padding: 18px 20px 6px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--primary);
  min-width: 0;
}
.signup .block > legend {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}
.signup .label { color: var(--ink); }
.signup .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #2b2118;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
}
.signup input, .signup select { font-size: 14px; color: #2b2118; }
.signup textarea:focus { box-shadow: 0 0 0 3px var(--mint); }
.signup ::placeholder { color: #9a8f84; opacity: 1; }

.signup .has-error input,
.signup .has-error textarea,
.signup .has-error select { border-color: var(--red); }
.field-error { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--red); }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; cursor: pointer; font-size: 14px; line-height: 1.4; }
.check input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.check.has-error span { color: var(--red); }

.link { background: none; border: 0; padding: 0; font: inherit; color: var(--purple); text-decoration: underline; cursor: pointer; }

.hours-wrap { overflow-x: auto; margin-bottom: 14px; }
.hours-grid { border-collapse: collapse; width: 100%; min-width: 460px; }
.hours-grid th, .hours-grid td { padding: 3px 4px; text-align: left; }
.hours-grid thead th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #8a7d72; font-weight: 500; }
.hours-grid tbody th { font-weight: 500; font-size: 13px; width: 84px; }
.hours-grid input { padding: 5px 6px; font-size: 13px; border-width: 1.5px; }
.hours-grid .has-error input { border-color: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--purple); }
.submit { margin-top: 24px; text-align: right; }

/* Textes (à propos, mentions légales) */
.prose { line-height: 1.6; }
.prose .lead { font-size: 19px; font-weight: 500; color: var(--accent); }
.prose a:not(.btn) { color: var(--purple); }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px !important; }
.legal h2 { margin: 28px 0 8px; font-size: 18px; color: var(--accent); }
.legal ul { padding-left: 20px; margin: 0 0 10px; }
.legal li { margin-bottom: 6px; }
mark.todo { background: #fde7e8; color: var(--red); font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* Page d'un imprimeur */
.page-main:has(.fiche) { max-width: 1040px; }
.breadcrumb { font-size: 13px; color: #6f6458; margin-bottom: 14px; }
.breadcrumb a { color: var(--purple); }
.fiche-head h1 { margin: 0; font-family: "Bebas Neue", var(--font); font-weight: 400; font-size: 52px; line-height: 1; color: var(--accent); letter-spacing: .01em; }
.fiche-lieu { margin: 6px 0 12px; font-weight: 500; color: #6f6458; }
.fiche-statut { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.fiche-statut .state.is-open { color: var(--accent); }
.fiche-statut .state.is-closed { color: var(--red); }
.fiche-statut .state::before { content: "●"; margin-right: 6px; }
.fiche-statut .sep { margin: 0 8px; opacity: .5; }
.fiche-statut .rdv { color: var(--red); }
.fiche-tags { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fiche-tags li { background: var(--mint); color: var(--purple); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 500; }
.fiche-tags li.tag-express { background: var(--purple); color: var(--white); }
.fiche-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.fiche-block { background: var(--white); border: 2px solid var(--accent); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--primary); padding: 16px 20px; margin-bottom: 20px; }
.fiche-block h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.fiche-desc { margin: 0; line-height: 1.6; }
.fiche-block address { font-style: normal; line-height: 1.5; margin-bottom: 14px; }
.fiche-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.fiche-actions .btn { padding: 9px 20px; font-size: 14px; }
.fiche-contacts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.fiche-contacts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8a7d72; padding-top: 2px; }
.fiche-contacts dd { margin: 0; overflow-wrap: anywhere; }
.fiche-contacts a { color: var(--accent); font-weight: 700; text-decoration: none; }
.fiche-contacts a:hover { text-decoration: underline; }
.fiche-map { height: 280px; border: 2px solid var(--accent); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--primary); margin-bottom: 20px; overflow: hidden; z-index: 0; }
.fiche-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.fiche-hours th { text-align: left; font-weight: 500; padding: 3px 14px 3px 0; white-space: nowrap; }
.fiche-hours td { padding: 3px 0; }
.fiche-hours tr.today { font-weight: 700; color: var(--purple); }
.fiche-foot { margin-top: 8px; font-size: 13px; color: #6f6458; }
.fiche-foot a { color: var(--purple); }

@media (max-width: 700px) {
  .page .site-header { position: sticky; }
  .fiche-head h1 { font-size: 40px; }
  .fiche-cols { grid-template-columns: 1fr; gap: 0; }
  .fiche-side { order: -1; }
  .fiche-map { height: 220px; box-shadow: 4px 4px 0 var(--primary); }
  .fiche-block { box-shadow: 4px 4px 0 var(--primary); padding: 14px 16px; }
  .page-main { padding: 22px 16px 36px; }
  .page-intro h1 { font-size: 36px; }
  .signup .block { padding: 14px 14px 4px; box-shadow: 4px 4px 0 var(--primary); }
  .signup .row { grid-template-columns: 1fr; gap: 0; }
  .signup input, .signup select, .signup textarea { font-size: 16px; }
  .submit { text-align: center; }
  .submit .btn { width: 100%; }
}
