/* ══════════════════════════════════════════════════
   GUIDES INTERACTIFS — Compatible blue-theme
   Page d'accueil de la rubrique
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   PAGE HERO (standard du site, voir fiches-pedagogiques.html)
══════════════════════════════════════════════════ */
.page-hero-line {
  position: absolute; left: 200px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
  transition: background .45s;
}
.page-hero {
  padding: 160px 60px 80px;
  min-height: 580px;
  position: relative;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: border-color .45s;
}
.page-hero-halos {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.page-hero-halo {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: .15;
}
.page-hero-halo--1 { width: 500px; height: 500px; top: -80px; right: -60px; background: var(--azure); }
.page-hero-halo--2 { width: 400px; height: 400px; bottom: -60px; left: 15%; background: var(--gold); opacity: .08; }

.hero-bg-letter {
  position: absolute;
  right: 10%; top: 80px;
  display: flex; align-items: flex-start;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(280px, 40vw, 580px); font-weight: 300;
  line-height: 1; pointer-events: none;
  user-select: none; z-index: 0;
}
[data-theme="dark"]  .hero-bg-letter { color: rgba(91,163,217,.05); }
[data-theme="light"] .hero-bg-letter { color: rgba(26,98,192,.04); }
.hero-bg-letter-p {
  display: inline-block;
  transform: scaleX(-1);
  margin-right: -0.15em;
}

.page-hero-sidebar {
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
  transition: border-color .45s;
}
.page-hero-sidebar-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink-muted); writing-mode: vertical-rl;
  transform: rotate(180deg); transition: color .45s;
}

.page-hero-content {
  padding-left: 60px;
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.page-hero-eyebrow-line {
  width: 32px; height: 1px; background: var(--gold);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300; line-height: 1.15;
  color: var(--ink); letter-spacing: -.3px;
  margin-bottom: 24px;
  max-width: 680px;
  transition: color .45s;
}
.page-hero-title em {
  font-style: italic; color: var(--gold-lt); transition: color .3s;
}

.page-hero-rule {
  width: 60px; height: 1px; background: var(--border);
  margin-bottom: 24px; transition: background .45s;
}

.page-hero-subtitle {
  font-size: 16px; font-weight: 300; color: var(--ink-soft);
  line-height: 1.85; max-width: 600px;
  margin-bottom: 20px; transition: color .45s;
}

.page-hero-accroche {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; font-style: italic;
  color: var(--ink-soft); line-height: 1.7;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 28px;
  max-width: 620px;
  transition: color .45s, border-color .45s;
}

.page-hero-parcours {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.page-hero-parcours-step {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  flex: 1; min-width: 150px;
  transition: background .45s, border-color .45s;
}
.page-hero-parcours-step i {
  color: var(--gold); font-size: 14px; flex-shrink: 0;
}
.page-hero-parcours-step strong {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--ink); letter-spacing: .5px;
  transition: color .45s;
}
.page-hero-parcours-step span {
  font-size: 11px; color: var(--ink-muted); line-height: 1.4;
  transition: color .45s;
}

.page-hero-ctas {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.page-hero-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 2px;
  background: var(--gold); color: var(--bg);
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  transition: background .25s, color .25s;
  border: none; cursor: pointer;
}
.page-hero-btn-primary:hover { background: var(--gold-lt); }
.page-hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 2px;
  border: 1px solid var(--border); color: var(--ink-soft);
  font-size: 12px; font-weight: 400; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  transition: border-color .25s, color .25s;
  background: none; cursor: pointer;
}
.page-hero-btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.page-hero-trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 16px; padding-top: 20px;
  border-top: 1px solid var(--border);
  transition: border-color .45s;
}
.page-hero-trust-item {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-muted); display: flex; align-items: center; gap: 5px;
  transition: color .45s;
}
.page-hero-trust-item strong {
  color: var(--gold); font-weight: 500;
}
.page-hero-trust-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-ghost);
}

@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; padding: 120px 30px 60px; }
  .page-hero-sidebar { display: none; }
  .page-hero-content { padding-left: 0; }
}
@media (max-width: 768px) {
  .page-hero-line { display: none; }
  .page-hero-parcours { flex-direction: column; }
  .page-hero-parcours-step { min-width: auto; }
  .hero-bg-letter { font-size: 180px; right: 5%; }
}

/* ══════════════════════════════════════════════════
   GUIDES — sections sous le hero
══════════════════════════════════════════════════ */
.pr-guides {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  color: var(--ink);
  transition: border-color .45s;
}
.pr-guides *, .pr-guides *::before, .pr-guides *::after { box-sizing: border-box; }

.pr-guides__inner {
  padding: 80px 60px 100px;
}

@media (max-width: 900px) {
  .pr-guides { grid-template-columns: 1fr; }
  .pr-guides .sidebar-col { display: none; }
  .pr-guides__inner { padding: 60px 30px 80px; }
}

