/* OkDak Search — page d'accueil partageable (style moteur de recherche) */

.page-search-landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--apple-bg, #000);
  color: var(--apple-text, #f5f5f7);
}

.search-landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.search-landing-header__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.search-landing-header__nav a {
  color: var(--apple-text-secondary, #86868b);
  text-decoration: none;
}

.search-landing-header__nav a:hover,
.search-landing-header__nav a[aria-current="page"] {
  color: var(--apple-text, #f5f5f7);
  text-decoration: underline;
}

.search-landing-theme {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.search-landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
}

.search-landing-brand {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.search-landing-brand .brand-highlight {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.search-landing-tagline {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--apple-text-secondary, #86868b);
  max-width: 28rem;
}

.search-landing-form {
  width: min(584px, 100%);
}

.search-landing-form .search-container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.search-landing-form .search-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.search-landing-form .search-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-landing-form .index-site-search {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 20;
  text-align: left;
}

.search-landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.search-landing-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.search-landing-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.search-landing-btn--primary {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.45);
}

.search-landing-index-count {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--apple-text-secondary, #86868b);
}

.search-landing-seo {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-landing-seo h2 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

.search-landing-seo p,
.search-landing-seo li {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--apple-text-secondary, #86868b);
}

.search-landing-seo ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.search-landing-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.search-landing-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.search-landing-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
}

.search-landing-faq p {
  margin: 0.5rem 0 0;
}

.search-landing-footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--apple-text-secondary, #86868b);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.search-landing-footer a {
  color: inherit;
}

body.light-theme.page-search-landing {
  background: #f5f5f7;
  color: #1d1d1f;
}

body.light-theme .search-landing-form .search-input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-theme .search-landing-btn {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .search-landing-btn--primary {
  background: rgba(99, 102, 241, 0.12);
}

body.light-theme .search-landing-faq details {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 560px) {
  .search-landing-header__nav .search-landing-lang-extra {
    display: none;
  }
}
