@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@200;300;400;500;600&display=swap');

:root {
  --coal:#A0522D ;
  --ember: #EC5800;
  --ash:#000000;
  --gold: #faf6f0;
  --gold-light: #000000;
  --cream:#FF4500;
  --warm-white: #faf6f0;
  --fire-orange: #d4602a;
  --fire-red: #b03020;
  --smoke: rgba(255,255,255,0.06);
  --safe-scroll-offset: 96px;
  --section-start-scroll-offset: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--safe-scroll-offset, 96px);
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--coal);
  color: var(--cms-menu-color, var(--cream));
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--coal);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.topbar span { color: var(--gold); }

.topbar-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.topbar-btn:hover { background: var(--gold); color: var(--coal); }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  /*background: #FFB347;*/
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  transition: all 0.4s;
}

nav.scrolled {
  top: 0;
  padding: 12px 48px;
  background: rgba(26,20,16,0.98);
}

.site-header {
  position: relative;
  z-index: 100;
}

.site-shell.header-layout-wide-image #main-nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  min-height: 72px;
  padding: 16px 48px;
  justify-content: center;
  background: rgba(26,20,16,0.96);
}

.site-shell.header-layout-wide-image #main-nav.scrolled {
  top: auto;
  padding: 16px 48px;
}

.site-shell.header-layout-wide-image #main-nav .nav-links {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.site-shell.header-layout-wide-image .header-wide-image {
  position: relative;
  z-index: 1;
  clear: both;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  background: #111;
  line-height: 0;
}

.site-shell.header-layout-wide-image .header-wide-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Cercle du logo */
/* Conteneur du logo */
.logo-emblem {
  width: 200px;       /* taille plus grande */
  height: 150px;      /* même proportion que la largeur */
  overflow: hidden;   /* utile si ton image dépasse un peu */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;       /* supprime le cercle */
  border-radius: 0;   /* pas de coins arrondis */
}

/* Image du logo */
.logo-emblem img {
  width: 120%;
  height: 100%;
  object-fit: contain;  /* l'image garde ses proportions */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  overflow: visible;
}

.nav-item {
  position: relative;
  overflow: visible;
}

.nav-item.has-mega {
  position: relative;
}

.nav-links a,
.nav-dropdown-trigger {
  color: var(--cms-menu-color, var(--cream));
  text-decoration: none;
  font-size: var(--cms-menu-font-size, 0.90rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  font-family: 'Raleway', sans-serif;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-links a::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s;
}

.nav-links a:hover,
.nav-dropdown-trigger:hover,
.nav-item.has-mega:hover .nav-dropdown-trigger,
.nav-item.has-mega:focus-within .nav-dropdown-trigger {
  color: var(--cms-menu-hover-color, var(--gold));
}

.nav-links a:hover::after,
.nav-dropdown-trigger:hover::after,
.nav-item.has-mega:hover .nav-dropdown-trigger::after,
.nav-item.has-mega:focus-within .nav-dropdown-trigger::after {
  right: 0;
}

.nav-caret {
  font-size: 0.74em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.nav-item.has-mega:hover .nav-caret,
.nav-item.has-mega:focus-within .nav-caret {
  transform: translateY(-1px) rotate(180deg);
}

.nav-links .nav-highlight,
.nav-links .nav-dropdown-trigger.nav-highlight {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
}

.nav-links .nav-highlight::after,
.nav-links .nav-dropdown-trigger.nav-highlight::after { display: none; }
.nav-links .nav-highlight:hover,
.nav-links .nav-dropdown-trigger.nav-highlight:hover { background: var(--gold); color: var(--coal); }

.mega-menu-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 1500;
  width: min(1040px, calc(100vw - 48px));
  padding-top: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--mega-menu-shift, -50%)) translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mega-menu-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22px;
}

.nav-item.has-mega:hover .mega-menu-panel,
.nav-item.has-mega:focus-within .mega-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(var(--mega-menu-shift, -50%)) translateY(0);
}

