/* ============================================================
   Boîte à Bijou — feuille de style complémentaire
   Palette : aubergine profonde + or mat + ivoire.
   Police : Onest (Google Fonts).
   ============================================================ */

:root {
  --ink: #1c1524;
  --ink-2: #2a2036;
  --ink-3: #362a45;
  --gold: #d9b36c;
  --gold-dark: #b78a4e;
  --gold-soft: #e6c98a;
  --ivory: #f4efe7;
  --muted: #b9afc4;
  --line: rgba(217, 179, 108, 0.22);
  --bs-primary: var(--gold);
  --bs-body-font-family: 'Onest', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink);
  color: var(--ivory);
  font-family: 'Onest', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(28, 21, 36, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header .navbar-brand img {
  border-radius: 8px;
}

.site-header .navbar-brand:hover,
.site-header .navbar-brand:focus {
  color: var(--gold-soft);
}

.site-header .nav-link {
  color: var(--ivory);
  font-weight: 500;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link[aria-current="page"] {
  color: var(--gold-soft);
}

.site-header .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--gold);
}

.site-header .dropdown-menu {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
}

.site-header .dropdown-item {
  color: var(--ivory);
  border-radius: 8px;
  font-weight: 500;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background: var(--ink-3);
  color: var(--gold-soft);
}

.site-header .dropdown-divider {
  border-color: var(--line);
}

.site-header .navbar-toggler {
  border-color: var(--line);
  color: var(--ivory);
}

.site-header .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(244,239,231,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-top: 0.75rem;
    padding: 1rem;
  }
  .site-header .dropdown-menu {
    border: 0;
    padding-top: 0.25rem;
  }
}

/* ---------- Boutons ---------- */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #2a1d08;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #2a1d08;
  box-shadow: 0 10px 24px rgba(217, 179, 108, 0.28);
  transform: translateY(-2px);
}

.btn-outline-ivory {
  display: inline-block;
  background: transparent;
  color: var(--ivory);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 231, 0.55);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-outline-ivory:hover,
.btn-outline-ivory:focus {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* ---------- Hero plein écran ---------- */
.hero-full {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(28, 21, 36, 0.88) 0%, rgba(28, 21, 36, 0.55) 55%, rgba(28, 21, 36, 0.25) 100%);
}

.hero-eyebrow {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-full h1 {
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.02em;
}

.hero-full p.lead {
  color: rgba(244, 239, 231, 0.88);
  max-width: 34rem;
}

/* ---------- En-tête de page intérieure ---------- */
.page-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(28, 21, 36, 0.94) 30%, rgba(28, 21, 36, 0.6) 100%);
}

.page-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: var(--muted);
  font-size: 0.9rem;
}

.page-hero .breadcrumb a {
  color: var(--gold-soft);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--ink-2);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.85rem;
}

.text-muted-ivory {
  color: var(--muted);
}

/* ---------- Cartes produit ---------- */
.card-product {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.card-product:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 179, 108, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-product .card-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}

.card-product .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-product:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-product h3 {
  font-weight: 700;
  font-size: 1.15rem;
}

.card-product .price {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 1.15rem;
}

.card-product .card-body {
  padding: 1.4rem;
}

/* ---------- Cartes simples / catégories ---------- */
.card-cat {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 21, 36, 0.1) 30%, rgba(28, 21, 36, 0.85) 100%);
}

.card-cat .card-cat-body {
  position: relative;
  padding: 1.5rem;
}

.card-cat:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-cat h3 {
  font-weight: 700;
}

.card-cat .cat-link {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ---------- Statistiques ---------- */
.stat-num {
  color: var(--gold);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.1;
}

/* ---------- Témoignage ---------- */
.testimonial-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.testimonial-card .quote-mark {
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

/* ---------- Types / mises en forme ---------- */
.lead {
  font-size: 1.12rem;
}

a {
  color: var(--gold-soft);
}

a:hover {
  color: var(--gold);
}

/* ---------- Formulaire ---------- */
.form-box {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
}

.form-control,
.form-select {
  background: var(--ink);
  border: 1px solid rgba(185, 175, 196, 0.35);
  color: var(--ivory);
  border-radius: 10px;
  padding: 0.7rem 1rem;
}

.form-control:focus,
.form-select:focus {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(217, 179, 108, 0.2);
}

.form-control::placeholder {
  color: var(--muted);
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Accordion FAQ ---------- */
.accordion-item {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--ink-2);
  color: var(--ivory);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--ink-3);
  color: var(--gold-soft);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(217, 179, 108, 0.2);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba(217,179,108,0.95)'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: var(--muted);
}

/* ---------- Vidéo ---------- */
.video-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

.site-footer .footer-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ivory);
}

.site-footer .footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 20rem;
}

.site-footer .footer-legal {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.2rem;
}

.site-footer .footer-title {
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.site-footer .footer-links,
.site-footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-links li,
.site-footer .footer-contact li {
  margin-bottom: 0.45rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.site-footer .footer-contact li {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Apparition douce ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
