/* ORGUERRA — Portfolio — Rose foncé & or orangé */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../font/Cormorant_Garamond/static/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../font/Cinzel/static/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../font/Oswald/static/Oswald-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../font/Bebas_Neue/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../font/Montserrat/static/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --rose-fonce: #8b1538;
  --rose-fonce-hover: #6d102c;
  --or-orange: #e8a317;
  --or-clair: #f5c842;
  --or-pale: #fff8e6;
  --texte: #1a1a1a;
  --texte-clair: #4a4a4a;
  --fond: #faf8f5;
  --blanc: #ffffff;
  --ombre: 0 4px 24px rgba(139, 21, 56, 0.12);
  --rayon: 12px;
  --header-h: 72px;
  --header-nav-h: 1.875rem;
  --max: 1100px;
  --font-titre: "Segoe UI", system-ui, sans-serif;
  --font-texte: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--fond);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rose-fonce);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--or-orange);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 3px solid var(--or-orange);
  box-shadow: var(--ombre);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: var(--header-h);
}

.logo-link {
  flex-shrink: 0;
  display: block;
  position: relative;
  height: 48px;
  width: calc(48px * 192 / 85);
}

.logo-link img {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo-link::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url("../images/logo-text.png") no-repeat center / contain;
}

.logo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--rose-fonce);
  mask: url("../images/logo-loupe.png") no-repeat center / contain;
  -webkit-mask: url("../images/logo-loupe.png") no-repeat center / contain;
  pointer-events: none;
}

.main-nav {
  display: flex;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--rose-fonce);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--or-orange);
  border-bottom-color: var(--or-orange);
}

/* ——— Menu Partenaires ——— */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose-fonce);
  padding: 0.35rem 1.35rem 0.35rem 0;
  cursor: pointer;
  list-style: none;
  border-bottom: 2px solid transparent;
}

.nav-dropdown__toggle::-webkit-details-marker {
  display: none;
}

.nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -0.2rem;
  border: 0.3rem solid transparent;
  border-top-color: currentColor;
  transition: transform 0.2s;
}

.nav-dropdown[open] .nav-dropdown__toggle {
  color: var(--or-orange);
  border-bottom-color: var(--or-orange);
}

.nav-dropdown[open] .nav-dropdown__toggle::after {
  transform: rotate(180deg);
  margin-top: -0.45rem;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 120;
  min-width: 16rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--blanc);
  border: 2px solid var(--or-orange);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-fonce);
  text-decoration: none;
  border-bottom: none;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a[aria-current="page"] {
  background: var(--or-pale);
  color: var(--rose-fonce);
  border-bottom: none;
}

.nav-dropdown__menu li + li a {
  border-top: 1px solid var(--or-pale);
}

/* ——— Menu burger (mobile / tablette) ——— */
.nav-burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: 2px solid var(--rose-fonce);
  border-radius: 8px;
  background: var(--blanc);
  color: var(--rose-fonce);
  cursor: pointer;
}

.nav-burger:hover {
  border-color: var(--or-orange);
  color: var(--or-orange);
}

.nav-burger__icon,
.nav-burger__icon::before,
.nav-burger__icon::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger__icon {
  position: relative;
}

.nav-burger__icon::before,
.nav-burger__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger__icon::before {
  top: -6px;
}

.nav-burger__icon::after {
  top: 6px;
}

body.nav-drawer-open .nav-burger__icon {
  background: transparent;
}

body.nav-drawer-open .nav-burger__icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-drawer-open .nav-burger__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-shortcuts {
  display: none;
}

.nav-drawer {
  display: none;
}

.nav-drawer-backdrop {
  display: none;
}

