/* Guides : lecture, navigation et repères, dans la palette OOZWEB. */

/* Le voile s'efface sans animer l'opacité ou le découpage du texte. */
.page-guide :is(.reveal-title,.reveal-card,.reveal-cta) {
  position: relative;
  opacity: 1;
}

.reveals-ready .page-guide :is(.reveal-title,.reveal-card,.reveal-cta)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: var(--guide-reveal-surface,var(--paper));
  pointer-events: none;
  opacity: 1;
}

.reveals-ready .page-guide :is(.reveal-title,.reveal-card,.reveal-cta).is-visible::after {
  opacity: 0;
}

.guide-hero, .guide-next, .page-guide .main-footer {
  --guide-reveal-surface: var(--ink);
}

.guide-related {
  --guide-reveal-surface: var(--mist);
}

@media(prefers-reduced-motion:reduce) {
  .reveals-ready .page-guide :is(.reveal-title,.reveal-card,.reveal-cta)::after {
    opacity: 0;
  }
}

.guide-links {
  display: grid;
  gap: 18px;
}

.page-guide main > .guide-hero {
  padding: 40px var(--gutter) 65px;
  background: var(--ink);
}

.guide-breadcrumbs {
  margin-bottom: 40px;
  font-size: 12px;
  color: var(--muted);
}

.guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.guide-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--accent-light);
}

.guide-hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  gap: clamp(32px,5vw,72px);
  align-items: start;
}