.mega-menu-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 28px;
  padding: 34px 38px;
  background: rgba(255, 250, 245, 0.99);
  color: #21140d;
  border: 1px solid rgba(91, 49, 28, 0.32);
  box-shadow: 0 24px 54px rgba(22, 15, 11, 0.38);
}

.mega-menu-heading {
  display: grid;
  align-content: start;
  gap: 8px;
}

.mega-menu-heading span {
  color: #8c3f1f;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mega-menu-heading strong {
  color: #21140d;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.mega-menu-grid a {
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(130, 62, 29, 0.34);
  background: #fff7ef;
  color: #21140d !important;
  text-shadow: none !important;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mega-menu-grid a::after {
  display: none;
}

.mega-menu-grid a:hover,
.mega-menu-grid a:focus {
  border-color: rgba(126, 51, 20, 0.76);
  background: #f0d8c6;
  color: #6f2d14 !important;
  transform: translateY(-2px);
}

.mega-menu-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}

.mega-menu-group {
  min-width: 0;
}

.mega-menu-group h5 {
  margin: 0 0 10px;
  color: #8c3f1f;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.mega-menu-group-links {
  display: grid;
  gap: 8px;
}

.mega-menu-group-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(130, 62, 29, 0.28);
  background: #fff7ef;
  color: #21140d !important;
  text-shadow: none !important;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mega-menu-group-links a::after {
  display: none;
}

.mega-menu-group-links a:hover,
.mega-menu-group-links a:focus {
  border-color: rgba(126, 51, 20, 0.76);
  background: #f0d8c6;
  color: #6f2d14 !important;
  transform: translateY(-2px);
}
.nav-links li a.nav-partner {
  color: var(--gold) !important;
  border-bottom: 1px solid var(--gold) !important;
  animation: blink 1.5s ease-in-out infinite !important;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26,20,16,0.5) 0%, rgba(26,20,16,0.2) 40%, rgba(26,20,16,0.6) 100%),
    url('../images/spaRoom.png') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 70%, rgba(180, 80, 30, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  animation: heroReveal 1.2s ease-out forwards;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 20px;
  font-family: 'Raleway', sans-serif;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cms-title-color, var(--warm-white));
  margin-bottom: 32px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(245,237,224,0.75);
  margin-bottom: 48px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--cms-primary-button-color, var(--gold));
  color: var(--cms-primary-button-text-color, var(--coal));
  border: none;
  padding: 14px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,237,224,0.5);
  padding: 14px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,237,224,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ── PROMO BANNER ── */
.promo-banner {
  background: linear-gradient(135deg, var(--ember) 0%, #3d2810 100%);
  border-top: 1px solid rgba(201,169,110,0.3);
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding: 28px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #E67E22;
}

.promo-banner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  position: relative;
}

.promo-banner strong {
  font-style: normal;
  font-weight: 600;
  color: var(--warm-white);
}

/* ── SECTION COMMON ── */
/* -- SERVICES & MARQUES -- */
.services-brands {
  background: #A0522D;
  padding: 96px 48px;
}

.services-brands-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-brands-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.services-brands-header p:not(.section-label) {
  color: rgba(250,246,240,0.82);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.services-brands-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.showroom-page {
  background: #A0522D;
  min-height: 70vh;
  padding: 96px 48px;
}

.showroom-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.showroom-header {
  margin-bottom: 46px;
}

.showroom-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
  padding: 34px;
  border: 1px solid rgba(250,246,240,0.18);
  background: rgba(26,20,16,0.18);
}

.showroom-intro span,
.showroom-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.showroom-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.showroom-intro p {
  color: rgba(250,246,240,0.82);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.showroom-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.showroom-card {
  background: rgba(26,20,16,0.22);
  border: 1px solid rgba(250,246,240,0.14);
  overflow: hidden;
  min-height: 100%;
}

.showroom-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.showroom-card div {
  padding: 22px;
}

.showroom-card h3 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 12px;
}

.showroom-card p {
  color: rgba(250,246,240,0.74);
  line-height: 1.65;
  font-size: 0.86rem;
}

.catalogues-page {
  background: #A0522D;
  min-height: 70vh;
  padding: 96px 48px;
}

