/* =====================================================================
   ATELIER 360 — PAGES SECONDAIRES (À propos, Services, Témoignages, Contact)
   ===================================================================== */

/* ---- Hero de page secondaire ---- */
.page-hero {
  position: relative; z-index: 1;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  text-align: center;
}
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 1.1rem; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 60ch; margin: 0 auto; }

/* ---- Prose lisible ---- */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.2rem; color: var(--text-body); }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--indigo-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Grille de valeurs / principes ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.value { display: flex; flex-direction: column; gap: .7rem; }
.value .v-ico { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-glass-strong); border: 1px solid var(--border-strong); }
.value h3 { font-size: var(--fs-h3); }
.value p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---- « Comment ça marche » : étapes ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step .num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.4rem; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .8rem;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---- Services : liste détaillée des recettes ---- */
.service-list { display: flex; flex-direction: column; gap: 1.2rem; }
.service-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 1.3rem; align-items: center; }
.service-row .s-ico { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.6rem; background: var(--surface-glass-strong); border: 1px solid var(--border-strong); }
.service-row .s-body h3 { font-size: var(--fs-h3); margin-bottom: .3rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.service-row .s-body p { color: var(--text-muted); font-size: var(--fs-sm); }
.service-row.is-phare { border-color: var(--border-indigo); background: linear-gradient(135deg, rgba(79,70,229,.10), transparent); }
.tag-phare { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--gold); border: 1px solid rgba(202,138,4,.4); padding: .15rem .5rem; border-radius: var(--r-pill); }

/* ---- Témoignages : version honnête « sois l'un des premiers » ---- */
.early-hero { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem,1.5rem+3vw,4rem); }
.early-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.early-card { display: flex; flex-direction: column; gap: 1rem; }
.early-card .quote-mark { font-family: var(--font-display); font-size: 2.5rem; line-height: .6; color: var(--indigo-bright); opacity: .5; }
.early-card p { color: var(--text-muted); font-style: italic; }
.early-card .who { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.early-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-glass-strong); border: 1px dashed var(--border-strong); display: grid; place-items: center; color: var(--text-faint); }
.early-card .who .meta b { color: var(--text); font-style: normal; display: block; font-size: var(--fs-sm); }
.early-card .who .meta span { color: var(--text-faint); font-size: var(--fs-xs); }
.early-card--cta { background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.05)); border-color: var(--border-indigo); justify-content: center; align-items: flex-start; text-align: left; }
.early-card--cta h3 { font-size: var(--fs-h3); }
.early-card--cta p { font-style: normal; color: var(--text-body); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,1rem+3vw,4rem); align-items: start; }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.field .req { color: var(--indigo-bright); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); padding: .8rem 1rem; font-size: var(--fs-sm); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo-bright); box-shadow: 0 0 0 3px var(--indigo-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: var(--fs-xs); color: var(--text-faint); }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--r-md); font-size: var(--fs-sm); }
.form-msg.is-shown { display: block; }
.form-msg--ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #6ee7b7; }
.form-msg--err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }

.contact-aside .card + .card { margin-top: 1.2rem; }
.contact-method { display: flex; gap: 1rem; align-items: flex-start; }
.contact-method .cm-ico { flex: none; width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo-bright); border: 1px solid var(--border-indigo); }
.contact-method h3 { font-size: var(--fs-body); margin-bottom: .25rem; }
.contact-method p, .contact-method a { color: var(--text-muted); font-size: var(--fs-sm); }
.contact-method a:hover { color: var(--text); }

/* ---- CTA bandeau bas de page secondaire ---- */
.page-cta { text-align: center; }
.page-cta .card { padding: clamp(2rem,1.2rem+3vw,3.5rem); }
.page-cta h2 { margin-bottom: 1rem; }
.page-cta p { color: var(--text-muted); max-width: 50ch; margin: 0 auto 1.8rem; }

/* ---- Pages légales (Mentions légales + Confidentialité) ---- */
.legal-card { max-width: 70ch; }
.legal-card h2 { font-size: var(--fs-h3); margin: 2rem 0 .6rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--text-body); margin-bottom: .9rem; line-height: var(--lh-normal); }
.legal-card a { color: var(--indigo-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-list { list-style: none; padding-left: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.legal-list li { position: relative; padding-left: 1.4rem; color: var(--text-body); }
.legal-list li::before { content: "→"; position: absolute; left: 0; color: var(--indigo-bright); }
.legal-card .form-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
abbr { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }

/* ---- Page 404 (introuvable) ---- */
.notfound-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.nf-card { display: flex; flex-direction: column; gap: .6rem; text-align: left; }
.nf-card:hover { border-color: var(--border-indigo); }
.nf-card .nf-ico { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-glass-strong); border: 1px solid var(--border-strong); margin-bottom: .4rem; }
.nf-card h2 { font-size: var(--fs-h3); }
.nf-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.nf-card .nf-go { margin-top: auto; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--indigo-bright); letter-spacing: .02em; }
.notfound-hint { max-width: 65ch; margin: 2rem auto 0; text-align: center; color: var(--text-muted); font-size: var(--fs-sm); }
.notfound-hint a { color: var(--indigo-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .values-grid, .steps, .early-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .notfound-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .values-grid, .steps, .early-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row .s-cta { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .notfound-actions { grid-template-columns: 1fr; }
}