@media (max-width: 1024px) {
  .nav-burger {
    display: flex;
    flex-shrink: 0;
    margin-left: 0.15rem;
  }

  .main-nav {
    display: none !important;
  }

  .header-inner {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo nav burger"
      "search search search";
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.55rem;
    padding: 0.55rem 0.85rem 0.65rem;
  }

  .logo-link {
    grid-area: logo;
    flex-shrink: 0;
  }

  .nav-shortcuts {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.55rem;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .nav-shortcuts a {
    font-family: var(--font-titre);
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1.2;
    text-decoration: none;
    color: var(--rose-fonce);
    padding: 0.4rem 0.15rem;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-shortcuts a:hover,
  .nav-shortcuts a[aria-current="page"] {
    color: var(--or-orange);
    border-bottom-color: var(--or-orange);
  }

  .nav-burger {
    grid-area: burger;
    justify-self: end;
  }

  .header-search {
    grid-area: search;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    flex: none;
  }

  .header-search input {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(26, 26, 26, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.nav-drawer-open .nav-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-drawer-open .site-header {
    z-index: 120;
  }

  .nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 130;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(18rem, 90vw);
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: 1rem 0 1.5rem;
    overflow-y: auto;
    background: var(--blanc);
    border-right: 3px solid var(--or-orange);
    box-shadow: 4px 0 32px rgba(139, 21, 56, 0.18);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  body.nav-drawer-open .nav-drawer {
    transform: translateX(0);
  }

  .nav-drawer > a {
    display: block;
    height: auto;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    line-height: 1.3;
    white-space: normal;
    border-bottom: 1px solid var(--or-pale);
  }

  .nav-drawer > a:hover,
  .nav-drawer > a[aria-current="page"] {
    background: var(--or-pale);
    border-bottom-color: var(--or-pale);
  }

  .nav-drawer .nav-dropdown {
    border-bottom: 1px solid var(--or-pale);
  }

  .nav-drawer .nav-dropdown__toggle {
    display: block;
    width: 100%;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .nav-drawer .nav-dropdown__menu {
    position: static;
    min-width: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.5rem;
  }

  .nav-drawer .nav-dropdown__menu a {
    white-space: normal;
    padding-left: 1.75rem;
    font-size: 0.9rem;
  }
}

/* ——— Page musées ——— */
.museums-page header {
  margin-bottom: 2rem;
}

.museums-page h1 {
  font-family: var(--font-titre);
  color: var(--rose-fonce);
  margin: 0 0 1rem;
}

.museums-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.museums-list__item {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--ombre);
  border-left: 4px solid var(--or-orange);
}

.museums-list__item h3 {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.museums-list__item h3 a {
  color: var(--rose-fonce);
  text-decoration: none;
}

.museums-list__item h3 a:hover {
  color: var(--or-orange);
}

.museums-list__place {
  font-family: var(--font-titre);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--or-orange);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.museums-list__item p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.museums-list__links {
  font-family: var(--font-titre);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.museums-list__links a {
  color: var(--rose-fonce);
}

.museums-page h2 {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  color: var(--rose-fonce);
  margin: 0 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--or-pale);
}

.museums-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* ——— Page boutique ——— */
.page-shop .site-main {
  padding-top: 1.75rem;
}

.shop-hero {
  position: relative;
}

.shop-hero img {
  max-height: min(48vh, 460px);
}

.shop-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 6vw, 4rem);
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.05) 0%,
    rgba(109, 16, 44, 0.55) 45%,
    rgba(109, 16, 44, 0.92) 100%
  );
  color: var(--blanc);
}

.shop-hero__eyebrow {
  font-family: var(--font-titre);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin: 0 0 0.5rem;
}

.shop-hero__title {
  font-family: var(--font-titre);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  max-width: 18ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.shop-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  opacity: 0.95;
}

.shop-intro {
  margin-bottom: 1.75rem;
}

.shop-intro__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rose-fonce), var(--rose-fonce-hover));
  border: 4px solid var(--or-orange);
  box-shadow: 0 4px 20px rgba(232, 163, 23, 0.4);
}

.shop-intro__badge span {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 800;
  color: var(--or-clair);
  letter-spacing: 0.06em;
}

.shop-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shop-perks__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  background: var(--blanc);
  border-radius: var(--rayon);
  border: 2px solid var(--or-pale);
  box-shadow: var(--ombre);
  transition: transform 0.2s, border-color 0.2s;
}

.shop-perks__item:hover {
  transform: translateY(-3px);
  border-color: var(--or-orange);
}

.shop-perks__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.shop-perks__item strong {
  font-family: var(--font-titre);
  font-size: 0.95rem;
  color: var(--rose-fonce);
}

.shop-perks__item span:last-child {
  font-size: 0.85rem;
  color: var(--texte-clair);
  line-height: 1.4;
}

.shop-section-head {
  margin-bottom: 1.25rem;
}

.shop-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.shop-section-head h2 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--rose-fonce);
  margin: 0 0 0.25rem;
}

.shop-section-head__sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--texte-clair);
}

.shop-featured {
  margin-bottom: 2.75rem;
}

.shop-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(139, 21, 56, 0.16);
  border: 2px solid var(--or-pale);
}

.shop-spotlight__media {
  position: relative;
  display: block;
  background: var(--or-pale);
  min-height: 280px;
}

.shop-spotlight__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.shop-spotlight__ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose-fonce);
  background: var(--or-clair);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shop-spotlight__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  border-left: 4px solid var(--or-orange);
}

.shop-spotlight__title {
  font-family: var(--font-titre);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0.65rem 0 0.5rem;
  line-height: 1.25;
}

.shop-spotlight__title a {
  color: var(--rose-fonce);
  text-decoration: none;
}

.shop-spotlight__title a:hover {
  color: var(--or-orange);
}

.shop-spotlight__pitch {
  margin: 0 0 1rem;
  color: var(--texte-clair);
  font-size: 1rem;
  line-height: 1.6;
}

.shop-spotlight__note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--texte-clair);
  font-style: italic;
}

.shop-catalogue {
  margin-bottom: 2.5rem;
}

.shop-filters {
  margin-bottom: 1.5rem;
}

.shop-filters .category-tag {
  cursor: pointer;
  border: none;
  font: inherit;
}

