/* Page documentation / aide — style hub (inspiré Uber Eats Help) */
body[data-page="documentation"] {
  background: #fff;
}

body[data-page="documentation"] main.docs-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 4rem;
}

.docs-subnav {
  border-bottom: 1px solid rgba(57, 40, 0, 0.1);
  background: #fff;
}

.docs-subnav__inner {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.docs-subnav__label {
  font-size: 1.125rem;
  font-weight: 800;
  color: #392800;
  letter-spacing: -0.02em;
}

.docs-tabs-wrap {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

.docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.docs-tabs__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #f3f0ea;
  color: #392800;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-tabs__btn:hover {
  background: #ebe4d8;
}

.docs-tabs__btn.is-active {
  background: #ffab00;
  color: #392800;
}

.docs-tabs__btn:focus-visible {
  outline: 2px solid #ffae00;
  outline-offset: 2px;
}

.docs-cta {
  max-width: var(--site-max-width, 1200px);
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
}

.docs-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf8f0 0%, #fff7e6 100%);
  border: 1px solid rgba(170, 105, 0, 0.18);
}

.docs-cta__illustration {
  flex: 0 0 auto;
  width: min(160px, 38vw);
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.docs-cta__body {
  flex: 1 1 200px;
  min-width: 0;
}

.docs-cta__text {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: #392800;
  font-size: 1rem;
}

.docs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.docs-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-cta__btn--primary {
  background: #aa6900;
  color: #fff;
}

.docs-cta__btn--primary:hover {
  background: #392800;
  text-decoration: none;
  color: #fff;
}

.docs-cta__btn--ghost {
  background: #fff;
  color: #392800;
  border-color: rgba(57, 40, 0, 0.15);
}

.docs-cta__btn--ghost:hover {
  background: #fdf8f0;
  text-decoration: none;
}

.docs-hero {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 1.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .docs-hero {
    grid-template-columns: 1fr minmax(220px, 320px);
    padding-top: 2.75rem;
  }
}

.docs-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #392800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.docs-hero__intro {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: #6b5d4a;
  font-size: 1rem;
  line-height: 1.65;
}

.docs-search {
  display: flex;
  align-items: stretch;
  max-width: 36rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(57, 40, 0, 0.12);
  background: #f6f4f0;
}

.docs-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
  min-width: 0;
}

.docs-search__field i {
  font-size: 1.15rem;
  color: #6b5d4a;
  flex-shrink: 0;
}

.docs-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.85rem 0;
  color: #2c2416;
}

.docs-search__input:focus {
  outline: none;
}

.docs-search__input::placeholder {
  color: #9a8b78;
}

.docs-search__submit {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0 1.35rem;
  background: #392800;
  color: #fff;
  white-space: nowrap;
}

.docs-search__submit:hover {
  background: #2a1e00;
}

.docs-hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.docs-hero__art-inner {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('../image/doc.jpg') no-repeat center center; 
  background-size: cover;
  /* background: linear-gradient(145deg, #ffe8f0 0%, #fff5e8 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  line-height: 1;
}

.docs-topics {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0;
}

.docs-topics__heading {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #392800;
}

.docs-status {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: #6b5d4a;
}

.docs-status.is-error {
  color: #9b2222;
}

.docs-topics__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(57, 40, 0, 0.1);
}

.docs-topics__item {
  border-bottom: 1px solid rgba(57, 40, 0, 0.1);
}

.docs-topics__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s ease;
}

.docs-topics__link:hover {
  text-decoration: none;
  background: rgba(253, 248, 240, 0.65);
}

.docs-topics__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fdf8f0;
  color: #aa6900;
  font-size: 1.25rem;
}

.docs-topics__body {
  flex: 1;
  min-width: 0;
}

.docs-topics__title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #2c2416;
}

.docs-topics__summary {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: #6b5d4a;
  line-height: 1.45;
}

.docs-topics__chevron {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #b8aa98;
}

.docs-topics--detail {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.docs-topics--detail .docs-topics__inner {
  max-width: 100%;
}

.docs-topic__summary {
  margin: 0 0 1.25rem;
  max-width: 42rem;
}

.docs-article {
  max-width: var(--site-max-width, 900px);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.docs-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #aa6900;
  text-decoration: none;
}

.docs-article__back:hover {
  text-decoration: underline;
}

.docs-article__content h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: #392800;
}

.docs-article__content .docs-article__summary {
  margin: 0 0 1.5rem;
  color: #6b5d4a;
  font-size: 1rem;
}

.docs-article__body {
  line-height: 1.75;
  color: #2c2416;
}

.docs-article__body h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.2rem;
  color: #392800;
}

.docs-article__body p {
  margin: 0 0 1rem;
}

.docs-article__body ul,
.docs-article__body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.docs-article__body a {
  color: #aa6900;
}

.docs-empty {
  padding: 2rem 0;
  text-align: center;
  color: #6b5d4a;
}

.docs-onboarding {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.docs-onboarding__inner {
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fdfbf7 0%, #fff 100%);
  border: 1px solid rgba(57, 40, 0, 0.08);
}

.docs-onboarding__header {
  margin-bottom: 1.35rem;
}

.docs-onboarding__header h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: #392800;
  letter-spacing: -0.02em;
}

.docs-onboarding__header p {
  margin: 0;
  max-width: 42rem;
  color: #6b5d4a;
  font-size: 0.975rem;
  line-height: 1.6;
}

.docs-onboarding__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .docs-onboarding__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.docs-onboarding__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.1);
  box-shadow: 0 4px 18px rgba(57, 40, 0, 0.04);
}

.docs-onboarding__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.docs-onboarding__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.1rem;
}

.docs-onboarding__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #392800;
}

.docs-onboarding__body p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b5d4a;
}

.docs-onboarding__link {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #aa6900;
  text-decoration: none;
}

.docs-onboarding__link:hover {
  color: #392800;
  text-decoration: underline;
}

.docs-empty a {
  font-weight: 600;
}
