/* ============================================================
   JYL Software — Design System 2026
   Bootstrap 5 + Inter Font + CSS Custom Properties
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --jyl-blue:      #2563EB;
  --jyl-blue-dark: #1E40AF;
  --jyl-purple:    #7C3AED;
  --jyl-green:     #059669;
  --jyl-orange:    #D97706;
  --jyl-teal:      #0891B2;
  --jyl-pink:      #DB2777;
  --jyl-red:       #DC2626;
  --jyl-gray-50:   #F9FAFB;
  --jyl-gray-100:  #F3F4F6;
  --jyl-gray-200:  #E5E7EB;
  --jyl-gray-600:  #4B5563;
  --jyl-gray-800:  #1F2937;
  --jyl-gray-900:  #111827;
  --accent:        var(--jyl-blue);
  --accent-dark:   var(--jyl-blue-dark);
  --accent-rgb:    37, 99, 235;
  --radius-sm:     0.5rem;
  --radius-md:     1rem;
  --radius-lg:     1.5rem;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.14);
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--jyl-gray-800);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--jyl-gray-900);
}

/* ---------- Utility classes ---------- */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.10);
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--jyl-gray-900);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--jyl-gray-600);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.text-accent { color: var(--accent); }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

#navbar.dark-nav {
  background: rgba(17,24,39,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.navbar-brand img { height: 36px; }

.nav-link-item {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85) !important;
  padding: .5rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-link-item:hover {
  color: #fff !important;
  background: rgba(255,255,255,.12);
}

#navbar.scrolled .nav-link-item,
.nav-light .nav-link-item {
  color: var(--jyl-gray-800) !important;
}

#navbar.scrolled .nav-link-item:hover,
.nav-light .nav-link-item:hover {
  background: var(--jyl-gray-100);
  color: var(--accent) !important;
}

.btn-nav-dl {
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: .45rem 1.1rem !important;
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-dl:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.lang-flag {
  width: 22px;
  height: auto;
  border-radius: 3px;
  opacity: .8;
  transition: opacity var(--transition);
}
.lang-flag:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--jyl-gray-900) 0%, #1a2744 60%, var(--accent-dark) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(124,58,237,.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(90deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .8rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.40);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-hero-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.50);
  color: #fff;
}

.btn-hero-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .8rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.hero-badge-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
}
.hero-badge i { color: #60A5FA; font-size: 1rem; }

.hero-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
  max-height: 480px;
  object-fit: contain;
}

.hero-img-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 80px rgba(var(--accent-rgb), 0.30);
  pointer-events: none;
}

/* Hero — version page produit (moins haute) */
.hero-product {
  min-height: 80vh;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--jyl-gray-200);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--jyl-gray-200);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem;
  color: var(--jyl-gray-600);
  margin-top: .25rem;
  font-weight: 500;
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--jyl-gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.30);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--jyl-gray-600);
  margin: 0;
}

/* ---------- Product cards (homepage) ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--jyl-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}
.product-card-header::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

.product-card-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.85);
  margin-bottom: .75rem;
  display: block;
}

.product-card-logo {
  height: 48px;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: .75rem;
  display: block;
}

/* ---------- Hero logos grid (homepage) ---------- */
.hero-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: .5rem;
}

.hlo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  padding: 1.1rem .75rem .9rem;
  text-decoration: none;
  animation: hlo-float var(--hlo-dur, 4s) ease-in-out var(--hlo-delay, 0s) infinite;
  transition: background .25s, border-color .25s, transform .25s;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hlo:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-6px) scale(1.04);
  animation-play-state: paused;
}

.hlo img {
  height: 40px;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

.hlo-icon {
  font-size: 2rem;
  color: rgba(255,255,255,.85);
  line-height: 1;
}

.hlo span {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: center;
  line-height: 1.2;
  letter-spacing: .02em;
}

@keyframes hlo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.product-card-icon i {
  display: inline-block;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-icon i {
  animation: icon-bounce .55s cubic-bezier(.4,0,.2,1);
}
@keyframes icon-bounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-10px) scale(1.15); }
  55%  { transform: translateY(-5px) scale(1.08); }
  75%  { transform: translateY(-8px) scale(1.12); }
  100% { transform: translateY(0) scale(1); }
}