.shop-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--texte-clair);
  font-style: italic;
  padding: 2rem 0;
}

.shop-loading__pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--or-orange);
  animation: shop-pulse 1s ease-in-out infinite;
}

@keyframes shop-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.shop-no-results {
  margin-bottom: 1rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-product {
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--blanc);
  box-shadow: var(--ombre);
  transition: transform 0.22s, box-shadow 0.22s;
}

.shop-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(139, 21, 56, 0.2);
}

.shop-product.is-hidden {
  display: none;
}

.shop-product--soldout {
  opacity: 0.92;
}

.shop-product__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.shop-product__visual {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--or-pale) 0%, #fff 100%);
  overflow: hidden;
}

.shop-product__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shop-product:hover .shop-product__visual img {
  transform: scale(1.06);
}

.shop-product__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.3rem 0.65rem;
  font-family: var(--font-titre);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.shop-product__badge--stock {
  background: var(--rose-fonce);
  color: var(--or-clair);
}

.shop-product__badge--soldout {
  background: rgba(26, 26, 26, 0.75);
  color: var(--blanc);
}

.shop-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.25rem;
  border-top: 3px solid var(--or-orange);
}

.shop-product__name {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rose-fonce);
  margin: 0.5rem 0 0.35rem;
  line-height: 1.3;
}

.shop-product__pitch {
  display: block;
  font-size: 0.88rem;
  color: var(--texte-clair);
  line-height: 1.5;
  margin: 0 0 0.85rem;
  flex: 1;
}

.shop-product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--or-pale);
}

.shop-product__price {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--or-orange);
  margin: 0;
}

.shop-product__price--quote {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texte-clair);
}

.shop-spotlight .shop-product__price {
  font-size: 1.65rem;
  margin: 0 0 1rem;
}

.shop-product__action {
  font-family: var(--font-titre);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-fonce);
  white-space: nowrap;
}

.shop-product:hover .shop-product__action {
  color: var(--or-orange);
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-titre);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--or-orange);
  color: var(--rose-fonce);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.shop-btn:hover {
  background: var(--or-clair);
  color: var(--rose-fonce-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 163, 23, 0.45);
}

.shop-btn--light {
  background: var(--blanc);
  color: var(--rose-fonce);
  align-self: flex-start;
}

.shop-btn--light:hover {
  background: var(--or-clair);
  color: var(--rose-fonce-hover);
}

.shop-btn--outline {
  background: transparent;
  border-color: var(--or-orange);
  color: var(--rose-fonce);
}

.shop-btn--outline:hover {
  background: var(--or-pale);
}

.shop-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--blanc);
}

.shop-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanc);
}

.shop-cta-banner {
  margin: 0 0 1.5rem;
  border-radius: var(--rayon);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-fonce) 0%, var(--rose-fonce-hover) 55%, #4a0a1e 100%);
  box-shadow: var(--ombre);
}

.shop-cta-banner__inner {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem);
  color: var(--blanc);
  text-align: center;
}

.shop-cta-banner__inner h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin: 0 0 0.5rem;
  color: var(--or-clair);
}

.shop-cta-banner__inner p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.shop-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.shop-updated {
  text-align: center;
  font-size: 0.8rem;
  color: var(--texte-clair);
  margin: 0;
}

@media (max-width: 900px) {
  .shop-spotlight {
    grid-template-columns: 1fr;
  }

  .shop-spotlight__body {
    border-left: none;
    border-top: 4px solid var(--or-orange);
  }
}

@media (max-width: 640px) {
  .shop-hero__overlay {
    padding: 1.25rem;
  }

  .shop-hero__title {
    max-width: none;
  }

  .shop-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .shop-intro__badge {
    width: 7.5rem;
    height: 7.5rem;
  }

  .shop-intro__badge span {
    font-size: 1.65rem;
  }

  .shop-perks {
    grid-template-columns: 1fr;
  }

  .shop-section-head--row {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-section-head--row .shop-btn {
    width: 100%;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-dropdown__menu {
    right: auto;
    left: 0;
    min-width: min(18rem, calc(100vw - 2rem));
  }

  .nav-dropdown__menu a {
    white-space: normal;
  }
}

.header-search {
  margin-left: auto;
  flex: 1 1 200px;
  max-width: 280px;
  min-width: 160px;
  position: relative;
}

.header-search::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: var(--rose-fonce);
  pointer-events: none;
  z-index: 1;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-search input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border: 2px solid var(--or-orange);
  border-radius: 999px;
  font-family: var(--font-titre);
  font-size: 0.9rem;
  background: var(--or-pale);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
  outline: none;
  border-color: var(--rose-fonce);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.35);
}

.search-no-results {
  display: none;
  font-family: var(--font-titre);
  font-size: 0.9rem;
  color: var(--texte-clair);
  padding: 1rem;
  text-align: center;
}

.search-no-results.visible {
  display: block;
}

/* ——— Layout ——— */
.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.page-hero {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.page-hero--text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(28vh, 280px);
  line-height: normal;
}

