/* =========================================================
   DevisFacture — flat design / SEO facturation électronique
   Palette : navy profond + émeraude (pas de purple AI default)
   ========================================================= */
:root {
  --ink: #0b1f2a;
  --ink-soft: #1a3544;
  --muted: #5a7180;
  --paper: #f4f8f7;
  --paper-2: #e8f1ee;
  --white: #ffffff;
  --accent: #0d9f7d;
  --accent-dark: #0a7a60;
  --accent-soft: #d4f3ea;
  --sand: #f7efe3;
  --line: rgba(11, 31, 42, 0.08);
  --shadow: 0 18px 40px rgba(11, 31, 42, 0.08);
  --radius: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --container: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(13, 159, 125, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(247, 239, 227, 0.9), transparent 50%),
    linear-gradient(180deg, #f7fbfa 0%, var(--paper) 40%, #eef5f2 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.navbar { padding-block: .85rem; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--accent) 0%, #17b890 45%, #0b6e8a 100%);
  box-shadow: 0 8px 18px rgba(13, 159, 125, 0.28);
  position: relative;
  flex: 0 0 auto;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 8px 10px 8px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 4px;
  border-top: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-text small {
  font-size: .68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--ink-soft) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .45rem .7rem !important;
  border-radius: 999px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-dark) !important;
  background: var(--accent-soft);
}

.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-active-color: #fff;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 159, 125, 0.25);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(11, 31, 42, 0.15);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Bouton clair sur fond sombre (bandeaux CTA) */
.btn-ghost-on-dark {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}
.btn-ghost-on-dark:hover,
.btn-ghost-on-dark:focus {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11,31,42,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11, 31, 42, 0.04), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9f7d' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3e%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  max-width: 16ch;
}
.hero-title .brand-inline {
  color: var(--accent-dark);
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-panel {
  background: var(--ink);
  color: #e8f3ef;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,159,125,.45), transparent 70%);
}
.hero-panel h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.hero-dates li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
}
.hero-dates li:last-child { border-bottom: 0; }
.hero-dates span { color: rgba(232,243,239,.7); }
.hero-dates strong { color: #7dffce; font-weight: 600; text-align: right; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-muted { background: rgba(255,255,255,.45); }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}
.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.feature-tile {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13,159,125,.25);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature-tile h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.feature-tile p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .stat-row { grid-template-columns: 1fr; }
}
.stat-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.stat-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--accent-dark);
  line-height: 1.2;
}
.stat-item span { color: var(--muted); font-size: .9rem; }

/* ---------- Page header ---------- */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
}
.breadcrumb {
  --bs-breadcrumb-divider: "›";
  margin-bottom: 1rem;
  font-size: .88rem;
}
.breadcrumb-item a { text-decoration: none; color: var(--muted); }
.breadcrumb-item.active { color: var(--ink); }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-bottom: .85rem;
}
.page-hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42rem;
}

/* ---------- Content ---------- */
.content-prose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.content-prose h2 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: .85rem;
  letter-spacing: -0.02em;
}
.content-prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: .6rem;
}
.content-prose h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 1.2rem;
}
.content-prose p,
.content-prose li { color: var(--ink-soft); }
.content-prose ul,
.content-prose ol { padding-left: 1.2rem; }
.content-prose table {
  font-size: .92rem;
  margin: 1.25rem 0;
}
.content-prose code {
  background: var(--paper-2);
  padding: .1rem .35rem;
  border-radius: 6px;
  font-size: .9em;
}
.toc {
  position: sticky;
  top: 96px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--line);
}
.toc h2 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .9rem;
}
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--accent-dark); }

.aside-cta {
  background: var(--ink);
  color: #e8f3ef;
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-top: 1rem;
}
.aside-cta p { color: rgba(232,243,239,.75); font-size: .92rem; }
.aside-cta .btn { margin-top: .5rem; }