.hero-logo {
  height: 56px;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: .9rem;
}

.nav-dropdown-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  margin-right: .5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.product-card-header h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.product-card-header p {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  margin: 0;
}

.product-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--jyl-gray-600);
  padding: .35rem 0;
  border-bottom: 1px solid var(--jyl-gray-100);
}
.product-features li:last-child { border-bottom: none; }
.product-features li i {
  color: var(--accent);
  font-size: .85rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.product-card-price {
  font-size: .8rem;
  color: var(--jyl-gray-600);
  margin-bottom: 1rem;
}
.product-card-price strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jyl-gray-900);
}

.btn-product {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-product:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- How it works ---------- */
.step-card {
  text-align: center;
  padding: 1.5rem;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.35);
}
.step-card h5 { font-weight: 700; margin-bottom: .5rem; }
.step-card p { font-size: .9rem; color: var(--jyl-gray-600); margin: 0; }

/* ---------- Swiper screenshots ---------- */
.screenshots-section { background: var(--jyl-gray-50); }

.jyl-swiper-wrap { margin: 0 auto; max-width: 680px; }

.jyl-swiper-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.10), 0 0 0 1px var(--jyl-gray-200);
  aspect-ratio: 16/9;
}
.jyl-swiper-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.jyl-swiper-main .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.jyl-swiper-main .swiper-button-prev,
.jyl-swiper-main .swiper-button-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--jyl-gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  color: var(--accent) !important;
  transition: box-shadow .2s;
}
.jyl-swiper-main .swiper-button-prev:hover,
.jyl-swiper-main .swiper-button-next:hover { box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.jyl-swiper-main .swiper-button-prev::after,
.jyl-swiper-main .swiper-button-next::after { font-size: .9rem !important; font-weight: 900; }
.jyl-swiper-main .swiper-pagination-fraction {
  width: auto;
  bottom: 12px; left: 14px; right: auto;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--jyl-gray-200);
  color: var(--jyl-gray-600);
  font-size: .78rem;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.jyl-swiper-thumbs {
  margin-top: 12px;
  overflow: hidden;
}
.jyl-swiper-thumbs .swiper-slide {
  width: 64px !important;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .55;
  transition: border-color .2s, opacity .2s;
}
.jyl-swiper-thumbs .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.jyl-swiper-thumbs .swiper-slide-thumb-active {
  border-color: var(--accent);
  opacity: 1;
}
@media (max-width: 575px) {
  .jyl-swiper-thumbs .swiper-slide { width: 48px !important; height: 30px; }
  .jyl-swiper-main .swiper-button-prev,
  .jyl-swiper-main .swiper-button-next { width: 36px; height: 36px; }
}

/* ---------- Video modal ---------- */
.jyl-video-modal {
  width: fit-content;
  max-width: min(92vw, 1100px);
}
.jyl-video-modal video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  border-radius: 0 0 .375rem .375rem;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--jyl-gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .85rem;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--jyl-gray-900);
  line-height: 1;
  margin-bottom: .25rem;
}
.pricing-price sup { font-size: 1.5rem; vertical-align: super; }
.pricing-price span { font-size: .9rem; font-weight: 500; color: var(--jyl-gray-600); }
.pricing-per { font-size: .8rem; color: var(--jyl-gray-600); margin-bottom: 1.5rem; }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--jyl-gray-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i.fa-check { color: var(--jyl-green); }
.pricing-features li i.fa-xmark { color: var(--jyl-gray-200); }

.btn-pricing {
  display: block;
  text-align: center;
  padding: .8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-pricing:hover, .pricing-card.featured .btn-pricing {
  background: var(--accent);
  color: #fff;
}
.pricing-card.featured .btn-pricing:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--jyl-gray-50); }

.accordion-item {
  background: #fff;
  border: 1px solid var(--jyl-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--jyl-gray-900) !important;
  background: #fff !important;
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent) !important;
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  font-size: .9rem;
  color: var(--jyl-gray-600);
  padding: 0 1.25rem 1.1rem;
  line-height: 1.7;
}