.page-hero--text .page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 54rem;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blanc);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.page-hero__tagline {
  margin: 0.65rem 0 0;
  font-family: "Montserrat", var(--font-titre), sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.page-hero[data-hero="tous"] .page-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: none;
}

.page-hero[data-hero="souterrain"] .page-hero__title {
  font-family: "Cinzel", Georgia, serif;
}

.page-hero[data-hero="articles"] .page-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-hero[data-hero="urbex"] .page-hero__title {
  font-family: "Oswald", var(--font-titre), sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-hero[data-hero="diy"] .page-hero__title,
.page-hero[data-hero="parcs"] .page-hero__title {
  font-family: "Bebas Neue", var(--font-titre), sans-serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 4rem);
  letter-spacing: 0.08em;
}

.category-intro {
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

.category-intro__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted, #555);
}

.search-results-header {
  margin: 0 0 1.25rem;
}

.search-results-header__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.search-results-header__hint {
  margin: 0;
  color: var(--color-text-muted, #555);
  font-size: 0.95rem;
}

.page-index .site-main {
  padding-top: 1.5rem;
}

/* ——— Présentation accueil ——— */
.home-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin: 0 0 2.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--blanc);
  border-radius: var(--rayon);
  border: 2px solid var(--or-pale);
  box-shadow: var(--ombre);
}

.home-intro__avatar {
  flex-shrink: 0;
}

.home-intro__avatar img {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--or-orange);
  box-shadow: 0 4px 16px rgba(232, 163, 23, 0.35);
}

.home-intro__content {
  min-width: 0;
}

.home-intro h2 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--rose-fonce);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.home-intro__lead {
  font-size: 1.1rem;
  color: var(--texte);
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

.home-intro p {
  margin: 0 0 0.75rem;
  color: var(--texte-clair);
  font-size: 1rem;
  line-height: 1.65;
}

.home-intro p:last-child {
  margin-bottom: 0;
}

.home-intro strong {
  color: var(--rose-fonce);
  font-weight: 600;
}

body.page-index:not([data-section-filter="tous"]) .home-intro {
  display: none;
}

@media (max-width: 640px) {
  .home-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1.25rem;
    gap: 1.25rem;
  }

  .home-intro__avatar img {
    width: 7.5rem;
    height: 7.5rem;
  }

  .home-intro h2 {
    font-size: 1.3rem;
  }
}

/* ——— Catégories ——— */
.category-tag {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--or-orange);
  color: var(--blanc);
  text-decoration: none;
}

.category-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.category-tag--mine {
  background: var(--rose-fonce);
}

.category-tag--mine:hover {
  background: #8b2344;
}

.category-tag--carriere {
  background: #5a7a4a;
}

.category-tag--carriere:hover {
  background: #4a6640;
}

.category-tag--ouvrage {
  background: #4a5568;
}

.category-tag--ouvrage:hover {
  background: #3d4654;
}

.category-tag--diy {
  background: #9a7b0a;
}

.category-tag--diy:hover {
  background: #7a6208;
}

.category-tag--parcs {
  background: #1e5a8e;
}

.category-tag--parcs:hover {
  background: #164468;
}

.category-tag--urbex {
  background: #4a5568;
}

.category-tag--urbex:hover {
  background: #2d3748;
}

.category-tag:hover {
  background: var(--or-clair);
  color: var(--blanc);
}

