/* 🔎 2026-11-04 — PAGES PAR TYPE DE STUDIO (« quand je tape réservation studio
   ou autre, ma page vitrine doit apparaître »). Mêmes couleurs que l'accueil
   (fond #050505, texte blanc, gris #888, boutons blancs en pilule), sans
   vidéo ni bibliothèque : des pages légères, lisibles sans JavaScript.
   Partagé par les 5 pages logiciel-*.html (test/vitrine_pages_metier_test.dart). */
:root {
  --bg-color: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #8f8f8f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* --- TOPBAR (celle de l'accueil) --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.logo-img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }
.topbar-actions { display: flex; align-items: center; gap: 1.1rem; }
.lien-connexion { font-size: 0.9rem; font-weight: 500; white-space: nowrap; }

.btn-solid, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-solid { background: var(--text-primary); color: var(--bg-color); padding: 0.8rem 1.8rem; font-weight: 600; }
.btn-solid:hover { transform: scale(1.02); }
.btn-ghost { border: 1px solid var(--border-color); color: var(--text-primary); padding: 0.8rem 1.6rem; font-weight: 500; }
.btn-ghost:hover { background: var(--text-primary); color: var(--bg-color); }
.topbar .btn-solid { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* --- GABARIT DES SECTIONS (celui de l'accueil) --- */
.bloc { width: 100%; max-width: 1400px; margin: 0 auto; padding: 5rem 4rem; }
.bloc + .bloc { padding-top: 1rem; }

.fil { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.6rem; }
.fil a:hover { color: var(--text-primary); }
.fil span[aria-hidden] { margin: 0 0.45rem; }

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 980px;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lead { max-width: 680px; margin-top: 1.2rem; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.cta-sous { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-secondary); }

/* --- CARTES --- */
.grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.9rem; }
.carte {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.6rem 1.3rem 1.4rem;
}
.carte h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.35; }
.carte p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.6; color: #C3C8CF; }

/* --- ÉTAPES --- */
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 1.9rem; }
.etapes li { counter-increment: etape; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.etapes li::before { content: counter(etape); display: block; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.4rem; }
.etapes strong { display: block; font-weight: 500; }
.etapes span { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* --- FORMULES --- */
.prix { margin-top: 1.2rem; font-size: 1.15rem; }
.prix strong { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }

/* --- QUESTIONS --- */
.questions { max-width: 820px; margin-top: 1.6rem; }
.questions details { border-top: 1px solid var(--border-color); padding: 1.1rem 0; }
.questions details:last-child { border-bottom: 1px solid var(--border-color); }
.questions summary { cursor: pointer; font-weight: 500; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; float: right; color: var(--text-secondary); }
.questions details[open] summary::after { content: "–"; }
.questions p { margin-top: 0.7rem; color: var(--text-secondary); line-height: 1.65; }

/* --- AUTRES STUDIOS --- */
.autres { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.autres a { border: 1px solid var(--border-color); border-radius: 50px; padding: 0.6rem 1.1rem; font-size: 0.9rem; color: #C3C8CF; }
.autres a:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.3); }

/* --- PIED (celui de l'accueil) --- */
.legal-footer { text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-secondary); margin-top: 3rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; margin-bottom: 1rem; }
.footer-links a:hover { color: var(--text-primary); }

@media (max-width: 960px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .topbar { padding: 1rem; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .bloc { padding: 3.2rem 1.4rem; }
  .bloc + .bloc { padding-top: 0.5rem; }
  .grille, .etapes { grid-template-columns: 1fr; }
  .cta-row a { width: 100%; }
}
@media (max-width: 480px) {
  .topbar { padding: 0.85rem 1rem; }
  .logo-img { height: 24px; }
  .topbar-actions { gap: 0.75rem; }
  .lien-connexion { font-size: 0.82rem; }
  .topbar .btn-solid { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}