.kolirys-cta { position: relative; overflow: hidden; }
.kolirys-cta::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,159,125,.4), transparent 70%);
  pointer-events: none;
}
.kolirys-badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.kolirys-cta--sand {
  background: var(--sand) !important;
  color: var(--ink);
  border: 1px solid var(--line);
}
.kolirys-cta--sand p { color: var(--ink-soft) !important; }
.kolirys-cta--sand .kolirys-meta a { color: var(--accent-dark); }
.kolirys-meta { color: rgba(232,243,239,.55) !important; }
.kolirys-meta a { color: #7dffce; text-decoration: none; }
.kolirys-cta--sand .kolirys-meta { color: var(--muted) !important; }

.kolirys-band {
  background: linear-gradient(120deg, #0b1f2a 0%, #0d4a3c 55%, #0d9f7d 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .kolirys-band { grid-template-columns: 1.4fr auto; }
}
.kolirys-band h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: .5rem;
}
.kolirys-band p { color: rgba(255,255,255,.8); margin-bottom: 0; max-width: 40rem; }
.kolirys-band .btn { white-space: nowrap; }

/* ---------- Simulator ---------- */
.sim-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sim-steps {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.sim-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: .55rem .75rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,.6);
}
.sim-step.active {
  background: var(--accent);
  color: #fff;
}
.sim-step.done {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.sim-body { padding: clamp(1.25rem, 3vw, 2rem); }
.sim-options {
  display: grid;
  gap: .75rem;
}
.sim-option {
  display: block;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: border-color .2s, background .2s, transform .2s;
  background: #fff;
}
.sim-option:hover {
  border-color: rgba(13,159,125,.4);
  transform: translateY(-1px);
}
.sim-option input { display: none; }
.sim-option.active,
.sim-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.sim-option strong { display: block; margin-bottom: .15rem; }
.sim-option span { color: var(--muted); font-size: .9rem; }
.sim-result {
  display: none;
  animation: fadeUp .4s ease;
}
.sim-result.show { display: block; }
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 1rem;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.result-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}
.result-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.result-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.25;
}
.savings-meter {
  height: 12px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  margin: .75rem 0 1.5rem;
}
.savings-meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #17b890);
  border-radius: inherit;
  transition: width .8s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Blog cards ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}
.article-card-top {
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #0b6e8a);
}
.article-card-body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .65rem;
}
.article-card h3,
.article-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .55rem;
  letter-spacing: -0.015em;
}
.article-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1rem;
  flex: 1;
}
.chip {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: .75rem;
  background: #fff;
}
.accordion-button {
  font-weight: 600;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* ---------- Glossary ---------- */
.glossary-term {
  scroll-margin-top: 100px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.glossary-term h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.glossary-nav a {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .25rem .55rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
}
.glossary-nav a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Checklist ---------- */
.checklist-app {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
}
.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.checklist-progress-wrap { flex: 1; min-width: 220px; }
.checklist-progress {
  height: .65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}
.checklist-progress .progress-bar {
  background: linear-gradient(90deg, var(--accent), #0b6e8a);
  border-radius: inherit;
  transition: width .35s ease;
}
.checklist-section {
  scroll-margin-top: 100px;
  margin-bottom: 1.75rem;
}
.checklist-list { margin: 0; }
.checklist-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: .55rem;
  background: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.checklist-item.is-checked {
  border-color: rgba(11, 110, 138, .35);
  background: var(--accent-soft);
}
.checklist-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  margin: 0;
  cursor: pointer;
  color: var(--ink);
}
.checklist-label .form-check-input {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-color: #9bb0b8;
}
.checklist-label .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.blog-search .form-control {
  border-radius: 12px 0 0 12px;
}
.blog-search .btn {
  border-radius: 0 12px 12px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(232, 243, 239, 0.82);
  padding: 4rem 0 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-lead { font-size: .95rem; }
.footer-disclaimer { color: rgba(232,243,239,.55); }
.footer-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(232,243,239,.55);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: rgba(232,243,239,.85);
  text-decoration: none;
  display: inline-block;
  padding: .25rem 0;
  font-size: .92rem;
}
.footer-links a:hover { color: #7dffce; }
.footer-dates {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-dates li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
}
.footer-dates span { color: rgba(232,243,239,.55); }
.footer-dates strong { color: #7dffce; text-align: right; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(232,243,239,.55);
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.footer-bottom a {
  color: rgba(232,243,239,.7);
  text-decoration: none;
}
.footer-bottom a:hover { color: #7dffce; }
.btn-outline-light {
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Utils ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #134455 55%, #0a7a60 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .6rem;
}
.cta-band p { color: rgba(255,255,255,.78); max-width: 36rem; }
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .hero { padding-top: 3rem; }
  .hero-title { max-width: none; }
  .toc { position: static; margin-bottom: 1.5rem; }
}