.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.categories-bar--sections {
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.categories-bar--sections a.category-tag--filter {
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  letter-spacing: 0.06em;
}

.categories-bar a.category-tag--filter {
  background: var(--blanc);
  border: 2px solid var(--or-orange);
  color: var(--rose-fonce);
}

.categories-bar a.category-tag--filter:hover,
.categories-bar a.category-tag--filter.is-active {
  background: var(--rose-fonce);
  color: var(--blanc);
  border-color: var(--rose-fonce);
}

.categories-bar--sections a.category-tag--filter.category-tag--souterrain {
  border-color: #6b4423;
  color: #6b4423;
}

.categories-bar--sections a.category-tag--filter.category-tag--souterrain:hover,
.categories-bar--sections a.category-tag--filter.category-tag--souterrain.is-active {
  background: #6b4423;
  border-color: #6b4423;
  color: var(--blanc);
}

.categories-bar--sections a.category-tag--filter.category-tag--articles {
  border-color: #2d6b3f;
  color: #2d6b3f;
}

.categories-bar--sections a.category-tag--filter.category-tag--articles:hover,
.categories-bar--sections a.category-tag--filter.category-tag--articles.is-active {
  background: #2d6b3f;
  border-color: #2d6b3f;
  color: var(--blanc);
}

.categories-bar--sections a.category-tag--filter.category-tag--urbex {
  border-color: #4a5568;
  color: #4a5568;
}

.categories-bar--sections a.category-tag--filter.category-tag--urbex:hover,
.categories-bar--sections a.category-tag--filter.category-tag--urbex.is-active {
  background: #4a5568;
  border-color: #4a5568;
  color: var(--blanc);
}

.categories-bar--sections a.category-tag--filter.category-tag--diy {
  border-color: #9a7b0a;
  color: #9a7b0a;
}

.categories-bar--sections a.category-tag--filter.category-tag--diy:hover,
.categories-bar--sections a.category-tag--filter.category-tag--diy.is-active {
  background: #9a7b0a;
  border-color: #9a7b0a;
  color: var(--blanc);
}

.categories-bar--sections a.category-tag--filter.category-tag--parcs {
  border-color: #1e5a8e;
  color: #1e5a8e;
}

.categories-bar--sections a.category-tag--filter.category-tag--parcs:hover,
.categories-bar--sections a.category-tag--filter.category-tag--parcs.is-active {
  background: #1e5a8e;
  border-color: #1e5a8e;
  color: var(--blanc);
}

.categories-bar--sections + .categories-bar--sub {
  margin-top: -0.5rem;
}

.categories-bar--sub {
  justify-content: center;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.categories-bar--sub[hidden] {
  display: none;
}

.categories-bar--sub .category-tag--subfilter {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
}

.categories-bar--sub a.category-tag--subfilter:not(.category-tag--mine):not(.category-tag--carriere):not(.category-tag--ouvrage) {
  background: var(--blanc);
  border: 2px solid var(--or-orange);
  color: var(--rose-fonce);
}

.categories-bar--sub a.category-tag--subfilter.category-tag--mine {
  background: var(--blanc);
  border: 2px solid #8b1538;
  color: #8b1538;
}

.categories-bar--sub a.category-tag--subfilter.category-tag--mine.is-active,
.categories-bar--sub a.category-tag--subfilter.category-tag--mine:hover {
  background: #8b1538;
  border-color: #8b1538;
  color: var(--blanc);
}

.categories-bar--sub a.category-tag--subfilter.category-tag--carriere {
  background: var(--blanc);
  border: 2px solid #5a7a4a;
  color: #5a7a4a;
}

.categories-bar--sub a.category-tag--subfilter.category-tag--carriere.is-active,
.categories-bar--sub a.category-tag--subfilter.category-tag--carriere:hover {
  background: #5a7a4a;
  border-color: #5a7a4a;
  color: var(--blanc);
}

.categories-bar--sub a.category-tag--subfilter.category-tag--ouvrage {
  background: var(--blanc);
  border: 2px solid #4a5568;
  color: #4a5568;
}

.categories-bar--sub a.category-tag--subfilter.category-tag--ouvrage.is-active,
.categories-bar--sub a.category-tag--subfilter.category-tag--ouvrage:hover {
  background: #4a5568;
  border-color: #4a5568;
  color: var(--blanc);
}

body[data-section-filter="souterrain"] .categories-bar--sub a.category-tag--subfilter.is-active[data-souterrain-type="tous"] {
  background: var(--rose-fonce);
  border-color: var(--rose-fonce);
  color: var(--blanc);
}

/* ——— Catalogue index en colonnes ——— */
.catalogue-columns {
  margin-top: 0.5rem;
}

.catalogue-columns__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.catalogue-column.is-empty {
  display: none;
}

.catalogue-column[data-column="souterrain"] {
  --col-accent: #6b4423;
  --col-accent-hover: #a67c52;
  --col-pale: #f5efe8;
  --col-shadow: rgba(107, 68, 35, 0.18);
}

.catalogue-column[data-column="urbex"] {
  --col-accent: #4a5568;
  --col-accent-hover: #6b7280;
  --col-pale: #f3f4f6;
  --col-shadow: rgba(74, 85, 104, 0.18);
}

.catalogue-column[data-column="diy"] {
  --col-accent: #9a7b0a;
  --col-accent-hover: #e8c547;
  --col-pale: #fffbea;
  --col-shadow: rgba(154, 123, 10, 0.18);
}

.catalogue-column[data-column="parcs"] {
  --col-accent: #1e5a8e;
  --col-accent-hover: #4a90c4;
  --col-pale: #e8f4fc;
  --col-shadow: rgba(30, 90, 142, 0.18);
}

.catalogue-articles {
  --col-accent: #2d6b3f;
  --col-accent-hover: #4a8f5c;
  --col-pale: #f0f7f1;
  --col-shadow: rgba(45, 107, 63, 0.18);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--col-pale);
}

.catalogue-column__title {
  font-family: var(--font-titre);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-accent, var(--rose-fonce));
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--col-accent, var(--or-orange));
}

.catalogue-column__title a {
  color: inherit;
  text-decoration: none;
}

.catalogue-column__title a:hover {
  color: var(--col-accent-hover, var(--or-orange));
}

.catalogue-column[data-column] .article-card,
.catalogue-articles .article-card {
  border-top-color: var(--col-accent);
  box-shadow: 0 4px 20px var(--col-shadow);
}