.catalogues-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.catalogues-header {
  margin-bottom: 42px;
}

.catalogues-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgba(250,246,240,0.18);
  background: rgba(26,20,16,0.18);
}

.catalogues-intro span,
.catalogue-card-body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalogues-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.catalogues-intro p {
  color: rgba(250,246,240,0.82);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.catalogues-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.catalogue-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(250,246,240,0.16);
  background: rgba(26,20,16,0.22);
}

.catalogue-cover {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 18px;
  background: rgba(12,9,7,0.32);
}

.catalogue-cover img {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  box-shadow: 0 14px 28px rgba(0,0,0,0.26);
}

.catalogue-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.catalogue-card-body h3 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.38rem;
  line-height: 1.08;
  margin-bottom: 10px;
}

.catalogue-card-body p {
  color: rgba(250,246,240,0.76);
  line-height: 1.62;
  font-size: 0.82rem;
}

.catalogue-card-body .catalogue-date {
  margin: 0 0 10px;
  color: rgba(250,246,240,0.58);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalogue-card-body a {
  margin-top: auto;
  padding-top: 18px;
  color: #FF4500;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalogue-card-body a:hover {
  color: var(--gold-light);
}

.wellness-page {
  background: #A0522D;
  min-height: 70vh;
  padding: 96px 48px;
}

.wellness-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.wellness-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 42px;
}

.wellness-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.wellness-hero-copy p:not(.section-label),
.wellness-intro p {
  color: rgba(250,246,240,0.82);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.wellness-hero-media {
  min-height: 420px;
  overflow: hidden;
  background: rgba(26,20,16,0.22);
}

.wellness-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.95);
}

.wellness-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgba(250,246,240,0.18);
  background: rgba(26,20,16,0.18);
}

.wellness-intro span,
.wellness-card-body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wellness-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.wellness-documents {
  margin: 0 0 34px;
  padding: 34px;
  border: 1px solid rgba(250,246,240,0.18);
  background: rgba(26,20,16,0.18);
}

.wellness-documents-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.wellness-documents-heading span,
.wellness-document-card span {
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wellness-documents-heading h2 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.wellness-document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wellness-document-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(250,246,240,0.16);
  background: rgba(26,20,16,0.22);
}

.wellness-document-card h3 {
  margin: 10px 0 12px;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.wellness-document-card p {
  color: rgba(250,246,240,0.76);
  line-height: 1.62;
  font-size: 0.82rem;
}

.wellness-document-card a {
  margin-top: auto;
  padding-top: 18px;
  color: #FF4500;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.wellness-document-card a:hover {
  color: var(--gold-light);
}

.wellness-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wellness-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(250,246,240,0.16);
  background: rgba(26,20,16,0.22);
}

.wellness-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
  filter: brightness(0.82) saturate(0.92);
}

.wellness-card:hover .wellness-card-media img {
  transform: scale(1.04);
  filter: brightness(0.72) saturate(1);
}

.wellness-card-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.wellness-card-body h3 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 1.8vw, 1.95rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.wellness-card-body p {
  color: rgba(250,246,240,0.76);
  line-height: 1.68;
  font-size: 0.84rem;
}

.wellness-card-body a {
  margin-top: auto;
  padding-top: 18px;
  color: #FF4500;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.wellness-card-body a:hover {
  color: var(--gold-light);
}

#notre-showroom-title,
#nos-services-et-marques-title,
#catalogues-title,
#bien-etre-page-title {
  scroll-margin-top: var(--safe-scroll-offset, calc(var(--public-sticky-header-height, var(--public-nav-height, 90px)) + 16px));
}

.services-about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 22px;
  margin: 0 0 34px;
}

.services-about-card,
.services-list-card {
  border: 1px solid rgba(250,246,240,0.18);
  background: rgba(26,20,16,0.2);
  padding: 30px;
}

