/*
  Ma Com’Perso — Design system (vNext)
  Objectif : cohérence globale + pages produits & articles faciles à maintenir.
*/

:root {
  --brand-primary: #1e40af;
  --brand-accent: #f59e0b;
  --brand-teal: #0ea5a8;
  --brand-dark: #1f2937;
  --brand-muted: #6b7280;
  --brand-light: #f8fafc;
  --surface: #ffffff;

  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #6b7280 100%);
  --gradient-cta: linear-gradient(90deg, #0ea5a8 0%, #3b82f6 100%);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --container-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  /* Fix for sticky navbar overlap on anchors */
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: var(--brand-dark);
  background: var(--brand-light);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-product-hub,
body.page-catalogue {
  background: linear-gradient(135deg, hsl(210, 70%, 88%) 0%, #f8fafc 50%, hsl(0, 70%, 88%) 100%);
}

body.page-contact {
  background: linear-gradient(135deg, hsl(210, 70%, 88%) 0%, #f8fafc 50%, hsl(0, 70%, 88%) 100%);
}

.page-contact .main-content {
  background: transparent;
}

/* Nos clients (hub) — visuels produits sur les côtés */
body.page-clients .main-content {
  position: relative;
  z-index: 0;
}

body.page-clients .main-content > .container {
  position: relative;
  z-index: 1;
}

body.page-clients .clients-side-images {
  position: fixed;
  top: 170px;
  width: 170px;
  display: none;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  filter: saturate(1.05);
}

body.page-clients .clients-side-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

body.page-clients .clients-side-images img:nth-child(1) {
  transform: rotate(-3deg);
}

body.page-clients .clients-side-images img:nth-child(2) {
  transform: rotate(2deg);
}

body.page-clients .clients-side-images img:nth-child(3) {
  transform: rotate(-1deg);
}

body.page-clients .clients-side-images--right img:nth-child(1) {
  transform: rotate(3deg);
}

body.page-clients .clients-side-images--right img:nth-child(2) {
  transform: rotate(-2deg);
}

body.page-clients .clients-side-images--right img:nth-child(3) {
  transform: rotate(1deg);
}

@media (min-width: 1200px) {
  body.page-clients .clients-side-images {
    display: flex;
  }

  body.page-clients .clients-side-images--left {
    left: 14px;
  }

  body.page-clients .clients-side-images--right {
    right: 14px;
  }
}

@media (min-width: 1400px) {
  body.page-clients .clients-side-images {
    width: 200px;
    opacity: 0.32;
  }
}

@media (min-width: 1600px) {
  body.page-clients .clients-side-images {
    width: 220px;
    opacity: 0.38;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand-accent);
}

.site-main {
  padding-top: 0;
  /* Removed global padding to fix white bar issue, sub-pages handle their own padding */
  flex: 1 0 auto;
}

/* Navbar */
.navbar {
  background: rgba(31, 41, 55, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}


.navbar.navbar-scrolled {
  background: rgba(31, 41, 55, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}




.navbar-brand img {
  height: 70px;
  width: auto;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.brand-badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin: 0 0.65rem;
  position: relative;
  transition: color 0.12s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: #e1000f;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.navbar-nav .nav-link-noel::after {
  background: currentColor;
}

/* Navbar: link + toggle (sober) */
.nav-link-group {
  display: inline-flex;
  align-items: center;
}


/* Desktop dropdown: open on hover/focus, click navigates (no separate toggle) */
@media (min-width: 992px) {

  .navbar .nav-item.dropdown:hover>.dropdown-menu,
  .navbar .nav-item.dropdown:focus-within>.dropdown-menu {
    display: block;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
  }
}

.dropdown-mega {
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 231, 235, 1);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  min-width: min(860px, calc(100vw - 24px));
}

.dropdown-mega-title {
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0.25rem 0 0.35rem;
}

.dropdown-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(30, 64, 175, 0.08);
}

.dropdown-mega-cta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dropdown-mega-cta-text strong {
  display: block;
}

.dropdown-mega-cta-text span {
  display: block;
  color: var(--brand-muted);
  font-size: 0.95rem;
}

/* Desktop hover optimization (optional) */
@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
  }
}

/* --- Buttons (Unified) --- */

/* Primary Action (Lead, Quote, Contact) */
.btn-cta,
.btn-primary {
  background: var(--gradient-cta);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  /* Pill shape for modern feel */
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(14, 165, 168, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.btn-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 168, 0.35);
  color: #fff;
  opacity: 0.95;
}

/* Secondary Action (Learn more, Sub-actions) */
.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid rgba(229, 231, 235, 1);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(30, 64, 175, 0.05);
  transform: translateY(-2px);
}

/* Hero specific overrides (keep for specific context if needed, but map to standard) */
.btn-hero {
  border-radius: 999px;
  /* Force pill */
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
}

.btn-hero-primary {
  /* Alias to primary */
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  /* Transparent on dark hero bg */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}

.back-btn {
  /* Map to secondary but with arrow style optionally, or just standard */
  background: var(--brand-light);
  color: var(--brand-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-btn:hover {
  color: var(--brand-primary);
  background: #e0f2fe;
  /* Light blue tint */
}

/* Product detail — breadcrumb + retour intégrés */
body.page-product-detail .product-detail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

body.page-product-detail .breadcrumb-wrap {
  margin-bottom: 0.6rem;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb {
  font-size: 0.78rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: rgba(15, 23, 42, 0.72);
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--brand-primary);
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-item.active {
  color: rgba(15, 23, 42, 0.92);
  font-weight: 700;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  float: none;
  display: inline-block;
  padding: 0 0.4rem;
  color: rgba(148, 163, 184, 1);
}

body.page-product-detail .back-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  border-radius: 10px;
  margin-bottom: 1.1rem;
}

/* Product detail header (breadcrumb + back link inside the card) */
body.page-product-detail .product-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

body.page-product-detail .product-detail-top .breadcrumb-wrap {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

body.page-product-detail .product-detail-top .back-btn {
  margin: 0;
}

@media (max-width: 991.98px) {
  body.page-product-detail .product-detail-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
}

/* Product breadcrumb: collapse middle items into a clickable ellipsis */
body.page-product-detail .breadcrumb-wrap .breadcrumb-item--hidden {
  display: none;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis {
  position: relative;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  color: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-btn:hover {
  background: rgba(30, 64, 175, 0.08);
  color: var(--brand-primary);
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  max-width: min(360px, 70vw);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  padding: 0.35rem;
  z-index: 5;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis.is-open .breadcrumb-ellipsis-menu {
  display: grid;
  gap: 0.15rem;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-menu a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 0.86rem;
  line-height: 1.25;
}

body.page-product-detail .breadcrumb-wrap .breadcrumb-ellipsis-menu a:hover {
  background: rgba(30, 64, 175, 0.06);
  color: var(--brand-primary);
}

/* Articles */

/* --- RESTORED LAYOUT CLASSES --- */

/* Hero (home + hubs) */
.hero {
  padding-top: 140px;
  /* Increased to clear fixed navbar */
  padding-bottom: 60px;
  min-height: 56vh;
  background:
    linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(107, 114, 128, 0.75) 100%),
    url('../img/fondsite.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  padding: 1.5rem 1rem;
}

.hero-logo {
  width: clamp(170px, 20vw, 220px);
  margin-bottom: 1rem;
  display: inline-block;
  transform-origin: center;
  animation: hero-float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 820px;
  margin: 1rem auto 0;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

/* Section */
.section {
  padding: 3.5rem 0;
}

body.page-home #engagements {
  padding-bottom: 2.4rem;
}

body.page-home #incontournables {
  padding-top: 0.5rem;
}

/* Home — Clients teaser (under engagements) */
body.page-home .home-clients-teaser {
  margin-top: 2.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
}

body.page-home .home-clients-teaser__copy {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  text-align: center;
}

body.page-home .home-clients-teaser__title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.01em;
}

body.page-home .home-clients-teaser__subtitle {
  text-align: center;
  max-width: 820px;
  margin: 0.35rem auto 1.2rem;
  color: var(--brand-muted);
  font-size: 0.95rem;
}

body.page-home .home-clients-teaser__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

body.page-home .home-client-orbit {
  display: block;
}

body.page-home .home-client-orbit > .home-client-tile {
  width: 100%;
}

@keyframes homeClientsRectOrbit {
  0% {
    transform: translate(-50%, -50%) translate(0, calc(var(--orbit-h) / -2));
  }
  18% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / 2), calc(var(--orbit-h) / -2));
  }
  25% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / 2), 0);
  }
  32% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / 2), calc(var(--orbit-h) / 2));
  }
  50% {
    transform: translate(-50%, -50%) translate(0, calc(var(--orbit-h) / 2));
  }
  68% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / -2), calc(var(--orbit-h) / 2));
  }
  75% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / -2), 0);
  }
  82% {
    transform: translate(-50%, -50%) translate(calc(var(--orbit-w) / -2), calc(var(--orbit-h) / -2));
  }
  100% {
    transform: translate(-50%, -50%) translate(0, calc(var(--orbit-h) / -2));
  }
}