.guide-title {
  font-size: clamp(36px,4.1vw,63px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.055em;
  overflow-wrap: break-word;
}

.guide-title em {
  display: block;
  margin-top: 12px;
  color: var(--accent-light);
  font-family: var(--font-display);
  font-weight: 450;
  letter-spacing: -.04em;
}

.guide-lead {
  max-width: 66ch;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.guide-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
}

.guide-author img {
  width: 44px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
}

.guide-author a {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.guide-updated {
  display: block;
  margin-top: 5px;
}

.guide-takeaways {
  padding: 30px;
  border: 1px solid #93b4ff40;
  border-radius: 20px;
  background: linear-gradient(140deg,#2563eb16,transparent 75%),var(--paper);
}

.guide-takeaways h2 {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-takeaways ul {
  display: grid;
  gap: 17px;
  list-style: none;
}

.guide-takeaways li {
  display: grid;
  grid-template-columns: 14px minmax(0,1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.75;
}

.guide-takeaways li::before {
  content: "✓";
  color: var(--accent-light);
}

.guide-takeaways > a {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent-light);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-entrypoints li::before {
  content: "→";
}

.guide-entrypoints li a {
  display: block;
  text-decoration: none;
}

.guide-entrypoints li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.guide-entrypoints li a:hover strong,
.guide-entrypoints li a:focus-visible strong {
  color: var(--accent-light);
}

.guide-entrypoints li span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.guide-body {
  max-width: 1100px;
  margin-inline: auto;
  padding: 46px var(--gutter) 64px;
}

.guide-toc {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.guide-toc > p {
  margin-bottom: 13px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
}

.guide-toc ol {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 30px;
  row-gap: 10px;
  list-style: none;
  counter-reset: guide-toc;
}

.guide-toc li {
  counter-increment: guide-toc;
  font-size: 13px;
}

.guide-toc li::before {
  content: counter(guide-toc,decimal-leading-zero) " / ";
  color: var(--accent-light);
  font-size: 11px;
}

.guide-toc a:hover, .guide-author a:hover {
  color: var(--accent-light);
}

.guide-section {
  margin-bottom: 56px;
}

.guide-section h2, .guide-faq-heading {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(30px,3vw,42px);
  font-weight: 450;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.guide-section > p, .guide-question p {
  max-width: none;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.guide-callout {
  margin: 28px 0;
  padding: 23px 26px;
  border-left: 3px solid var(--accent-light);
  border-radius: 0 14px 14px 0;
  background: #93b4ff0a;
}

.guide-callout h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.guide-callout p {
  max-width: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.guide-callout p + p {
  margin-top: 14px;
}

.guide-checklist {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.guide-checklist li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-light);
}

.guide-section > .guide-note {
  margin: 20px 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
}

.guide-source-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  list-style: none;
}

.guide-source-list li {
  padding-left: 17px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.guide-source-list a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-section strong {
  color: var(--text);
  font-weight: 600;
}

.guide-section p a, .guide-next-email a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-items {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
  margin-top: 26px;
  list-style: none;
}

.guide-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}

.guide-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.guide-item h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.guide-item p {
  max-width: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.guide-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 26px;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  line-height: 1.85;
}

.guide-table th, .guide-table td {
  padding: 18px 22px;
  vertical-align: top;
}

.guide-table thead {
  background: var(--surface);
}

.guide-table thead th {
  color: var(--accent-light);
  font-weight: 600;
}

.guide-table tbody tr + tr {
  border-top: 1px solid var(--line);
}

.guide-table tbody th {
  width: 30%;
  min-width: 120px;
  font-weight: 600;
}

.guide-table td {
  color: var(--muted);
}

.guide-question {
  border-top: 1px solid var(--line);
}

.guide-question:last-child {
  border-bottom: 1px solid var(--line);
}

.guide-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.guide-question summary::-webkit-details-marker {
  display: none;
}

.guide-question summary::after {
  content: "+";
  color: var(--accent-light);
  font-size: 23px;
  font-weight: 400;
}

.guide-question[open] summary::after {
  content: "−";
}

.guide-question summary:hover, .guide-question summary:focus-visible {
  color: var(--accent-light);
}

.page-guide main > .guide-next {
  padding: 60px var(--gutter);
  background: var(--ink);
  text-align: center;
}

.guide-next h2 {
  max-width: 850px;
  margin: 0 auto 20px;
}

.guide-next p {
  max-width: 66ch;
  margin: 0 auto 26px;
  color: var(--muted);
  line-height: 1.85;
}

.guide-next .guide-next-email {
  margin: 24px auto 0;
  font-size: 13px;
}

.guide-next .section-subtitle {
  max-width: none;
  margin-bottom: 23px;
  color: var(--accent-light);
}

.guide-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-guide main > .guide-related {
  padding: 60px var(--gutter);
  background: var(--mist);
}

.guide-related h2 {
  margin-bottom: 30px;
}

.guide-related .guide-links {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.guide-related .guide-link {
  padding: 24px;
}

.guide-related .guide-link h3 {
  font-size: 27px;
}

@media(max-width:900px) {

  .guide-hero-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .guide-takeaways {
    max-width: 680px;
  }

  .guide-related .guide-links {
    grid-template-columns: minmax(0,1fr);
  }
}

@media(max-width:760px) {
  .guide-items, .guide-toc ol {
    grid-template-columns: minmax(0,1fr);
  }

  .page-guide main > .guide-hero {
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .guide-breadcrumbs {
    margin-bottom: 30px;
  }

  .guide-lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .guide-takeaways {
    padding: 25px;
  }

  .guide-body {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .guide-section {
    margin-bottom: 42px;
  }

  .guide-section > p, .guide-question p {
    font-size: 15px;
    line-height: 1.9;
  }

  .guide-callout {
    padding: 21px;
  }

  .guide-section > .guide-note {
    font-size: 13px;
    line-height: 1.85;
  }

  .guide-table th, .guide-table td {
    padding: 14px;
  }

  .guide-activity-table .guide-table,
  .guide-activity-table tbody,
  .guide-activity-table tbody tr,
  .guide-activity-table tbody th,
  .guide-activity-table td {
    display: block;
    width: 100%;
  }

  .guide-activity-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .guide-activity-table tbody tr {
    padding: 22px;
  }

  .guide-activity-table tbody th,
  .guide-activity-table td {
    padding: 0;
  }

  .guide-activity-table tbody th {
    min-width: 0;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .guide-activity-table td + td {
    margin-top: 14px;
  }

  .guide-activity-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
  }

  .guide-next-actions .btn-primary, .guide-next-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
.guide-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