.services-about-card span,
.services-list-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.services-about-card h3,
.services-list-card h3 {
  margin: 0 0 16px;
  color: #faf6f0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.services-about-card p,
.service-line p {
  color: rgba(250,246,240,0.8);
  line-height: 1.8;
}

.services-line-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.service-line {
  padding-top: 14px;
  border-top: 1px solid rgba(250,246,240,0.14);
}

.service-line strong {
  display: block;
  margin-bottom: 7px;
  color: #faf6f0;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-line p {
  margin: 0;
  font-size: 0.78rem;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #2b1a10;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,10,7,0.92), rgba(14,10,7,0.34) 58%, rgba(14,10,7,0.08));
  pointer-events: none;
}

.service-card-image,
.service-card-image img {
  width: 100%;
  height: 100%;
}

.service-card-image img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
}

.service-card-body span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card-body h3 {
  margin: 0 0 12px;
  color: #faf6f0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 1.45vw, 1.75rem);
  font-weight: 400;
  line-height: 1.18;
}

.service-card-body p {
  margin: 0 0 18px;
  color: rgba(250,246,240,0.82);
  font-size: 0.82rem;
  line-height: 1.75;
}

.service-card-body a {
  color: #FF4500;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.brand-pill {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 18px;
  border: 1px solid rgba(250,246,240,0.22);
  background: rgba(26,20,16,0.24);
  color: #faf6f0;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.brand-pill:hover {
  border-color: rgba(250,246,240,0.58);
  background: rgba(26,20,16,0.38);
  transform: translateY(-2px);
}

.brand-pill strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.brand-pill span {
  color: rgba(250,246,240,0.72);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

section { padding: 82px 48px; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--gold); }

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.divider.centered { margin-left: auto; margin-right: auto; }

/* ── CATEGORIES ── */
.categories {
  background: var(--cms-section-background-color, var(--coal));
}
#categories {
    scroll-margin-top: var(--safe-scroll-offset, 96px);
}
.categories-inner {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.7);
}

.cat-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.5);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px;
  transition: all 0.4s;
}

.cat-card:hover .cat-overlay {
  background: linear-gradient(to top, rgba(26,20,16,0.95) 0%, rgba(26,20,16,0.3) 100%);
}

.cat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201,169,110,0.15);
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
  transition: color 0.4s;
}

.cat-card:hover .cat-number { color: rgba(201,169,110,0.3); }

.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s;
}

.cat-card:hover .cat-desc {
  opacity: 1;
  transform: translateY(0);
}

.cat-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s 0.05s;
  text-decoration: none;
}

.cat-card:hover .cat-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── FEATURES ── */
.features {
  background: var(--ember);
  border-top: 1px solid rgba(201,169,110,0.1);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}

.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.feature-text {
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--ash);
  font-weight: 300;
}

/* ── REALISATIONS ── */
.realisations {
  background: #F28500;
  min-height: calc(100vh - var(--section-start-scroll-offset, 0px));
}
#realisations {
    scroll-margin-top: var(--section-start-scroll-offset, var(--safe-scroll-offset, 96px));
}
.realisations-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.realisations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.real-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.real-item {
  position: relative;
  overflow: hidden;
}

.real-item:first-child {
  grid-row: 1 / 3;
}

.real-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 200px;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.8) saturate(0.9);
}

.real-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.6) saturate(1.1);
}

.real-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(26,20,16,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.real-item:hover .real-item-overlay { opacity: 1; }

.real-item-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

/* ── PROMOTIONS ── */
.promotions {
  background: var(--coal);
  min-height: calc(100vh - var(--section-start-scroll-offset, 0px));
}

#promotions {
    scroll-margin-top: var(--section-start-scroll-offset, var(--safe-scroll-offset, 96px));
}

.promotions-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.promo-card {
  background: var(--ember);
  border: 1px solid rgba(201,169,110,0.1);
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s;
  position: relative;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,169,110,0.35);
}

.promo-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--fire-orange);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  z-index: 2;
}

.promo-img {
  aspect-ratio: 4/3;
  max-height: 220px;
  overflow: hidden;
}

.promo-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.85) saturate(0.9);
}

.promo-card:hover .promo-img img { transform: scale(1.04); }

.promo-body {
  padding: 16px;
}

.promo-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--warm-white);
}

.promo-body p {
  font-size: 0.77rem;
  line-height: 1.7;
  color: var(--ash);
  margin-bottom: 20px;
}