@keyframes homeClientsPlanetBob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.6deg);
  }
  18% {
    transform: translate3d(1px, -3px, 0) rotate(0.4deg);
  }
  42% {
    transform: translate3d(-1px, -6px, 0) rotate(0.8deg);
  }
  66% {
    transform: translate3d(2px, -4px, 0) rotate(-0.4deg);
  }
  84% {
    transform: translate3d(-2px, -2px, 0) rotate(0.2deg);
  }
}

@keyframes homeClientsPlanetTilt {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  24% {
    transform: translate3d(2px, -2px, 0);
  }
  52% {
    transform: translate3d(-1px, 1px, 0);
  }
  78% {
    transform: translate3d(-2px, -1px, 0);
  }
}

@keyframes homeClientsCardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@media (min-width: 992px) {
		  body.page-home .home-clients-teaser {
		    position: relative;
		    display: grid;
		    place-items: center;
		    min-height: 540px;
		    padding: 2.4rem 0;
		    --orbit-w: clamp(480px, 60vw, 820px);
		    --orbit-h: clamp(210px, 23vw, 300px);
		    --orbit-radius: clamp(70px, 7.5vw, 112px);
		  }

  body.page-home .home-clients-teaser__subtitle {
    max-width: none;
    font-size: 1.05rem;
    margin: 0.6rem 0 0;
  }

	  body.page-home .home-clients-teaser__grid {
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    width: var(--orbit-w);
	    height: var(--orbit-h);
	    transform: translate(-50%, -50%);
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-template-rows: 1fr 1fr;
	    grid-template-areas:
	      "tourisme hotellerie"
	      "associations entreprises";
	    pointer-events: none;
	    z-index: 1;
	    border-radius: var(--orbit-radius);
	  }

  body.page-home .home-clients-teaser__copy {
    margin: 0;
    max-width: 520px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 2;
    pointer-events: none;
  }

  body.page-home .home-client-orbit {
    position: relative;
    width: auto;
    height: auto;
  }

  body.page-home .home-client-orbit--tourisme {
    grid-area: tourisme;
    align-self: start;
    justify-self: start;
  }

  body.page-home .home-client-orbit--hotellerie {
    grid-area: hotellerie;
    align-self: start;
    justify-self: end;
  }

  body.page-home .home-client-orbit--associations {
    grid-area: associations;
    align-self: end;
    justify-self: start;
  }

  body.page-home .home-client-orbit--entreprises {
    grid-area: entreprises;
    align-self: end;
    justify-self: end;
  }

	  body.page-home .home-client-orbit > .home-client-tile {
    position: relative;
    width: clamp(140px, 14vw, 190px);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
	    animation: homeClientsCardFloat var(--card-float, 9.5s) ease-in-out infinite;
	    animation-delay: var(--card-float-delay, 0s);
	    will-change: transform;
	  }

  body.page-home .home-client-orbit > .home-client-tile::before {
    content: none;
  }

  body.page-home .home-client-orbit .home-client-tile__text {
    display: none;
  }

	  body.page-home .home-client-orbit .home-client-tile__icon {
	    width: 82px;
	    height: 82px;
	    border-radius: 999px;
	    background: rgba(255, 255, 255, 0.96);
	    border: 1px solid rgba(229, 231, 235, 1);
	    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
	    font-size: 2rem;
	    animation: homeClientsPlanetBob var(--planet-bob, 7.6s) ease-in-out infinite;
	    animation-delay: var(--planet-bob-delay, 0s);
	    will-change: transform;
	  }

	  body.page-home .home-client-orbit .home-client-tile__content {
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	    gap: 0.2rem;
	    min-width: 0;
	    animation: homeClientsPlanetTilt var(--planet-tilt, 9.5s) ease-in-out infinite;
	    animation-delay: var(--planet-tilt-delay, 0s);
	    will-change: transform;
	  }

  body.page-home .home-client-orbit .home-client-tile__title {
    font-size: 1rem;
  }

  body.page-home .home-client-orbit .home-client-tile__cta {
    margin-top: 0;
    font-size: 0.9rem;
  }

		  body.page-home .home-client-orbit--entreprises {
		    --planet-bob: 7.4s;
		    --planet-tilt: 9.8s;
		    --card-float: 9.2s;
		    --planet-bob-delay: -1.2s;
		    --planet-tilt-delay: -2.1s;
		    --card-float-delay: -1.8s;
		  }

		  body.page-home .home-client-orbit--associations {
		    --planet-bob: 8.1s;
		    --planet-tilt: 10.4s;
		    --card-float: 9.8s;
		    --planet-bob-delay: -3.4s;
		    --planet-tilt-delay: -4.7s;
		    --card-float-delay: -3.2s;
		  }

	  body.page-home .home-client-orbit--hotellerie {
	    --planet-bob: 7.9s;
	    --planet-tilt: 10.1s;
	    --card-float: 9.4s;
	    --planet-bob-delay: -4.1s;
	    --planet-tilt-delay: -3.6s;
	    --card-float-delay: -4.4s;
	  }

	  body.page-home .home-client-orbit--tourisme {
	    --planet-bob: 7.7s;
	    --planet-tilt: 9.2s;
	    --card-float: 9.6s;
	    --planet-bob-delay: -2.2s;
	    --planet-tilt-delay: -1.3s;
	    --card-float-delay: -2.6s;
	  }

  body.page-home .home-client-tile {
    padding: 1.1rem 1.25rem;
    gap: 1rem;
  }

  body.page-home .home-client-tile__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .home-client-orbit > .home-client-tile {
    animation: none;
  }

  body.page-home .home-client-orbit .home-client-tile__icon,
  body.page-home .home-client-orbit .home-client-tile__content {
    animation: none;
  }
}