/* ---------- Contact / CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--jyl-gray-900) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(var(--accent-rgb), 0.20) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cta-section p { color: rgba(255,255,255,.75); font-size: 1rem; }

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-floating label { font-size: .9rem; color: var(--jyl-gray-600); }

.form-control-modern {
  border: 1.5px solid var(--jyl-gray-200);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  background: #fff;
}
.form-control-modern:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
  outline: none;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .85rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  width: 100%;
}
.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

/* ---------- Trust / Social proof ---------- */
.trust-section { background: var(--jyl-gray-50); }

.review-card {
  background: #fff;
  border: 1px solid var(--jyl-gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.review-stars { color: #F59E0B; font-size: .9rem; }
.review-text { font-size: .9rem; color: var(--jyl-gray-600); margin: .75rem 0; font-style: italic; }
.review-author { font-size: .85rem; font-weight: 700; color: var(--jyl-gray-800); }
.review-role { font-size: .78rem; color: var(--jyl-gray-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--jyl-gray-900);
  color: rgba(255,255,255,.65);
}

.footer-brand img { height: 32px; filter: brightness(2); margin-bottom: .75rem; }
.footer-brand p { font-size: .85rem; line-height: 1.6; }

.footer-title {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 2rem 0;
}

.footer-bottom {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.social-link:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Back to top ---------- */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}
#back-top.visible {
  opacity: 1;
  pointer-events: all;
}
#back-top:hover { transform: translateY(-3px); background: var(--accent-dark); color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap {
  padding: 6rem 0 1.5rem;
  background: var(--jyl-gray-50);
  border-bottom: 1px solid var(--jyl-gray-200);
}
.breadcrumb-item a { color: var(--accent); font-size: .875rem; }
.breadcrumb-item.active { color: var(--jyl-gray-600); font-size: .875rem; }

/* ---------- Hamburger mobile ---------- */
.navbar-toggler {
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  padding: .35rem .65rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c 255%2c 255%2c 0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#navbar.scrolled .navbar-toggler { border-color: var(--jyl-gray-200); }
#navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2c 0%2c 0%2c 0.65%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Color variants for product pages ---------- */
.theme-blue   { --accent: #2563EB; --accent-dark: #1E40AF; --accent-rgb: 37, 99, 235; }
.theme-purple { --accent: #7C3AED; --accent-dark: #5B21B6; --accent-rgb: 124, 58, 237; }
.theme-green  { --accent: #059669; --accent-dark: #047857; --accent-rgb: 5, 150, 105; }
.theme-orange { --accent: #D97706; --accent-dark: #B45309; --accent-rgb: 217, 119, 6; }
.theme-teal   { --accent: #0891B2; --accent-dark: #0E7490; --accent-rgb: 8, 145, 178; }
.theme-pink   { --accent: #DB2777; --accent-dark: #BE185D; --accent-rgb: 219, 39, 119; }
.theme-red    { --accent: #DC2626; --accent-dark: #B91C1C; --accent-rgb: 220, 38, 38; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-product { min-height: auto; }
  .hero-img { margin-top: 2.5rem; }
  .hero-logos-grid { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--jyl-gray-200); }
  .stat-item:last-child { border-bottom: none; }
  /* Garantit que le bouton hamburger ne soit pas rogné à droite */
  #navbar .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .navbar-collapse {
    background: rgba(17,24,39,.96);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: .5rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  /* Force le texte blanc dans le menu mobile ouvert, quel que soit l'état scrolled */
  .navbar-collapse .nav-link-item {
    color: rgba(255,255,255,.85) !important;
  }
  .navbar-collapse .nav-link-item:hover {
    color: #fff !important;
    background: rgba(255,255,255,.12);
  }
  /* Assure que le bouton hamburger est visible dans tous les états */
  #navbar .navbar-toggler {
    border-color: rgba(255,255,255,.4);
  }
  #navbar.scrolled .navbar-toggler {
    border-color: var(--jyl-gray-400, #9CA3AF);
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
  .contact-card { padding: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .hero-logos-grid { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .hlo { padding: .75rem .4rem; }
  .hlo img { height: 28px; max-width: 64px; }
  .hlo span { font-size: .62rem; }
}