.promo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.price-new {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
}

.price-old {
  font-size: 0.9rem;
  color: var(--ash);
  text-decoration: line-through;
}

/* ── CONTACT / CTA ── */
.cta-section {
  background: var(--coal);
  padding: 96px 48px;
  min-height: calc(100vh - var(--section-start-scroll-offset, 0px));
  text-align: center;
  scroll-margin-top: var(--section-start-scroll-offset, var(--safe-scroll-offset, 96px));
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--ash);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: #FF5A1F;
  border-top: 1px solid rgba(201,169,110,0.1);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--ash);
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--ash);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.3s;
  letter-spacing: 0.05em;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-link .bi {
  flex: 0 0 auto;
  margin-top: 0.08em;
  color: currentColor;
  font-size: 1em;
  line-height: 1.35;
}

.footer-contact-link span {
  min-width: 0;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  font-size: 0.7rem;
  color:#000000;
  letter-spacing: 0.08em;
}

.footer-bottom-copyright {
  justify-self: start;
}

.footer-credit {
  justify-self: center;
  text-align: center;
}

.footer-legal-link {
  justify-self: end;
  text-align: right;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

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

.rgpd-consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  width: min(720px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid rgba(250,246,240,0.24);
  background: rgba(26, 20, 16, 0.96);
  color: #faf6f0;
  box-shadow: 0 22px 54px rgba(0,0,0,0.34);
}

.rgpd-consent-banner[hidden],
.rgpd-consent-reopen[hidden] {
  display: none;
}

.rgpd-consent-copy {
  display: grid;
  gap: 8px;
}

.rgpd-consent-copy span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rgpd-consent-copy p {
  margin: 0;
  color: rgba(250,246,240,0.82);
  font-size: 0.82rem;
  line-height: 1.65;
}

.rgpd-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rgpd-consent-actions button,
.rgpd-consent-reopen {
  min-height: 42px;
  border: 1px solid rgba(250,246,240,0.36);
  padding: 10px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.rgpd-consent-decline {
  background: transparent;
  color: #faf6f0;
}

.rgpd-consent-accept {
  background: #faf6f0;
  color: #A0522D;
}

.rgpd-consent-reopen {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2190;
  background: rgba(26, 20, 16, 0.88);
  color: #faf6f0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-about-grid { grid-template-columns: 1fr; }
  .service-card-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-gallery { grid-template-columns: repeat(2, 1fr); }
  .catalogues-grid { grid-template-columns: repeat(3, 1fr); }
  .wellness-hero { grid-template-columns: 1fr; }
  .wellness-card-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wellness-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 18px;
  }
  .site-shell.header-layout-logo {
    --public-nav-height: 238px;
  }
  .nav-logo {
    justify-content: center;
  }
  .logo-emblem {
    width: 140px;
    height: 100px;
  }
  section { padding: 64px 24px; }
  .services-brands { padding: 64px 24px; }
  .showroom-page { padding: 64px 24px; }
  .catalogues-page { padding: 64px 24px; }
  .wellness-page { padding: 64px 24px; }
  .showroom-intro { grid-template-columns: 1fr; padding: 24px; }
  .catalogues-intro { grid-template-columns: 1fr; padding: 24px; }
  .wellness-intro { grid-template-columns: 1fr; padding: 24px; }
  .wellness-hero-copy,
  .wellness-hero-media { min-height: 320px; }
  .showroom-gallery { grid-template-columns: 1fr; }
  .service-card-grid,
  .services-line-list,
  .brand-strip,
  .catalogues-grid,
  .wellness-card-grid,
  .wellness-document-grid,
  .mega-menu-grid,
  .mega-menu-groups { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .services-brands-actions { display: grid; }
  .categories-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .real-item:first-child { grid-row: auto; }
  .nav-links {
    display: flex;
    width: 100%;
    gap: 12px 16px;
    overflow-x: auto;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 6px;
    scrollbar-width: thin;
  }
  .nav-links li {
    flex: 0 0 auto;
  }
  .nav-links a,
  .nav-dropdown-trigger {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }
  .mega-menu-panel {
    left: 0;
    width: min(92vw, 520px);
    padding-top: 18px;
    max-height: calc(100vh - var(--public-nav-height, 238px));
    overflow-y: auto;
    --mega-menu-shift: 0;
    transform: translateY(-10px);
  }
  .mega-menu-panel::before {
    height: 18px;
  }
  .nav-item.has-mega:hover .mega-menu-panel,
  .nav-item.has-mega:focus-within .mega-menu-panel {
    transform: translateY(0);
  }
  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .mega-menu-grid a {
    min-height: 54px;
    padding: 14px 16px;
  }
  .mega-menu-group-links a {
    min-height: 48px;
  }
  .site-shell.header-layout-wide-image #main-nav {
    min-height: auto;
    padding: 14px 18px;
  }
  .site-shell.header-layout-wide-image #main-nav .nav-links {
    display: flex;
    gap: 12px 16px;
  }
  .site-shell.header-layout-wide-image #main-nav .nav-links a,
  .site-shell.header-layout-wide-image #main-nav .nav-dropdown-trigger {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .site-shell.header-layout-wide-image .header-wide-image {
    height: auto;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom-copyright,
  .footer-credit,
  .footer-legal-link {
    justify-self: center;
    text-align: center;
  }
  .rgpd-consent-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: auto;
  }
  .rgpd-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .realisations-header { flex-direction: column; gap: 20px; align-items: flex-start; }
}
.pulse-btn { display: inline-block; 
/* important pour <a> */ 
padding: 12px 20px; 
background: #000080; 
color: white; 
text-decoration: none;
border-radius: 6px;
cursor: pointer; 
animation: pulse 1.5s infinite;
font-weight: 600; }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,106,0,0.7); 
} 70% { transform: scale(1.05); 
box-shadow: 0 0 0 15px rgba(255,106,0,0);
} 100% { transform: scale(1); 
} }