body.page-home .home-client-tile {
  position: relative;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 1);
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  color: var(--brand-dark);
  overflow: hidden;
  transition: background 0.18s ease, border-color 0.18s ease;
}

body.page-home .home-client-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.03), transparent 64%),
    radial-gradient(circle at 92% 28%, rgba(239, 68, 68, 0.02), transparent 62%);
  opacity: 0.38;
  pointer-events: none;
}

body.page-home .home-client-tile>* {
  position: relative;
}

body.page-home .home-client-tile__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.04);
  font-size: 1.25rem;
}

body.page-home .home-client-tile__content {
  min-width: 0;
}

body.page-home .home-client-tile__title {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.2;
}

body.page-home .home-client-tile__text {
  margin-top: 0.22rem;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--brand-muted);
}

body.page-home .home-client-tile__cta {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand-primary);
}

@media (hover: hover) and (pointer: fine) {
  body.page-home .home-client-tile:hover {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
  }

  body.page-home .home-client-orbit > .home-client-tile:hover {
    background: transparent;
    border-color: transparent;
  }

  body.page-home .home-client-orbit > .home-client-tile:hover .home-client-tile__icon {
    transform: scale(1.03);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  }
}

.product-hub-cta {
  margin-top: 1.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  color: var(--brand-muted);
}

.hub-seo {
  max-width: 980px;
  margin: 2.8rem auto 0;
  text-align: left;
  color: var(--brand-dark);
}

.hub-seo h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.hub-seo h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.hub-seo p {
  color: var(--brand-muted);
  margin-bottom: 0.85rem;
}

.hub-seo .hub-links {
  margin-top: 1.2rem;
}

.hub-seo .hub-links a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.hub-faq {
  max-width: 980px;
  margin: 2.4rem auto 0;
  text-align: left;
}

.hub-faq h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.product-image-figure {
  margin: 0;
}

.product-image-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-product-hub .section-subtitle {
  margin-bottom: 1.4rem;
}

body.page-product-hub .hub-seo p:not(.hub-links),
body.page-catalogue .hub-seo p:not(.hub-links) {
  text-align: justify;
  text-justify: inter-word;
}

body.page-product-hub .hub-faq .accordion-body,
body.page-catalogue .hub-faq .accordion-body {
  text-align: justify;
  text-justify: inter-word;
}

/* Cards */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 1);
}

.esat-logo {
  width: min(140px, 70%);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.feature-icon {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 0.7rem;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 0.55rem;
}

.feature-card-text {
  color: var(--brand-muted);
  margin: 0;
}

.feature-card-list {
  margin: 0.85rem 0 0 1.2rem;
}

.feature-card-list li {
  margin: 0.35rem 0;
}

/* Specifications Table */
.specifications {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-left: 4px solid var(--brand-primary);
  border-radius: 8px;
}

body.page-product-detail .specifications {
  margin-top: 1.15rem;
  padding: 1.25rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 1);
  font-size: 0.95rem;
}

body.page-product-detail .spec-item {
  padding: 0.6rem 0;
  font-size: 0.92rem;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  color: var(--brand-primary);
}

.spec-value {
  color: var(--brand-dark);
  text-align: right;
  max-width: 60%;
  font-weight: 500;
}

/* Pricing table */
.pricing-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
  background: var(--brand-dark);
  color: white;
}

.pricing-table th {
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
}