/* === Distinction Guides vs Fiches === */
.pr-guides__distinction {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-bottom: 64px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  transition: background .45s, border-color .45s;
}
.pr-guides__dist-item h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-size: 1.2rem;
  color: var(--ink); margin: 0 0 6px;
  transition: color .45s;
}
.pr-guides__dist-item h4 em {
  font-style: italic; color: var(--gold);
  font-size: .8rem; font-weight: 400;
  letter-spacing: .05em; text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.pr-guides__dist-item p {
  font-size: .92rem; color: var(--ink-soft);
  line-height: 1.65; margin: 0;
  transition: color .45s;
}
.pr-guides__dist-item a {
  color: var(--gold); text-decoration: none;
}
.pr-guides__dist-item a:hover { text-decoration: underline; }

/* === Section labels === */
.pr-guides__section-label,
.pr-guides__upcoming-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  transition: border-color .45s;
}
.pr-guides__section-label { color: var(--gold); }
.pr-guides__upcoming-label { color: var(--ink-muted); margin-top: 56px; }

/* === Carte guide publié === */
.pr-guides__card {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease,
              background .45s, border-color .45s;
}
.pr-guides__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,.4);
}
.pr-guides__card-content { padding: 36px 36px 32px; }
.pr-guides__card-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem; letter-spacing: .12em;
  color: var(--gold); text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 3px 10px; border-radius: 2px;
  margin-bottom: 16px; font-weight: 500;
}
.pr-guides__card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: 1.7rem;
  color: var(--ink); margin: 0 0 8px;
  line-height: 1.25; transition: color .45s;
}
.pr-guides__card h3 em {
  font-style: italic; color: var(--gold);
  display: block; font-size: 1.3rem;
  margin-top: 4px;
}
.pr-guides__card-desc {
  font-size: .98rem; color: var(--ink-soft);
  line-height: 1.65; margin: 16px 0 24px;
  transition: color .45s;
}
.pr-guides__card-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 18px;
  border-top: 1px dotted var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem; color: var(--ink-soft);
  transition: color .45s, border-color .45s;
}
.pr-guides__card-meta span {
  display: flex; align-items: center; gap: 6px;
}
.pr-guides__card-meta strong {
  color: var(--ink); font-weight: 500;
  transition: color .45s;
}
.pr-guides__card-link {
  margin-top: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; color: var(--gold);
  font-size: 1rem; display: inline-flex;
  align-items: center; gap: 8px;
}
.pr-guides__card-link::after {
  content: "→"; transition: transform .2s ease;
}
.pr-guides__card:hover .pr-guides__card-link::after {
  transform: translateX(4px);
}

/* === Visuel illustratif === */
.pr-guides__card-visual {
  background: var(--bg-2);
  padding: 36px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
  transition: background .45s;
}
.pr-guides__card-visual::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.pr-guides__visual-row {
  display: grid; grid-template-columns: 90px 1fr auto;
  gap: 10px; padding: 10px 14px;
  background: var(--surface);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem; align-items: center;
  transition: background .45s;
}
.pr-guides__visual-row strong {
  color: var(--ink); font-weight: 600;
  transition: color .45s;
}
.pr-guides__visual-row em {
  color: var(--ink-soft); font-style: normal;
  font-size: .65rem; transition: color .45s;
}
.pr-guides__visual-row span:last-child {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold); text-align: right;
  font-style: italic; font-size: .85rem;
}

/* === Cartes à venir === */
.pr-guides__upcoming-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pr-guides__upcoming-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 8px;
  opacity: .85;
  transition: opacity .3s ease, background .45s, border-color .45s;
}
.pr-guides__upcoming-card:hover { opacity: 1; }
.pr-guides__upcoming-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem; letter-spacing: .12em;
  color: var(--ink-muted); text-transform: uppercase;
  padding: 3px 8px; background: var(--bg-2);
  border-radius: 2px; margin-bottom: 14px;
  font-weight: 500; transition: background .45s, color .45s;
}
.pr-guides__upcoming-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: 1.2rem;
  color: var(--ink); margin: 0 0 8px;
  line-height: 1.3; transition: color .45s;
}
.pr-guides__upcoming-card p {
  font-size: .88rem; color: var(--ink-muted);
  line-height: 1.55; margin: 0 0 14px;
  transition: color .45s;
}
.pr-guides__upcoming-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem; color: var(--gold);
  letter-spacing: .05em; font-style: italic;
}

/* === Footnote === */
.pr-guides__footnote {
  margin-top: 56px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  transition: background .45s, border-color .45s;
}
.pr-guides__footnote-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; color: var(--gold);
  font-size: 1.1rem; margin: 0 0 6px;
}
.pr-guides__footnote p {
  font-size: .92rem; color: var(--ink-soft);
  line-height: 1.7; margin: 0;
  transition: color .45s;
}
.pr-guides__footnote p strong { color: var(--ink); transition: color .45s; }

/* === Responsive === */
@media (max-width: 880px) {
  .pr-guides { padding: 60px 18px 80px; }
  .pr-guides__distinction {
    grid-template-columns: 1fr; gap: 20px;
    padding: 22px 24px;
  }
  .pr-guides__card { grid-template-columns: 1fr; }
  .pr-guides__card-visual { padding: 24px; }
  .pr-guides__card-content { padding: 28px 24px 24px; }
  .pr-guides__card h3 { font-size: 1.4rem; }
  .pr-guides__upcoming-grid { grid-template-columns: 1fr; gap: 14px; }
}