/* Public fixed menu: keep content in flow while the nav follows scroll. */
.site-shell {
  --public-nav-height: 72px;
  --public-sticky-header-height: var(--public-nav-height);
  --public-menu-bg: rgba(26, 20, 16, 0.7);
  --public-menu-border: rgba(255, 255, 255, 0.12);
  --public-menu-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  --public-menu-link: var(--cms-menu-color, var(--cream));
  --public-menu-link-hover: var(--cms-menu-hover-color, var(--gold));
}

.site-shell.header-layout-logo {
  --public-nav-height: 186px;
}

.site-shell.header-layout-wide-image {
  --public-nav-height: 72px;
  --public-sticky-header-height: 180px;
  --public-header-image-height: 220px;
}

.site-shell.header-layout-logo .topbar {
  display: none;
}

.site-shell .site-header {
  position: relative;
  z-index: 1000;
  padding-top: var(--public-nav-height);
}

.site-shell #main-nav,
.site-shell #main-nav.scrolled,
.site-shell.header-layout-wide-image .site-header > #main-nav,
.site-shell.header-layout-wide-image .site-header > #main-nav.scrolled {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  z-index: 1100;
  width: 100% !important;
  background: var(--public-menu-bg) !important;
  border-bottom-color: var(--public-menu-border);
  box-shadow: var(--public-menu-shadow);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  flex: 0 0 auto;
}

.site-shell #main-nav[data-menu-tone="image"],
.site-shell #main-nav[data-menu-tone="dark"] {
  --public-menu-bg: rgba(22, 15, 11, 0.7);
  --public-menu-border: rgba(255, 255, 255, 0.14);
  --public-menu-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  --public-menu-link: var(--cms-menu-color, var(--cream));
  --public-menu-link-hover: var(--cms-menu-hover-color, var(--gold));
}

.site-shell #main-nav[data-menu-tone="warm"] {
  --public-menu-bg: rgba(139, 70, 37, 0.7);
  --public-menu-border: rgba(255, 246, 235, 0.16);
  --public-menu-shadow: 0 12px 30px rgba(70, 27, 9, 0.22);
  --public-menu-link: #fff6ed;
  --public-menu-link-hover: #ffffff;
}