.pricing-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(229, 231, 235, 1);
  background: white;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table td:first-child {
  font-weight: 600;
  text-align: left;
  background: #f8fafc;
}



/* Breadcrumbs (site-wide) */
.breadcrumb-wrap {
  margin-bottom: 1.2rem;
}

nav[aria-label="breadcrumb"] .breadcrumb {
  font-size: 0.78rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav[aria-label="breadcrumb"] .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: rgba(15, 23, 42, 0.72);
}

nav[aria-label="breadcrumb"] .breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

nav[aria-label="breadcrumb"] .breadcrumb-item a:hover {
  color: var(--brand-primary);
}

nav[aria-label="breadcrumb"] .breadcrumb-item.active {
  color: rgba(15, 23, 42, 0.92);
  font-weight: 700;
}

nav[aria-label="breadcrumb"] .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  float: none;
  display: inline-block;
  padding: 0 0.4rem;
  color: rgba(148, 163, 184, 1);
}

/* Products hub (catalog) */
.products-section {
  padding: 6rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, hsl(210, 70%, 88%) 0%, #f8fafc 50%, hsl(0, 70%, 88%) 100%);
}

body.page-catalogue .products-section {
  background: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 280px);
  gap: 2.5rem;
  margin-top: 3.2rem;
  justify-content: center;
  place-items: start;
}

.product-card {
  background: transparent;
  border-radius: 16px;
  overflow: visible;
  box-shadow: none;
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 280px;
  height: 470px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Catalogue search results */
.product-search-results .product-search-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  min-height: 112px;
}

.product-search-results .product-search-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.product-search-results .product-search-title {
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.2;
}

.product-search-results .product-search-thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(229, 231, 235, 1);
  flex-shrink: 0;
}

.product-search-results .product-search-min {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--brand-muted);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .product-search-results .product-search-item {
    padding: 0.9rem 1rem;
  }

  .product-search-results .product-search-thumb {
    width: 72px;
    height: 72px;
  }

  .product-search-results .product-search-min {
    font-size: 0.85rem;
  }
}

/* Hub product cards (compact layout) */
body.page-product-hub .products-grid,
body.page-catalogue .products-grid {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 1.4rem 1.2rem;
  margin-top: 2.5rem;
  justify-content: center;
}

body.page-product-hub .products-grid,
body.page-catalogue .products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

body.page-home .products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 1.2rem;
  margin-top: 2.5rem;
}

body.page-product-hub .product-card,
body.page-catalogue .product-card,
body.page-home .product-card {
  width: 100%;
  height: auto;
  --badge-bg: #d1fae5;
  --badge-color: #065f46;
}

body.page-product-hub .product-card,
body.page-catalogue .product-card,
body.page-home .product-card {
  width: auto;
  flex: 0 1 210px;
  max-width: 220px;
}

body.page-product-hub .products-grid .product-card:nth-child(5n + 1),
body.page-catalogue .products-grid .product-card:nth-child(5n + 1),
body.page-home .products-grid .product-card:nth-child(5n + 1) {
  --badge-bg: #d1fae5;
  --badge-color: #065f46;
}

body.page-product-hub .products-grid .product-card:nth-child(5n + 2),
body.page-catalogue .products-grid .product-card:nth-child(5n + 2),
body.page-home .products-grid .product-card:nth-child(5n + 2) {
  --badge-bg: #e0f2fe;
  --badge-color: #075985;
}

body.page-product-hub .products-grid .product-card:nth-child(5n + 3),
body.page-catalogue .products-grid .product-card:nth-child(5n + 3),
body.page-home .products-grid .product-card:nth-child(5n + 3) {
  --badge-bg: #fef3c7;
  --badge-color: #92400e;
}

body.page-product-hub .products-grid .product-card:nth-child(5n + 4),
body.page-catalogue .products-grid .product-card:nth-child(5n + 4),
body.page-home .products-grid .product-card:nth-child(5n + 4) {
  --badge-bg: #fee2e2;
  --badge-color: #991b1b;
}

body.page-product-hub .products-grid .product-card:nth-child(5n),
body.page-catalogue .products-grid .product-card:nth-child(5n),
body.page-home .products-grid .product-card:nth-child(5n) {
  --badge-bg: #ccfbf1;
  --badge-color: #0f766e;
}

body.page-product-hub .product-image,
body.page-catalogue .product-image,
body.page-home .product-image {
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

body.page-product-hub .product-image img,
body.page-catalogue .product-image img,
body.page-home .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.page-product-hub .product-image[data-min-qty]::before,
body.page-catalogue .product-image[data-min-qty]::before,
body.page-home .product-image[data-min-qty]::before {
  content: attr(data-min-qty);
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--badge-bg, #d1fae5);
  color: var(--badge-color, #065f46);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.product-support--related {
  display: none;
  margin: 0.8rem 0 2rem;
}

body.page-product-detail .product-support--related,
body.page-product .product-support--related {
  display: block;
}

body.page-product-detail .product-support--company,
body.page-product .product-support--company {
  display: none;
}

.related-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.related-products-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-dark);
}

.related-products-subtitle {
  margin: 0.3rem 0 0;
  color: var(--brand-muted);
}

.related-products-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.8rem auto 0;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

.related-products-stage .product-gallery-nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: transparent;
  color: var(--brand-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  position: relative;
  transform: none;
  overflow: hidden;
}

.related-products-stage .product-gallery-nav:hover {
  transform: scale(1.03);
}

.related-products-stage .product-gallery-prev {
  border-color: rgba(37, 99, 235, 0.85);
  color: rgba(37, 99, 235, 0.95);
}

.related-products-stage .product-gallery-next {
  border-color: rgba(239, 68, 68, 0.85);
  color: rgba(239, 68, 68, 0.95);
}

.related-products-stage .product-gallery-prev:hover {
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.2),
    0 0 12px rgba(59, 130, 246, 0.28);
}

.related-products-stage .product-gallery-next:hover {
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.2),
    0 0 12px rgba(248, 113, 113, 0.28);
}