.catalogue-column[data-column] .article-card:hover,
.catalogue-articles .article-card:hover {
  box-shadow: 0 8px 28px var(--col-shadow);
}

.catalogue-column[data-column] .article-card__thumb,
.catalogue-articles .article-card__thumb {
  background: var(--col-pale);
}

.catalogue-column[data-column] .article-card h2 a,
.catalogue-articles .article-card h2 a {
  color: var(--col-accent);
}

.catalogue-column[data-column] .article-card h2 a:hover,
.catalogue-articles .article-card h2 a:hover {
  color: var(--col-accent-hover);
}

.catalogue-column[data-column] .read-more,
.catalogue-articles .read-more {
  color: var(--col-accent);
}

.catalogue-column[data-column] .read-more:hover,
.catalogue-articles .read-more:hover {
  color: var(--col-accent-hover);
}

.catalogue-column[data-column="souterrain"] .category-tag:not(.category-tag--mine):not(.category-tag--carriere):not(.category-tag--ouvrage),
.catalogue-column[data-column="urbex"] .category-tag,
.catalogue-column[data-column="diy"] .category-tag,
.catalogue-column[data-column="parcs"] .category-tag,
.catalogue-articles .category-tag:not(.category-tag--mine):not(.category-tag--carriere):not(.category-tag--ouvrage):not(.category-tag--diy):not(.category-tag--urbex) {
  background: var(--col-accent);
}

.catalogue-column[data-column="urbex"] .category-tag--urbex,
.catalogue-column[data-column="diy"] .category-tag--diy,
.catalogue-column[data-column="parcs"] .category-tag--diy {
  background: var(--col-accent);
}

.catalogue-column__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalogue-column__item--extra {
  display: none !important;
}

.catalogue-column.is-search-active .catalogue-column__item--extra:not(.is-hidden) {
  display: list-item !important;
}

.catalogue-column__more {
  margin: 0.75rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--col-pale, var(--or-pale));
  text-align: center;
}

.catalogue-column__more-link {
  font-family: var(--font-titre);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--col-accent, var(--rose-fonce));
  text-decoration: none;
}

.catalogue-column__more-link:hover {
  color: var(--col-accent-hover, var(--or-orange));
  text-decoration: underline;
}

.catalogue-column .article-card h2 {
  font-size: 0.95rem;
}

.catalogue-column .article-card p {
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalogue-column .article-card__body {
  padding: 0.85rem 1rem 1rem;
}

.catalogue-column__title--wide {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.catalogue-articles__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1100px) {
  .catalogue-columns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .catalogue-columns__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Grille articles (index) ——— */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-card {
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  border-top: 4px solid var(--or-orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(139, 21, 56, 0.18);
}

.article-card.is-hidden {
  display: none;
}

.article-card__thumb {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--or-pale);
}

.article-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-titre);
  font-size: 0.8rem;
  color: var(--texte-clair);
}

.article-card h2 {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.article-card h2 a {
  color: var(--rose-fonce);
  text-decoration: none;
}

.article-card h2 a:hover {
  color: var(--or-orange);
}

.article-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--texte-clair);
}

.article-card__thumb-wrap {
  position: relative;
  display: block;
}

.article-card__thumb-lock {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--rose-fonce);
  color: var(--or-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.article-card__thumb-lock svg {
  width: 1.15rem;
  height: 1.15rem;
}

.article-card__locked {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.75rem;
  min-height: 2.75rem;
  background: var(--or-pale);
  border-radius: 6px;
  color: var(--rose-fonce);
}

.article-card__lock-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--or-orange);
  text-decoration: none;
}

.read-more:hover {
  color: var(--rose-fonce);
}

/* ——— Connexion (accès réservé) ——— */
.auth-login {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.auth-login__card {
  width: 100%;
  max-width: 26rem;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  border-top: 4px solid var(--or-orange);
  overflow: hidden;
  text-align: center;
}

.auth-login__mine {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--or-pale);
}

.auth-login__card h1 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--rose-fonce);
  margin: 1.25rem 1.25rem 0.75rem;
}

.auth-login__error {
  margin: 0 1.25rem 0.75rem;
  color: var(--rose-fonce);
  font-size: 0.95rem;
}

.auth-login__form {
  padding: 0 1.25rem 1rem;
  text-align: left;
}

.auth-login__form label {
  font-family: var(--font-titre);
  font-size: 0.85rem;
  color: var(--texte-clair);
}

.auth-login__form input[type="password"] {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--or-pale);
  border-radius: 6px;
  font-size: 1rem;
}

.auth-login__form input[type="password"]:focus {
  outline: none;
  border-color: var(--or-orange);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.35);
}

.auth-login__submit {
  margin-top: 1rem;
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

.auth-login__back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.auth-login__back a {
  color: var(--or-orange);
  text-decoration: none;
  font-family: var(--font-titre);
  font-weight: 600;
}

.auth-login__back a:hover {
  color: var(--rose-fonce);
}

/* ——— Portfolio article ——— */
.article-portfolio {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 2rem 2rem 2.5rem;
  box-shadow: var(--ombre);
}

.article-portfolio header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--or-pale);
}