.site-shell #main-nav[data-menu-tone="light"] {
  --public-menu-bg: rgba(250, 246, 240, 0.7);
  --public-menu-border: rgba(38, 24, 16, 0.14);
  --public-menu-shadow: 0 10px 24px rgba(44, 29, 18, 0.12);
  --public-menu-link: #26170f;
  --public-menu-link-hover: #8b4625;
}

.site-shell #main-nav .nav-links a:not(.nav-highlight),
.site-shell #main-nav .nav-dropdown-trigger:not(.nav-highlight) {
  color: var(--public-menu-link) !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

.site-shell #main-nav .nav-links a:not(.nav-highlight):hover,
.site-shell #main-nav .nav-dropdown-trigger:not(.nav-highlight):hover,
.site-shell #main-nav .nav-item.has-mega:hover .nav-dropdown-trigger:not(.nav-highlight),
.site-shell #main-nav .nav-item.has-mega:focus-within .nav-dropdown-trigger:not(.nav-highlight) {
  color: var(--public-menu-link-hover) !important;
}

.site-shell #main-nav[data-menu-tone="light"] .nav-links a:not(.nav-highlight),
.site-shell #main-nav[data-menu-tone="light"] .nav-dropdown-trigger:not(.nav-highlight) {
  text-shadow: none;
}

.site-shell #main-nav .nav-highlight {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.site-shell.header-layout-wide-image .site-header {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1100;
  padding-top: 0;
  background: transparent;
}

.site-shell.header-layout-wide-image .site-header > #main-nav,
.site-shell.header-layout-wide-image .site-header > #main-nav.scrolled {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  flex: 0 0 auto;
}

.site-shell.header-layout-wide-image .site-header > .header-wide-image {
  position: relative !important;
  top: auto !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: var(--public-header-image-height, 220px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 0 !important;
  opacity: 1;
  overflow: hidden !important;
  transform: translateY(0);
  visibility: visible;
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease, visibility 0s linear 0s;
}

.site-shell.header-layout-wide-image .site-header > .header-wide-image > img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.site-shell.header-layout-wide-image.is-wide-image-hidden .site-header > .header-wide-image {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: max-height 0.28s ease, opacity 0.18s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

body.is-pdf-viewer-open {
  overflow: hidden;
}

.pdf-viewer-modal[hidden] {
  display: none;
}

.pdf-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-duration, 0.35s) var(--motion-ease, ease);
}

.pdf-viewer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pdf-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 7, 5, 0.68);
  backdrop-filter: blur(10px);
}

.pdf-viewer-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  height: min(920px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 8px;
  background: #fffaf3;
  color: #21150f;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition: transform var(--motion-duration, 0.35s) var(--motion-ease, ease);
}

.pdf-viewer-modal.is-open .pdf-viewer-dialog {
  transform: translate3d(0, 0, 0) scale(1);
}

.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(33, 21, 15, 0.12);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(250, 246, 240, 0.94));
}

.pdf-viewer-heading {
  min-width: 0;
}

.pdf-viewer-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--cms-primary-button-color, var(--fire-orange));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-viewer-heading h2 {
  max-width: min(620px, 58vw);
  overflow: hidden;
  margin: 0;
  color: #21150f;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-viewer-actions,
.editor-pdf-actions,
.catalogue-card-actions,
.wellness-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pdf-viewer-actions {
  justify-content: flex-end;
}

.pdf-viewer-actions a,
.pdf-viewer-actions button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(33, 21, 15, 0.18);
  border-radius: 6px;
  background: transparent;
  color: #21150f;
  cursor: pointer;
  font: 700 0.72rem/1 'Raleway', sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pdf-viewer-actions a {
  border-color: var(--cms-primary-button-color, var(--fire-orange));
  background: var(--cms-primary-button-color, var(--fire-orange));
  color: var(--cms-primary-button-text-color, #fffaf3);
}

.pdf-viewer-actions button:hover,
.pdf-viewer-actions a:hover {
  transform: translateY(-1px);
}

.pdf-viewer-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  background: #18120e;
}

.pdf-viewer-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #2a2622;
}