.related-products-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  grid-template-columns: none;
  gap: 1.2rem;
  margin-top: 0;
  justify-content: start;
  min-width: 0;
  width: 100%;
  max-width: calc(3 * 220px + 2 * 1.2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.related-products-grid.is-centered {
  justify-content: center;
}

.related-products-grid::-webkit-scrollbar {
  display: none;
}

.related-products-grid .product-card {
  width: 100%;
  height: auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.related-products-grid .product-card:nth-child(5n + 1) {
  --badge-bg: #d1fae5;
  --badge-color: #065f46;
}

.related-products-grid .product-card:nth-child(5n + 2) {
  --badge-bg: #e0f2fe;
  --badge-color: #075985;
}

.related-products-grid .product-card:nth-child(5n + 3) {
  --badge-bg: #fef3c7;
  --badge-color: #92400e;
}

.related-products-grid .product-card:nth-child(5n + 4) {
  --badge-bg: #fee2e2;
  --badge-color: #991b1b;
}

.related-products-grid .product-card:nth-child(5n) {
  --badge-bg: #ccfbf1;
  --badge-color: #0f766e;
}

.related-products-grid .product-image {
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.related-products-grid .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-products-grid .product-image[data-min-qty]::before {
  content: attr(data-min-qty);
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--badge-bg, #d1fae5);
  color: var(--badge-color, #065f46);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.related-products-grid .product-info {
  margin-top: 0.7rem;
  height: auto;
  padding: 0.6rem 0.4rem 0;
  text-align: center;
}

.related-products-grid .product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.related-products-grid .product-info p {
  display: none;
}

.related-products-empty {
  margin-top: 1rem;
  text-align: center;
  color: var(--brand-muted);
}

@media (max-width: 992px) {
  .related-products-grid {
    max-width: calc(2 * 220px + 1 * 1.2rem);
  }
}

@media (max-width: 576px) {
  .related-products-grid {
    grid-auto-columns: 100%;
    max-width: 100%;
  }

  .related-products-grid .product-card {
    max-width: none;
  }

  .related-products-stage {
    width: 100%;
  }
}

body.page-product-hub .product-info,
body.page-catalogue .product-info,
body.page-home .product-info {
  height: auto;
  padding: 0.9rem 0.8rem 0.2rem;
}

body.page-product-hub .product-info h3,
body.page-catalogue .product-info h3,
body.page-home .product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

body.page-product-hub .product-info p,
body.page-catalogue .product-info p,
body.page-home .product-info p {
  display: none;
}

@media (max-width: 1400px) {

  body.page-product-hub .products-grid,
  body.page-catalogue .products-grid,
  body.page-home .products-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
  }
}

@media (max-width: 1200px) {

  body.page-product-hub .products-grid,
  body.page-catalogue .products-grid,
  body.page-home .products-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

@media (max-width: 992px) {

  body.page-product-hub .products-grid,
  body.page-catalogue .products-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  body.page-home .products-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  body.page-product-hub .product-image,
  body.page-catalogue .product-image,
  body.page-home .product-image {
    height: 190px;
  }
}

@media (max-width: 576px) {

  body.page-product-hub .products-grid,
  body.page-catalogue .products-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .products-grid {
    grid-template-columns: 1fr;
  }
}

.prod.guide-card:hover .guide-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Guide Summary (TOC) */
.guide-summary {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(14, 165, 168, 0.06));
  border: 1px solid rgba(30, 64, 175, 0.16);
  border-left: 4px solid var(--brand-primary);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
}

.guide-summary h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #0f172a;
}

.guide-summary ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
  display: grid;
  gap: 0.35rem;
}

.guide-summary li {
  margin: 0;
}

.guide-summary a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.guide-summary a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
  flex-shrink: 0;
}

.guide-summary a:hover {
  color: var(--brand-primary);
  background: rgba(30, 64, 175, 0.08);
}

.product-image {
  width: 100%;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.product-info {
  height: 200px;
  padding: 1.4rem 1.2rem 1rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--brand-dark);
}

.product-info p {
  color: var(--brand-muted);
  margin: 0;
}

/* Product family pages (pillar pages) */
.main-content {
  padding-top: 140px;
  /* Increased to clear fixed navbar */
  padding-bottom: 3rem;
  background: linear-gradient(135deg, hsl(210, 70%, 88%) 0%, #f8fafc 50%, hsl(0, 70%, 88%) 100%);
}

body.page-product-hub .main-content {
  background: transparent;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brand-dark);
  position: relative;
}

.page-hero::after {
  display: none;
}

/* Steps Cards */
.step-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 231, 235, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

body.page-merci .page-title {
  margin-bottom: 2.2rem;
}

/* Restored .btn-catalogue as deprecated but kept to prevent breaking if used */
.btn-catalogue {
  display: inline-block;
  background: var(--gradient-cta);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  margin-top: 2.2rem;
}

body.page-product-hub .btn-catalogue {
  margin-top: 1rem;
}

.btn-catalogue:hover {
  transform: translateY(-2px);
  opacity: 0.98;
  color: #fff;
}

.product-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2.6rem 0;
  flex-wrap: wrap;
}

/* Product trust bar (pages produits) */
.product-trust-bar {
  margin: 0.75rem 0 0.9rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-trust-bar__item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.product-trust-bar__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.16) 0%, rgba(245, 158, 11, 0.14) 100%);
  color: #dc2626;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.product-trust-bar__icon svg {
  width: 18px;
  height: 18px;
}

.product-trust-bar__content {
  min-width: 0;
}

.product-trust-bar__title {
  font-weight: 900;
  font-size: 0.86rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-trust-bar__text {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--brand-muted);
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .product-trust-bar__item:hover {
    transform: none;
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
  }

  .product-trust-bar__item:hover .product-trust-bar__icon {
    transform: none;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.18) 0%, rgba(245, 158, 11, 0.16) 100%);
    color: rgba(220, 38, 38, 0.9);
  }
}