.article-portfolio h1 {
  font-family: var(--font-titre);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--rose-fonce);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.25;
}

.article-meta {
  font-family: var(--font-titre);
  font-size: 0.85rem;
  color: var(--texte-clair);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.article-portfolio .intro {
  font-size: 1.15rem;
  color: var(--texte);
  border-left: 4px solid var(--or-orange);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
}

.article-portfolio h2 {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  color: var(--rose-fonce);
  margin: 2rem 0 1rem;
}

.article-portfolio p {
  margin: 0 0 1rem;
}

.museum-promo {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--or-orange);
  background: var(--or-pale);
  border-radius: 0 var(--rayon) var(--rayon) 0;
}

.museum-promo h3 {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  color: var(--rose-fonce);
  margin: 0 0 0.6rem;
}

.museum-promo p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.museum-promo p:last-child {
  margin-bottom: 0;
}

.museum-promo a {
  font-weight: 600;
}

.article-portfolio :not(pre) > code {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.88em;
  padding: 0.12em 0.35em;
  background: var(--or-pale);
  border-radius: 4px;
}

.article-portfolio pre,
.article-portfolio .article-code {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f5f0e8;
  background: #2a2520;
  border-radius: var(--rayon);
  border-left: 4px solid var(--or-orange);
}

.article-portfolio pre code {
  font: inherit;
  color: inherit;
  background: none;
  padding: 0;
}

.article-portfolio blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--rose-fonce);
  background: var(--or-pale);
  border-radius: 0 var(--rayon) var(--rayon) 0;
}

.article-portfolio blockquote p {
  margin: 0 0 0.5rem;
}

.article-portfolio blockquote p:last-child {
  margin-bottom: 0;
}

.article-portfolio ol,
.article-portfolio ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.article-portfolio li {
  margin-bottom: 0.35rem;
}

/* ——— Galerie ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.gallery figure {
  margin: 0;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--fond);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}

.gallery figure:hover {
  box-shadow: 0 6px 20px rgba(139, 21, 56, 0.15);
}

.gallery figure.featured {
  grid-column: 1 / -1;
}

.gallery figure.featured img {
  max-height: 520px;
  width: 100%;
  object-fit: cover;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
}

.gallery-thumb:focus-visible {
  outline: 3px solid var(--or-orange);
  outline-offset: 2px;
}

/* ——— Article reportage (texte + photos en flux) ——— */
.article-reportage .article-subtitle {
  font-family: var(--font-titre);
  font-size: 1.15rem;
  color: var(--texte-clair);
  margin: -0.25rem 0 1rem;
}

.article-reportage__content {
  max-width: 52rem;
}

.article-reportage__content h2 {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  color: var(--rose-fonce);
  margin: 2.25rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--or-pale);
}

.article-reportage__content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.article-reportage__content p {
  margin: 0 0 1.1rem;
}

.article-toc {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--or-pale);
  border-radius: var(--rayon);
  border-left: 4px solid var(--or-orange);
}

.article-toc ul {
  margin: 0.5rem 0 0 1.25rem;
}

.article-figure {
  margin: 1.25rem 0 1.75rem;
}

.article-figure--lead {
  margin: 1.5rem 0 2rem;
}

.article-figure .gallery-thumb {
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}

.article-video {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 1.5rem 0 2rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  background: #000;
}

.article-video iframe,
.article-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  pointer-events: none;
}

.article-meta .category-tag {
  text-decoration: none;
  vertical-align: middle;
}

.keywords-block {
  font-family: var(--font-titre);
  font-size: 0.9rem;
  color: var(--texte-clair);
  text-transform: lowercase;
}

/* ——— Remonter en haut ——— */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--rose-fonce);
  color: var(--blanc);
  font-family: var(--font-titre);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--or-orange);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--or-orange);
  outline-offset: 3px;
}

.back-to-top__icon {
  display: block;
  font-size: 1.35rem;
  line-height: 2.75rem;
  font-weight: 700;
}

body.lightbox-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .back-to-top__icon {
    font-size: 1.2rem;
    line-height: 2.5rem;
  }
}

/* ——— Lightbox ——— */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.92);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  margin: 0 3rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: var(--or-orange);
  color: var(--blanc);
  font-family: var(--font-titre);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--or-clair);
  color: var(--blanc);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: var(--rayon);
}

.lightbox-nav-icon,
.lightbox-close-icon {
  display: block;
  line-height: 1;
  font-size: 1.75rem;
  font-weight: 700;
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

/* ——— Breadcrumb ——— */
.breadcrumb {
  font-family: var(--font-titre);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--or-orange);
}