.pdf-viewer-fallback {
  margin: 0;
  padding: 9px 14px;
  background: #fffaf3;
  color: #35251c;
  font-size: 0.78rem;
  line-height: 1.35;
}

.catalogue-card-actions,
.wellness-document-actions {
  margin-top: auto;
  padding-top: 18px;
}

.catalogue-card-body .catalogue-card-actions a,
.wellness-document-card .wellness-document-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 0;
  padding: 9px 12px;
  border: 1px solid rgba(250, 246, 240, 0.24);
  border-radius: 6px;
  font-size: 0.68rem;
  line-height: 1.05;
  text-align: center;
}

.catalogue-card-body .catalogue-card-actions .pdf-open-link,
.wellness-document-card .wellness-document-actions .pdf-open-link {
  border-color: var(--cms-primary-button-color, var(--gold));
  background: var(--cms-primary-button-color, var(--gold));
  color: var(--cms-primary-button-text-color, var(--coal));
}

.catalogue-card-body .catalogue-card-actions .pdf-download-link,
.wellness-document-card .wellness-document-actions .pdf-download-link {
  color: var(--gold-light);
}

.editor-pdf-actions {
  margin: 0 0 12px;
}

.editor-pdf-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #bda98f;
  border-radius: 6px;
  background: #fff;
  color: #1f1a14;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.editor-pdf-actions .pdf-open-link {
  border-color: #1f1a14;
  background: #1f1a14;
  color: #fff;
}

.editor-empty-note {
  margin: 0 0 12px;
  color: #4b4036;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .pdf-viewer-modal {
    padding: 0;
  }

  .pdf-viewer-dialog {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .pdf-viewer-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .pdf-viewer-heading h2 {
    max-width: 100%;
    white-space: normal;
  }

  .pdf-viewer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pdf-viewer-actions a,
  .pdf-viewer-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell.header-layout-wide-image .site-header > .header-wide-image,
  .site-shell.header-layout-wide-image.is-wide-image-hidden .site-header > .header-wide-image {
    transition: none;
  }
}

.site-shell [id],
.site-shell .section-title,
.site-shell .page-title,
.site-shell [data-scroll-target="true"] {
  scroll-margin-top: var(--safe-scroll-offset, calc(var(--public-sticky-header-height, var(--public-nav-height, 90px)) + 16px));
}

.site-shell .site-header,
.site-shell #main-nav {
  overflow: visible;
}

.site-shell #main-nav .mega-menu-inner,
.site-shell #main-nav .mega-menu-heading strong {
  color: #21140d;
  text-shadow: none;
}

.site-shell #main-nav .mega-menu-heading span {
  color: #8c3f1f;
  text-shadow: none;
}

.site-shell #main-nav .mega-menu-grid a:not(.nav-highlight),
.site-shell #main-nav .mega-menu-group-links a:not(.nav-highlight) {
  color: #21140d !important;
  background: #fff7ef;
  border-color: rgba(130, 62, 29, 0.34);
  text-shadow: none !important;
}

.site-shell #main-nav .mega-menu-grid a:not(.nav-highlight):hover,
.site-shell #main-nav .mega-menu-grid a:not(.nav-highlight):focus,
.site-shell #main-nav .mega-menu-group-links a:not(.nav-highlight):hover,
.site-shell #main-nav .mega-menu-group-links a:not(.nav-highlight):focus {
  color: #6f2d14 !important;
  background: #f0d8c6;
  border-color: rgba(126, 51, 20, 0.76);
}

@media (min-width: 769px) {
  .site-shell #main-nav .nav-links,
  .site-shell #main-nav .nav-item.has-mega {
    overflow: visible;
  }

  .site-shell #main-nav .nav-item.has-mega {
    position: static;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
  }

  .site-shell #main-nav .mega-menu-panel {
    top: calc(100% - 18px);
    left: 50%;
    width: min(1040px, calc(100vw - 48px));
    padding-top: 18px;
    --mega-menu-shift: -50%;
  }

  .site-shell #main-nav .mega-menu-panel::before {
    height: 18px;
  }
}