@media (max-width: 991px) {
  .product-trust-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .product-trust-bar {
    padding: 0.95rem;
  }

  .product-trust-bar__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  body.page-product-detail .product-detail .pricing-section {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top-width: 1px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title actions"
      "text actions";
    gap: 0.2rem 1rem;
    align-items: center;
  }

  body.page-product-detail .product-detail .pricing-title {
    grid-area: title;
    margin: 0;
    font-size: 1.3rem;
  }

  body.page-product-detail .product-detail .pricing-section .feature-card-text {
    grid-area: text;
    margin: 0;
    max-width: 62ch;
  }

  body.page-product-detail .product-detail .pricing-section > .mt-3,
  body.page-product-detail .product-detail .pricing-section > .d-flex {
    grid-area: actions;
    margin: 0 !important;
    justify-self: end;
  }

  body.page-product-detail .product-detail .pricing-section .btn {
    white-space: nowrap;
  }
}

.nav-btn {
  background-color: rgba(234, 236, 240, 1);
  border: 2px solid rgba(209, 213, 219, 1);
  color: var(--brand-dark);
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.product-detail {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 1);
}

body.page-product-detail .product-detail,
body.page-product .product-detail {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  body.page-product-detail .product-detail {
    padding: 1.6rem;
  }

  body.page-product-detail .product-detail .col-lg-5 {
    align-self: center;
  }

  body.page-product-detail .product-image-container {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    height: clamp(320px, 34vw, 420px);
  }

  body.page-product-detail .product-detail .row.align-items-center {
    align-items: flex-start !important;
  }
}

.product-detail .col-lg-5 {
  position: relative;
}

.product-origin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  transform: rotate(-14deg);
  transform-origin: left center;
  transition: transform 0.2s ease;
  animation: badge-float 4s ease-in-out infinite;
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  pointer-events: none;
}

.product-origin-badge img {
  height: 92px;
  width: auto;
  display: block;
}

.product-origin-badge::after {
  display: none;
}

.product-origin-badge:hover {
  transform: rotate(-12deg) translateY(-3px);
}

@keyframes badge-shine {
  0% {
    left: -60%;
  }

  30% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

@keyframes badge-float {
  0% {
    transform: rotate(-14deg) translate3d(-2px, 2px, 0);
  }

  33% {
    transform: rotate(-11deg) translate3d(4px, -7px, 0);
  }

  66% {
    transform: rotate(-15deg) translate3d(-4px, -1px, 0);
  }

  100% {
    transform: rotate(-14deg) translate3d(-2px, 2px, 0);
  }
}

@keyframes hero-float {
  0% {
    transform: translate3d(0, 0, 0);
  }

  33% {
    transform: translate3d(0, -6px, 0);
  }

  66% {
    transform: translate3d(0, 4px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.product-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(360px, 40vw, 460px);
  overflow: visible;
  position: relative;
}

.product-image-container img.product-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.product-image-container img.product-image:hover {
  transform: scale(1.02);
}

.product-image-container.product-gallery {
  position: relative;
  align-items: stretch;
  padding: 0 1.4rem;
}

.product-image-container.product-gallery .product-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-image-container.product-gallery .product-gallery-track::-webkit-scrollbar {
  display: none;
}

.product-image-container.product-gallery .product-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.55rem;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.product-image-container.product-gallery .product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: transparent;
  color: var(--brand-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 2;
  overflow: hidden;
}

.product-image-container.product-gallery .product-gallery-nav:hover {
  transform: translateY(-50%) scale(1.03);
}

.product-image-container .product-gallery-caption {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 400;
  color: #6b7280;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  max-width: calc(100% - 2.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  pointer-events: none;
}

.product-image-container.product-gallery .product-gallery-caption {
  bottom: 1.55rem;
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(15, 23, 42, 0.78);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
}

.product-image-container:not(.product-gallery) .product-gallery-caption {
  top: calc(100% + 0.35rem);
  bottom: auto;
  white-space: normal;
}

@media (max-width: 991.98px) {
  body.page-product-detail .product-image-container:not(.product-gallery) .product-gallery-caption {
    top: auto;
    bottom: 0.65rem;
    padding: 0.14rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: rgba(15, 23, 42, 0.78);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: calc(100% - 1.4rem);
  }
}

.product-image-container.product-gallery .product-gallery-prev {
  left: 0.5rem;
  border-color: rgba(37, 99, 235, 0.85);
  color: rgba(37, 99, 235, 0.95);
}

.product-image-container.product-gallery .product-gallery-next {
  right: 0.5rem;
  border-color: rgba(239, 68, 68, 0.85);
  color: rgba(239, 68, 68, 0.95);
}

.product-image-container.product-gallery .product-gallery-prev:hover {
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.2),
    0 0 12px rgba(59, 130, 246, 0.28);
}

.product-image-container.product-gallery .product-gallery-next:hover {
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.2),
    0 0 12px rgba(248, 113, 113, 0.28);
}

.product-image-container.product-gallery .product-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  z-index: 2;
}


.product-image-container.product-gallery .product-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #111111;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.product-image-container.product-gallery .product-gallery-dot.is-active {
  background: #ffffff;
  border-color: #111111;
  transform: scale(1.15);
}

body.is-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
  cursor: zoom-out;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox-content {
  position: relative;
  max-width: min(960px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: default;
}

.product-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.product-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 3.5rem);
  width: auto;
  height: auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 17, 17, 0.55);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.product-lightbox-nav:hover,
.product-lightbox-nav:focus-visible {
  background: rgba(17, 17, 17, 0.75);
  transform: translateY(-50%) scale(1.05);
}

.product-lightbox-prev {
  left: 0.75rem;
}

.product-lightbox-next {
  right: 0.75rem;
}

.product-lightbox-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.product-lightbox-caption {
  max-width: min(900px, 92vw);
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.product-lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: #111111;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.product-lightbox-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .product-lightbox {
    padding: 1rem;
  }

  .product-lightbox-nav {
    width: 36px;
    height: 36px;
  }

  .product-lightbox-prev {
    left: 0.5rem;
  }

  .product-lightbox-next {
    right: 0.5rem;
  }

  .product-lightbox-close {
    top: -0.4rem;
    right: -0.4rem;
  }
}


.product-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