.breadcrumb a {
  text-decoration: none;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  margin-top: 3rem;
  padding: 0;
  color: #fff;
  background: #1a1a22;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer.jpg") center center / cover no-repeat;
  z-index: 0;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 28, 0.82) 0%,
    rgba(18, 18, 28, 0.68) 50%,
    rgba(18, 18, 28, 0.78) 100%
  );
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.footer-brand img {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer-brand::before {
  content: "";
  display: block;
  height: 3.25rem;
  width: calc(3.25rem * 192 / 85);
  background: url("../images/logo-text.png") no-repeat center / contain;
}

.footer-brand::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3.25rem;
  width: calc(3.25rem * 192 / 85);
  background-color: var(--rose-fonce);
  mask: url("../images/logo-loupe.png") no-repeat center / contain;
  -webkit-mask: url("../images/logo-loupe.png") no-repeat center / contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.footer-name {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-titre);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 0.82rem;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

/* ——— SEO / accessibilité ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.5rem 0.65rem 0.6rem;
    column-gap: 0.4rem;
  }

  .logo-link {
    height: var(--header-nav-h, 1.875rem);
    width: min(calc(var(--header-nav-h, 1.875rem) * 192 / 85), 4.25rem);
  }

  .logo-link img {
    position: absolute;
    width: 1px;
    height: 1px;
  }

  .nav-shortcuts {
    gap: 0.25rem 0.4rem;
  }

  .nav-shortcuts a {
    font-size: 0.72rem;
  }

  .article-portfolio {
    padding: 1.25rem;
  }
}

@media (max-width: 400px) {
  :root {
    --header-nav-h: 1.625rem;
  }

  .logo-link {
    width: min(calc(var(--header-nav-h, 1.875rem) * 192 / 85), 3.5rem);
  }

  .logo-link img {
    position: absolute;
    width: 1px;
    height: 1px;
  }

}

/* ——— Thèmes par section ——— */
/* Accueil / Tous — bordeaux */
body.page-index[data-section-filter="tous"],
body.page-index:not([data-section-filter]),
body.page-section-accueil {
  --rose-fonce: #8b1538;
  --rose-fonce-hover: #6d102c;
  --or-orange: #a82d4f;
  --or-clair: #c44d6a;
  --or-pale: #faf0f3;
  --ombre: 0 4px 24px rgba(139, 21, 56, 0.12);
}

/* Souterrain — brun */
body.page-index[data-section-filter="souterrain"],
body.page-category[data-section-filter="souterrain"],
body.page-section-souterrain {
  --rose-fonce: #6b4423;
  --rose-fonce-hover: #523318;
  --or-orange: #a67c52;
  --or-clair: #c4a882;
  --or-pale: #f5efe8;
  --ombre: 0 4px 24px rgba(107, 68, 35, 0.15);
}

/* Articles — vert */
body.page-index[data-section-filter="articles"],
body.page-category[data-section-filter="articles"],
body.page-section-articles {
  --rose-fonce: #2d6b3f;
  --rose-fonce-hover: #234f30;
  --or-orange: #4a8f5c;
  --or-clair: #6faf7e;
  --or-pale: #f0f7f1;
  --ombre: 0 4px 24px rgba(45, 107, 63, 0.15);
}

/* DIY — jaune */
body.page-index[data-section-filter="diy"],
body.page-category[data-section-filter="diy"],
body.page-section-diy {
  --rose-fonce: #9a7b0a;
  --rose-fonce-hover: #7a6208;
  --or-orange: #e8c547;
  --or-clair: #f5dc6e;
  --or-pale: #fffbea;
  --ombre: 0 4px 24px rgba(154, 123, 10, 0.15);
}

/* Parcs — bleu */
body.page-index[data-section-filter="parcs"],
body.page-category[data-section-filter="parcs"],
body.page-section-parcs {
  --rose-fonce: #1e5a8e;
  --rose-fonce-hover: #164468;
  --or-orange: #4a90c4;
  --or-clair: #7eb8e0;
  --or-pale: #e8f4fc;
  --ombre: 0 4px 24px rgba(30, 90, 142, 0.15);
}

/* Urbex — gris */
body.page-index[data-section-filter="urbex"],
body.page-category[data-section-filter="urbex"],
body.page-section-urbex {
  --rose-fonce: #4a5568;
  --rose-fonce-hover: #3d4554;
  --or-orange: #6b7280;
  --or-clair: #9ca3af;
  --or-pale: #f3f4f6;
  --ombre: 0 4px 24px rgba(74, 85, 104, 0.15);
}

/* ——— Page 404 ——— */
.page-404__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem 1rem 3rem;
}

.page-404__card {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--fond-carte, #fff);
  border-radius: 0.5rem;
  box-shadow: var(--ombre);
}

.page-404__code {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--or-clair);
  margin: 0 0 0.5rem;
}

.page-404__card h1 {
  font-family: var(--font-titre);
  font-size: 1.75rem;
  color: var(--rose-fonce);
  margin: 0 0 1rem;
}

.page-404__card .intro {
  margin-bottom: 1.5rem;
}

.page-404__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.page-404__actions .read-more {
  margin-top: 0.25rem;
}

