/*
 * ════════════════════════════════════════════════════════════
 *  Page guide expositions — ART AU FÉMININ
 *  Chargé par : pages/guide_expositions.html.erb
 * ════════════════════════════════════════════════════════════
 */

/* Full-bleed page: the sections carry their own inline padding, so <main> drops
   the artist layout's max-width and side padding (otherwise both add up) */
main:has(> .guide-hero) {
  max-width: none;
  padding-inline: 0;
  padding-bottom: 0;
}

/* Sections are separated by their padding, not by rules (design.md, "No-Line Rule") */

/* ── Hero ────────────────────────────────────────────── */

.guide-hero {
  background: var(--background);
  padding: 9rem 5rem 7rem;
}

.guide-hero-inner { max-width: 680px; }

.guide-hero-kicker {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 2rem;
}

.guide-hero-h1 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--foreground);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 1.8rem;
  text-wrap: balance;
}

.guide-hero-h1 em { font-style: italic; color: var(--accent); }

.guide-hero-sub {
  font-size: var(--text-base);
  color: var(--muted-foreground);
  line-height: 1.8;
  max-width: 520px;
  text-wrap: pretty;
}

/* ── Social / Retrouvez-nous ─────────────────────────── */

.guide-social {
  background: var(--background);
  padding: 0 5rem 2rem;
}

.guide-social-inner { max-width: 680px; }

.guide-social-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.guide-social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Newsletter inline ───────────────────────────────── */

.guide-newsletter { margin-top: 3rem; }
.guide-newsletter-label { margin-bottom: 0.9rem; }

/* ── Stats ───────────────────────────────────────────── */

.guide-stats {
  background: var(--background);
  padding: 0 5rem 5rem;
}

.guide-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 820px;
}


.guide-stat-num {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}

.guide-stat-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ── Processus ───────────────────────────────────────── */

.guide-process {
  background: var(--background);
  padding: 5rem 5rem 7rem;
}

.guide-section-kicker {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.guide-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--foreground);
  margin: 0 0 3.5rem;
  line-height: 1.15;
  text-wrap: balance;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.guide-step { position: relative; }

/* Side by side: a thin rule between columns (stats, steps); stacked, space alone */
@media (min-width: 901px) {
  .guide-stat,
  .guide-step { padding-inline: 3rem; border-inline-start: 0.5px solid var(--border); }
  .guide-stat:first-child,
  .guide-step:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .guide-stat:last-child,
  .guide-step:last-child { padding-inline-end: 0; }
}

.guide-step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}

.guide-step-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--foreground);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.guide-step-desc {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.8;
  text-wrap: pretty;
}

/* ── Légitimité ──────────────────────────────────────── */

.guide-legit {
  background: var(--muted);
  padding: 7rem 5rem;
}

.guide-legit-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  max-width: 960px;
  align-items: start;
}

.guide-legit-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--foreground);
  margin: 0 0 1.5rem;
  line-height: 1.15;
  text-wrap: balance;
}

.guide-legit-sub {
  font-size: var(--text-base);
  color: var(--muted-foreground);
  line-height: 1.8;
  text-wrap: pretty;
}

.guide-legit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-legit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.guide-legit-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.guide-legit-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.guide-legit-item-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  letter-spacing: var(--tracking-normal);
}

.guide-legit-item-desc {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ── FAQ ─────────────────────────────────────────────── */

.guide-faq {
  background: var(--background);
  padding: 7rem 5rem 5rem;
}

.guide-faq-inner {
  max-width: 720px;
}

.guide-faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;   /* design.md spacing token 8 between list items */
}

.guide-faq-q {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--foreground);
  margin: 0 0 0.8rem;
  line-height: 1.3;
  text-wrap: balance;
}

.guide-faq-a {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.8;
  margin: 0;
  text-wrap: pretty;
}

/* ── CTA final ───────────────────────────────────────── */

.guide-cta {
  background: var(--background);
  padding: 5rem 5rem 7rem;
}

.guide-cta-inner {
  max-width: 560px;
}

.guide-cta-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--foreground);
  margin: 0 0 1.5rem;
  line-height: 1.1;
  text-wrap: balance;
}

.guide-cta-title em { font-style: italic; color: var(--accent); }

.guide-cta-sub {
  font-size: var(--text-base);
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .guide-hero    { padding: 6rem 2rem 5rem; }
  .guide-social  { padding: 0 2rem 2rem; }
  .guide-stats   { padding: 0 2rem 4rem; }
  .guide-stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .guide-process { padding: 4rem 2rem 5rem; }
  .guide-steps   { grid-template-columns: 1fr; gap: 2.75rem; }
  .guide-legit   { padding: 5rem 2rem; }
  .guide-legit-inner { grid-template-columns: 1fr; gap: 3rem; }
  .guide-faq     { padding: 5rem 2rem 4rem; }
  .guide-cta     { padding: 4rem 2rem 5rem; }
}
@media (max-width: 480px) {
  .guide-hero    { padding: 5rem 1.5rem 4rem; }
  .guide-social  { padding: 0 1.5rem 1.5rem; }
  .guide-social-btns { flex-direction: column; }
  .guide-stats   { padding: 0 1.5rem 3.5rem; }
  .guide-process { padding: 3.5rem 1.5rem; }
  .guide-legit   { padding: 3.5rem 1.5rem; }
  .guide-faq     { padding: 3.5rem 1.5rem; }
  .guide-cta     { padding: 3.5rem 1.5rem; }
}