body.page-product-detail .product-title {
  font-size: clamp(1.65rem, 3.4vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--brand-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.page-product-detail .product-subtitle {
  font-size: 1.02rem;
  margin-bottom: 0.95rem;
}

.product-description {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.page-product-detail .product-description {
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.product-description p {
  margin-bottom: 0.8rem;
}

.pricing-section {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}


/* Page Hero (Sub-pages) */
.page-hero {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 140px 0 5rem;
  /* Increased to clear fixed navbar */
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}

.article-wrap {
  padding: 140px 0 4rem;
  /* Increased to clear fixed navbar */
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.06) 0%, rgba(248, 250, 252, 1) 55%, rgba(14, 165, 168, 0.06) 100%);
}

.guide-wrap {
  padding: 140px 0 4rem;
  /* Added missing class for guides index */
  background: var(--brand-light);
}

.article-hero {
  background: var(--surface);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.article-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--brand-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.article-content {
  background: var(--surface);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-top: 2rem;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 1.5rem;
}

.article-content p {
  margin: 0.9rem 0;
}

.article-content ul {
  margin: 0.8rem 0 0.8rem 1.2rem;
}

.article-content li {
  margin: 0.35rem 0;
}

/* Guides (article pages) */
.page-article .article-hero {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 0 1.2rem;
  margin-bottom: 1.4rem;
}

.page-article .article-hero h1 {
  margin-bottom: 0.5rem;
}

.page-article .article-meta {
  font-weight: 500;
}

.page-article .article-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
}

.page-article .article-body::before {
  display: none;
}

.page-article .article-body::after {
  display: none;
}

.page-article .article-body > * {
  position: relative;
  z-index: 1;
}

.page-article .article-body h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.page-article .article-body h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 900;
  margin-top: 1.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 0;
}

.page-article .article-body h2::before {
  display: none;
}

.page-article .article-body p {
  margin: 0.75rem 0;
}

.page-article .article-body .lead {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.2rem;
}

.page-article .guide-summary {
  margin-bottom: 1.8rem;
}

.page-article .guide-summary::after {
  display: none;
}

.page-article .feature-card,
.page-article .alert {
  background: transparent;
  border: none;
  border-left: 3px solid rgba(30, 64, 175, 0.35);
  border-radius: 0;
  box-shadow: none;
  padding: 0.75rem 1rem;
}

.page-article .alert-info {
  border-left-color: rgba(14, 165, 168, 0.45);
}

.page-article .alert-light {
  border-left-color: rgba(148, 163, 184, 0.6);
}

.page-article .guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 140px);
  grid-template-areas: "content media";
  gap: 1.4rem;
  align-items: start;
  padding: 0;
  margin: 2.2rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.page-article .guide-section::after {
  display: none;
}

.page-article .guide-section + .guide-section {
  border-top: 1px solid rgba(226, 232, 240, 1);
  padding-top: 2rem;
}

.page-article .guide-section--image-left {
  grid-template-columns: minmax(90px, 140px) minmax(0, 1fr);
  grid-template-areas: "media content";
}

.page-article .guide-section-content {
  position: relative;
  z-index: 1;
  grid-area: content;
}

.page-article .guide-section-content h2 {
  margin-top: 0;
}

.page-article .guide-section-media {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  align-self: start;
  grid-area: media;
}

.page-article .guide-section-media img {
  width: clamp(80px, 16vw, 120px);
  height: clamp(80px, 16vw, 120px);
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transform: none;
}

.page-article .guide-section--image-right .guide-section-media img {
  transform: none;
}

@media (max-width: 768px) {
  .page-article .article-body {
    padding: 0;
  }

  .page-article .guide-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
    text-align: left;
  }

  .page-article .guide-section--image-left,
  .page-article .guide-section--image-right {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
  }

  .page-article .guide-section-media {
    justify-self: center;
  }

  .page-article .guide-section-media img {
    width: clamp(90px, 32vw, 120px);
    height: clamp(90px, 32vw, 120px);
  }
}

.article-card {
  display: block;
  /* IMPORTANT: un <a> doit être block */
  background: var(--surface);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  overflow: hidden;
  /* évite tout débordement visuel */
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.article-card p {
  color: var(--brand-muted);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--brand-dark);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 900;
  font-size: 1.1rem;
}

.footer-title {
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.6rem 0;
}

.footer-small {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
}

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

.footer-links li {
  margin: 0.35rem 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-links a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.88);
}

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

.footer-sep {
  opacity: 0.5;
}

@media (max-width: 992px) {
  .site-main {
    padding-top: 0;
  }

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
  }
}


/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "info form"
    "extras form";
  column-gap: 3rem;
  row-gap: 1.75rem;
  align-items: start;
  margin: 0;
}

.contact-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: start;
}

.contact-left-info {
  grid-area: info;
}

.contact-left-extras {
  grid-area: extras;
}

.contact-right {
  grid-area: form;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-right .contact-card {
  flex: 1 1 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card h2 {
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  font-size: 1.6rem;
  line-height: 1.2;
}

.contact-info-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 800;
}

.contact-info-link:hover {
  text-decoration: underline;
}

.contact-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.contact-mosaic-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(229, 231, 235, 1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 1 / 1;
}

.contact-mosaic-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mosaic-bg) center / cover no-repeat;
  filter: blur(12px);
  transform: scale(1.08);
  opacity: 0.45;
}

.contact-mosaic-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
  position: relative;
  z-index: 1;
}

.contact-mosaic-item:hover img {
  transform: scale(1.04);
}

.contact-values {
  margin-top: auto;
}

.page-contact .form-disclaimer {
  margin-bottom: 0;
}

.contact-row > [class*="col-"] {
  padding: 0;
  width: 100%;
  max-width: 100%;
  flex: none;
}

@media (max-width: 991.98px) {
  .contact-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "form"
      "extras";
    row-gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-mosaic {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}


.contact-emoji {
  font-size: 1.5rem;
  margin-right: 1rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.address-text {
  color: var(--brand-muted);
  margin: 0;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* Mobile: show dropdown content as inline lists inside the collapsed menu */
@media (max-width: 991.98px) {

  /* Mobile: dropdowns are NOT expanded by default */
  .navbar .dropdown-menu {
    display: none;
    position: static;
    float: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.25rem 0 0.75rem 0.75rem;
  }

  .navbar .dropdown.show>.dropdown-menu {
    display: block;
  }

  .navbar .dropdown-mega {
    padding: 0.25rem 0 0 0;
  }

  .navbar .dropdown-mega .dropdown-item {
    padding-left: 0;
  }
}

/* --- CENTRALIZED STYLES (from Homepage) --- */

/* --- 1. BOUTONS 3D (Effet Profondeur) --- */
.btn-cta,
.btn-hero-primary {
  background: linear-gradient(145deg, #0ea5a8 0%, #2563eb 100%) !important;
  position: relative;
  border: none;
  z-index: 1;
  /* 3 couches d'ombre : reflet interne blanc + ombre noire proche + lueur colorée */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(37, 99, 235, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: white !important;
  /* Force text color */
}

.btn-cta:hover,
.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 24px rgba(37, 99, 235, 0.35) !important;
  filter: brightness(1.05);
}

.btn-cta:active,
.btn-hero-primary:active {
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(37, 99, 235, 0.2) !important;
}

/* Boutons secondaires */
.btn-hero-secondary,
.btn-outline-dark {
  transition: all 0.3s ease;
  border-width: 2px !important;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* --- 2. ELEMENTS INTERACTIFS --- */

/* Zoom image produit */
.product-card .product-image img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1) rotate(1deg);
}

/* Cartes Engagements */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.12) !important;
  border-color: var(--brand-primary);
}

.feature-card:hover .feature-icon {
  animation: pulse 1s infinite;
}

/* Guide Cards - Enhanced with hover effects and better alignment */
.guide-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  height: 100%;
  border: 1px solid rgba(229, 231, 235, 1);
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-primary);
}

.guide-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-image {
  transform: scale(1.08);
}

.guide-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guide-card-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-teal));
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.guide-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.35;
  min-height: 2.7rem;
}

.guide-card p {
  font-size: 0.85rem;
  color: var(--brand-muted);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

.guide-card-arrow {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0.7;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.guide-card:hover .guide-card-arrow {
  opacity: 1;
  transform: translateX(0);
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Animation flottement image Noël */
.floating-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* --- 3. THEME NOEL (Centralisé) --- */
body.page-noel .main-content {
  background: linear-gradient(160deg, #9f1239 0%, #4a0404 50%, #166534 100%);
  padding-top: 140px;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

body.page-noel {
  background: linear-gradient(160deg, #9f1239 0%, #4a0404 50%, #166534 100%);
}

body.page-noel .main-content {
  background: transparent;
}

body.page-noel .main-content > .container {
  position: relative;
  z-index: 2;
}

body.page-noel .noel-content {
  position: relative;
  z-index: 5;
}

body.page-noel .breadcrumb {
  color: #fef3c7;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.page-noel .breadcrumb a {
  color: #fef3c7;
  font-weight: 600;
  text-decoration: none;
}

body.page-noel .breadcrumb a:hover,
body.page-noel .breadcrumb a:focus {
  color: #fde68a;
  text-decoration: underline;
}

body.page-noel .breadcrumb-item.active {
  color: #fef3c7;
  font-weight: 700;
}

body.page-noel .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(254, 243, 199, 0.85);
}

body.page-noel .page-title {
  color: #fef3c7;
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

body.page-noel .section-subtitle {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

body.page-noel .section-subtitle strong {
  color: #fcd34d;
}

body.page-noel .hub-seo,
body.page-noel .hub-faq {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

body.page-noel .hub-seo h2,
body.page-noel .hub-seo h3,
body.page-noel .hub-faq h2 {
  color: var(--brand-dark);
  text-shadow: none;
}

body.page-noel .hub-seo p,
body.page-noel .hub-faq p,
body.page-noel .hub-faq .accordion-body {
  color: var(--brand-muted);
  text-shadow: none;
}

body.page-noel .hub-seo .hub-links a {
  color: var(--brand-primary);
}

body.page-noel .product-card {
  position: relative;
  z-index: 2;
}

body.page-noel .feature-card {
  background: var(--surface) !important;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 1);
  position: relative;
  z-index: 2;
}

body.page-noel .product-info h3 {
  color: #fef3c7 !important;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

body.page-noel .product-info p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

body.page-noel .feature-card h2,
body.page-noel .feature-card .feature-card-title {
  color: var(--brand-dark) !important;
  text-shadow: none;
}

body.page-noel .feature-card p,
body.page-noel .feature-card ul li {
  color: var(--brand-muted) !important;
  text-shadow: none;
}

body.page-noel .feature-card ul li a {
  color: var(--brand-primary) !important;
  text-decoration: underline;
}

body.page-noel .product-image img {
  transition: transform 0.3s ease;
}

body.page-noel .product-card:hover .product-image img {
  transform: scale(1.08) rotate(1deg);
}

body.page-noel .product-card:hover {
  transform: translateY(-5px);
}

/* Christmas CTA Section (Guide) */
.christmas-cta-section {
  background: linear-gradient(160deg, #9f1239 0%, #4a0404 50%, #166534 100%) !important;
  border-radius: 16px !important;
  padding: 3rem 2rem !important;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  color: white !important;
}

.christmas-cta-section h2 {
  color: #fef3c7 !important;
  font-weight: 900 !important;
  font-size: 1.8rem !important;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.christmas-cta-section p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.christmas-cta-section .btn-cta {
  background: linear-gradient(135deg, #f59e0b, #dc2626) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
  color: white !important;
  border: none !important;
}

.christmas-cta-section .btn-secondary {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: white !important;
}

.christmas-cta-section .floating-img {
  max-width: 280px;
  border-radius: 16px;
  animation: float 6s ease-in-out infinite;
}

.christmas-decoration {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.2;
  user-select: none;
}


/* Neige */
.snow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  opacity: 0.85;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh);
    opacity: 0.8;
  }

  100% {
    transform: translateY(110vh);
    opacity: 0.2;
  }
}

.christmas-deco {
  display: inline-block;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px gold);
}

.advice-separator {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 3rem;
}
