/* ============================================
   VERSO CNC - Global Stylesheet
   Design inspired by Zünd, colors by VERSO CNC
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --red: #1f6f8f;        /* accent acier TEKAI (remplace le rouge UI, cf. vision) */
  --red-dark: #175a74;
  --red-deep: #0f3d51;
  --accent: #1f6f8f;
  --accent-dark: #175a74;
  --black: #000000;
  --dark: #1a1a1a;
  --dark-section: #141414;
  --gray-dark: #333333;
  --gray: #717275;
  --gray-light: #f5f5f5;
  --gray-border: #e0e0e0;
  --white: #ffffff;

  --font: 'IBM Plex Sans', sans-serif;
  --max-width: 1300px;
  --text-max: 600px;
  --section-padding: 100px;
  --header-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}

.accent-line {
  width: 45px;
  height: 3px;
  background: var(--red);
  margin: 20px 0 24px;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--gray {
  background: var(--gray-light);
}

.section--dark {
  background: var(--dark-section);
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.75);
}

.text-center {
  text-align: center;
}

/* --- Top Bar --- */
.topbar {
  position: relative;
  z-index: 1100;
  background: var(--dark-section);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  height: 36px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.topbar__slogan {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.topbar__langs {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Lang Dropdown --- */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.lang-dropdown__toggle:hover {
  color: #fff;
}

.lang-dropdown__arrow {
  font-size: 0.6rem;
  display: inline-block;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-dropdown__arrow {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1a1a1a;
  border-top: 2px solid var(--red);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  min-width: 140px;
  display: none;
  z-index: 1100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-dropdown.open .lang-dropdown__menu {
  display: block;
}

.lang-dropdown__menu li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.lang-dropdown__menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.lang-dropdown__menu li a.active {
  color: var(--white);
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #0c0c0c;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease, top 0.3s ease;
}

.header.scrolled {
  top: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  flex-shrink: 0;
  margin-right: 40px;
}

.header__logo img,
.header__logo svg {
  height: 48px;
  width: auto;
}

/* Desktop Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.header__nav a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Header Right (Download CTA) */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: 40px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: none;
  border-radius: 0;
  transition: background 0.25s;
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--red-dark);
}

.header__cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Language Switcher (hidden on desktop, in topbar instead) */
.lang-switcher {
  display: none;
}

/* Hamburger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: var(--red);
  border: none;
  padding: 10px;
  border-radius: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: calc(var(--header-height) + 40px) 24px 40px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav a:hover {
  color: var(--red);
}

.mobile-nav__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.mobile-nav__langs a {
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--gray-border);
  padding: 6px 12px;
  color: var(--gray-dark);
  transition: color 0.2s, border-color 0.2s;
}

.mobile-nav__langs a:hover {
  color: var(--red);
  border-color: var(--red);
}

.mobile-nav__langs a.active {
  color: var(--red);
  border-color: var(--red);
  font-weight: 700;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-section);
  margin-top: calc(var(--header-height) + 36px);
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
}

.hero__subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero__logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: inline-block;
}

@media (max-width: 768px) {
  .hero__logo {
    max-width: 300px;
  }
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn--link {
  background: none;
  border: none;
  color: var(--red);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn--link::after {
  content: '\2192';
  margin-left: 8px;
  transition: transform 0.2s;
}

.btn--link:hover::after {
  transform: translateX(4px);
}

/* --- Text-Media Block (Zünd style alternating) --- */
.text-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.text-media--reverse .text-media__image {
  order: 2;
}

.text-media--reverse .text-media__content {
  order: 1;
}

.text-media__image {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
}

.text-media__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-media__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
}

.text-media__content h2 {
  margin-bottom: 16px;
}

.text-media__content p {
  margin-bottom: 24px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--red);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- Materials Section --- */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.material-col {
  padding: 48px 36px;
  color: var(--white);
}

.material-col:nth-child(1) {
  background: var(--red);
}

.material-col:nth-child(2) {
  background: var(--red-dark);
}

.material-col:nth-child(3) {
  background: var(--red-deep);
}

.material-col h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.material-col ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.material-col ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 850px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  color: var(--black);
}

.faq-item__question:hover {
  color: var(--red);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--red);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s;
}

.faq-item.open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item__answer p {
  padding: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

/* --- News encart --- */
.intro-with-news {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.intro-with-news .intro-text {
  flex: 1;
}

.news-encart {
  flex-shrink: 0;
}

.news-encart img {
  width: 400px;
  height: auto;
  display: block;
  border: 2px solid var(--red);
  box-shadow: 5px 5px 0 0 var(--red);
}

@media (max-width: 768px) {
  .intro-with-news { flex-direction: column; }
  .news-encart img { width: 100%; max-width: 300px; }
}

/* --- CTA Section --- */
.cta-section {
  background: var(--dark-section);
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2,
.cta-section p,
.cta-section .btn {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px 30px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__brand-name span {
  color: var(--red);
}

.footer__address {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer__links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.footer__social a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Social icons on light backgrounds (contact sidebar) */
.contact-info-card .footer__social a {
  border-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.6);
}
.contact-info-card .footer__social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer__bottom a:hover {
  color: var(--white);
}

/* --- Floating Contact Button --- */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 20px rgba(216, 16, 25, 0.35);
  transition: all 0.25s;
}

.floating-cta a:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(216, 16, 25, 0.45);
}

/* --- Distributor CTA Banner --- */
.dist-cta-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 3px solid var(--red);
  z-index: 900;
  padding: 20px 40px;
}

.dist-cta-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.dist-cta-banner__text {
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

.dist-cta-banner__text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.dist-cta-banner__btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(216, 16, 25, 0.35);
  transition: background 0.25s, box-shadow 0.25s;
}

.dist-cta-banner__btn:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 30px rgba(216, 16, 25, 0.45);
}

.dist-cta-spacer {
  height: 105px;
}

@media (max-width: 768px) {
  .dist-cta-banner {
    padding: 16px 20px;
  }
  .dist-cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .dist-cta-spacer {
    height: 160px;
  }
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Video Embed --- */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Intro Section --- */
.intro-text {
  max-width: var(--text-max);
  margin: 0 auto;
}


/* --- Page Hero (interior pages) --- */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-height) + 36px);
  padding: 80px 24px 60px;
  background: var(--dark-section);
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 2;
  max-width: 550px;
  margin: 0 auto;
}

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.contact-form {
  width: 100%;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-group--full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.contact-form label .required {
  color: var(--red);
  margin-left: 2px;
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 16, 25, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .antispam {
  background: var(--gray-light);
  padding: 20px;
  border-left: 3px solid var(--red);
  margin-bottom: 24px;
}

.contact-form .antispam__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.contact-form .antispam input {
  max-width: 120px;
}

.contact-form .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--red);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s;
}

.contact-form .btn-submit:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.contact-form .btn-submit svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Honeypot - invisible to humans */
.form-honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Contact sidebar */
.contact-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.contact-info-card {
  background: var(--gray-light);
  padding: 40px 32px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--red);
  margin-top: 2px;
}

.contact-info-item__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-dark);
}

.contact-info-item__text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 2px;
}

.contact-map {
  width: 100%;
  height: 200px;
  border: none;
  filter: grayscale(0.3);
}

/* Form validation messages */
.form-alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 3px solid #dc2626;
}

.form-alert--success {
  background: #f0fdf4;
  color: #166534;
  border-left: 3px solid #16a34a;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 70px;
  }

  .topbar {
    display: none;
  }

  .header {
    top: 0;
  }

  .hero {
    margin-top: var(--header-height);
  }

  .header__nav {
    display: none;
  }

  .header__right {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .text-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .text-media--reverse .text-media__image,
  .text-media--reverse .text-media__content {
    order: unset;
  }

  .text-media__image {
    height: 350px;
  }

  .text-media__content {
    padding: 48px 24px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .page-hero {
    margin-top: var(--header-height);
    padding: 60px 24px 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-sidebar {
    position: static;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
    --header-height: 60px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* =========================================
   ACCESSORIES GRID - Page vue d'ensemble
   ========================================= */

.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.acc-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-border);
  text-decoration: none;
  color: var(--dark);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.acc-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.acc-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.acc-card:hover .acc-card__img img {
  transform: scale(1.05);
}

.acc-card__info {
  padding: 20px 24px 24px;
}

.acc-card__ref {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.acc-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.acc-card__desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Select de quantité (style commun) --- */
.acc-card__qty,
.acc-detail__qty,
.cart-table__qty {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 0.85rem;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}

/* --- Ajout rapide depuis le catalogue --- */
.acc-card__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 14px;
  border-top: 1px solid #eee;
}
.acc-card__qty { width: 68px; }
.acc-card__add {
  flex: 1;
  padding: 6px 10px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.acc-card__add:hover { background: #b30d14; }
.acc-card__add--done { background: #16a34a; pointer-events: none; }

/* --- Select quantité sur fiche produit --- */
.acc-detail__qty {
  width: 80px;
  margin-right: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

/* --- Select quantité dans le panier --- */
.cart-table__qty { width: 80px; }

.acc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 1rem;
}

.acc-grid:not(:empty) + .acc-empty {
  display: none;
}

/* Hide empty message when grid has cards */
.acc-grid:has(.acc-card) + .acc-empty {
  display: none;
}

/* =========================================
   ACCESSORY DETAIL PAGE - Fiche produit
   ========================================= */

.acc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.acc-detail__visual {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.acc-detail__visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.acc-detail__visual model-viewer {
  width: 100%;
  height: 100%;
}

.acc-detail__content {
  padding-top: 20px;
}

.acc-detail__ref {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.acc-detail__name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.acc-detail__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 32px;
}

.acc-detail__meta {
  border-top: 1px solid var(--gray-border);
  padding-top: 24px;
  margin-bottom: 32px;
}

.acc-detail__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.92rem;
}

.acc-detail__meta-label {
  font-weight: 600;
  color: var(--dark);
}

.acc-detail__meta-value {
  color: var(--gray);
}

.acc-detail__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.acc-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.acc-detail__back:hover {
  color: var(--red);
}

.acc-detail__back::before {
  content: "\2190";
  font-size: 1.1em;
}

/* 3D viewer toolbar on detail page */
.acc-viewer-toolbar {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.acc-viewer-toolbar button {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font);
}

.acc-viewer-toolbar button:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

@media (max-width: 1024px) {
  .acc-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .acc-detail__visual {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .acc-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .acc-card__info {
    padding: 16px 18px 20px;
  }
}

/* ============================================================
   PANIER & DEMANDE DE DEVIS
   ============================================================ */

/* --- Icône panier dans le header --- */
.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 16px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--gray-dark);
}

.header__cart svg {
  width: 22px;
  height: 22px;
  transition: color 0.2s;
}

.header__cart:hover {
  color: var(--red);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

.cart-badge--visible {
  display: flex;
}

@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.cart-badge--pulse {
  animation: badge-pulse 0.3s ease;
}

/* --- Feedback bouton ajout panier --- */
.btn--added {
  background: #16a34a !important;
  border-color: #16a34a !important;
  pointer-events: none;
  transition: background 0.3s, border-color 0.3s;
}

/* --- Page panier : tableau --- */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
}

.cart-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  padding: 12px 16px;
  border-bottom: 2px solid var(--gray-border);
}

.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.95rem;
  vertical-align: middle;
}

.cart-table__ref {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gray);
}

.cart-table__name a {
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
}

.cart-table__name a:hover {
  color: var(--red);
}

.cart-table__qty {
  width: 80px;
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  text-align: center;
}

.cart-table__qty:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 16, 25, 0.08);
}

.cart-table__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 1.4rem;
  padding: 8px;
  transition: color 0.2s;
  line-height: 1;
}

.cart-table__remove:hover {
  color: var(--red);
}

/* --- Page panier : état vide --- */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty h2 {
  margin-bottom: 12px;
}

.cart-empty p {
  margin-bottom: 32px;
  color: var(--gray);
}

/* --- Formulaire devis (réutilise les styles contact-form) --- */
.devis-form {
  max-width: 800px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px solid var(--gray-border);
}

.devis-form h2 {
  margin-bottom: 32px;
}

.devis-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.devis-form .form-group {
  margin-bottom: 0;
}

.devis-form .form-group--full {
  margin-bottom: 24px;
}

.devis-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.devis-form input[type='text'],
.devis-form input[type='email'],
.devis-form input[type='tel'],
.devis-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.devis-form input:focus,
.devis-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 16, 25, 0.08);
}

.devis-form .checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.devis-form .checkbox-group input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.devis-form .checkbox-group label {
  text-transform: none;
  font-weight: 400;
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Label optional --- */
.devis-form .optional {
  font-weight: 400;
  font-size: 0.85rem;
  color: #888;
}

/* --- Fieldset livraison --- */
.shipping-fieldset {
  border: 1px solid #ddd;
  padding: 20px 24px;
  margin: 24px 0;
}

.shipping-fieldset legend {
  font-weight: 600;
  font-size: 1rem;
  padding: 0 8px;
}

.shipping-fieldset legend .required {
  color: var(--red);
}

.radio-group {
  display: flex;
  gap: 32px;
  margin-top: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-label input[type='radio'] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- Lien panier mobile nav --- */
.mobile-nav__cart {
  font-weight: 600;
  color: var(--red);
}

/* --- Responsive panier --- */
@media (max-width: 1024px) {
  .header__cart {
    margin-left: auto;
    margin-right: 12px;
  }

  .devis-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-border);
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  padding: var(--section-padding) 24px;
  background: var(--gray-light);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__header .label {
  display: block;
  margin-bottom: 8px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 48px 40px 40px;
  position: relative;
  border-top: 4px solid var(--red);
}

.testimonial-card__quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--red);
  font-style: normal;
  line-height: 0;
  position: absolute;
  top: 48px;
  left: 40px;
  opacity: 0.15;
  font-family: Georgia, serif;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--gray-border);
  padding-top: 24px;
}

.testimonial-card__logo {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.testimonial-card__info {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--black);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 36px 28px 28px;
  }

  .testimonial-card__quote::before {
    left: 28px;
    top: 36px;
  }

  .testimonial-card__logo {
    width: 90px;
  }
}

/* ============================================
   NAV GROUP (VSR · Automation · Technology)
   Regroupement visuel : ces pages ne concernent
   que la gamme VSR.
   ============================================ */
.nav-group {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 6px 16px;
  background: var(--gray-light);
  border-top: 2px solid var(--red);
}

.nav-group a {
  padding-top: 2px;
  padding-bottom: 2px;
}

/* Mobile : bloc groupé avec léger fond + filet rouge à gauche */
.mobile-nav__group {
  display: flex;
  flex-direction: column;
  background: var(--gray-light);
  border-left: 3px solid var(--red);
  margin: 4px 0;
  padding-left: 14px;
}

.mobile-nav__group a {
  border-bottom: 1px solid var(--gray-border);
}

.mobile-nav__group a:last-child {
  border-bottom: none;
}

.mobile-nav a.active {
  color: var(--red);
}

/* ============================================
   GAMMES — Vignettes sur la Home (hub)
   ============================================ */
.gamme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.gamme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.gamme-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.gamme-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--white);
}

.gamme-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 0.4s;
}

.gamme-card:hover .gamme-card__image img {
  transform: scale(1.04);
}

.gamme-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gamme-card__body h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.gamme-card__body p {
  color: var(--gray);
  margin-bottom: 24px;
  flex: 1;
}

.gamme-card__cta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red);
}

/* Carte "bientôt disponible" (LT) */
.gamme-card--soon {
  opacity: 0.92;
}

.gamme-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
}

@media (max-width: 768px) {
  .gamme-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Hero réduit (Home hub + VSR) : pleine largeur, moins haut que le hero plein écran */
.hero--home,
.hero--vsr {
  min-height: 55vh;
}

@media (max-width: 768px) {
  .hero--home,
  .hero--vsr {
    min-height: 48vh;
  }
}

/* Galerie d'applications (colonne image du bloc "Polyvalence sans compromis") */
.text-media__image--gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 32px;
  overflow: visible;
}

.vsr-gallery__caption {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.6;
}

/* Image affichée en entier (pas de rognage de largeur) — ex : palpage de table, render broche */
.text-media__image--contain img {
  object-fit: contain;
  padding: 24px;
}

/* WhatsApp — bandeau (desktop) + menu mobile */
.topbar__wa {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 20px;
}

.topbar__wa img {
  height: 18px;
  width: auto;
  display: block;
}

.mobile-nav__wa {
  display: flex !important;
  align-items: center;
  padding: 16px 0;
}

.mobile-nav__wa img {
  height: 26px;
  width: auto;
  display: block;
}

/* Tableau de caractéristiques (page LT) */
.spec-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 420px;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-border);
}

.spec-table thead th {
  background: var(--dark-section);
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 1px;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--gray-light);
}

.vsr-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.text-media__image--gallery .vsr-gallery img {
  height: 170px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .text-media__image--gallery {
    padding: 24px;
  }
  .text-media__image--gallery .vsr-gallery img {
    height: 120px;
  }
}

/* ============================================
   TEKAI - composants specifiques
   ============================================ */

/* WhatsApp + lang dans le header noir */
.header__wa{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:.75rem;font-weight:600;
  letter-spacing:.5px;border:1px solid rgba(255,255,255,.25);padding:8px 14px;transition:background .2s,border-color .2s}
.header__wa:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.5)}
.header__wa img{height:22px;width:auto}

/* Hero LT */
.hero-lt{position:relative;background:#0c0c0c;color:#fff;text-align:center;
  padding:calc(var(--header-height) + 70px) 0 70px;overflow:hidden}
.hero-lt::before{content:"";position:absolute;inset:0;
  background:radial-gradient(1100px 480px at 50% -10%, rgba(31,111,143,.30), transparent 62%)}
.hero-lt .container{position:relative;z-index:2}
.hero-lt__badge{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:#fff;background:var(--accent);padding:6px 14px;margin-bottom:18px}
.hero-lt h1{font-size:clamp(2.6rem,6vw,4.4rem);margin-bottom:14px;color:#fff}
.hero-lt__sub{color:rgba(255,255,255,.82);font-size:1.15rem;max-width:660px;margin:0 auto 30px}
.hero-lt__buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hero-lt__img{margin-top:46px}
.hero-lt__img img{width:auto;max-height:520px;margin:0 auto;filter:drop-shadow(0 30px 60px rgba(0,0,0,.55))}

/* Bouton WhatsApp vert */
.btn--wa{background:#25a35a;color:#fff;display:inline-flex;align-items:center;gap:9px}
.btn--wa:hover{background:#1e8a4b}
.btn--wa img{height:20px;width:20px}

/* Partenariat TEKAI x VERSO */
.partner{background:var(--gray-light);border-top:3px solid var(--accent)}
.partner__inner{max-width:920px;margin:0 auto;display:flex;align-items:center;gap:38px;flex-wrap:wrap;
  justify-content:center;text-align:left}
.partner__logo{flex-shrink:0}
.partner__logo img{height:56px;width:auto}
.partner__text{max-width:560px}

/* Teaser autres machines */
.othermachines{background:#141414;color:#fff;text-align:center}
.othermachines h2{color:#fff}
.othermachines p{color:rgba(255,255,255,.72)}

/* Floating = WhatsApp vert */
.floating-cta a{background:#25a35a}
.floating-cta a:hover{background:#1e8a4b}

/* ===== Catalogue "Autres machines" ===== */
.cat-intro{background:#0c0c0c;color:#fff;text-align:center;padding:calc(var(--header-height) + 60px) 0 60px}
.cat-intro h1{color:#fff;margin-bottom:12px}
.cat-intro p{color:rgba(255,255,255,.8);max-width:640px;margin:0 auto}
.cat-fam{margin-top:14px}
.cat-fam__title{display:flex;align-items:center;gap:14px;margin:48px 0 6px}
.cat-fam__title h2{font-size:1.5rem;white-space:nowrap}
.cat-fam__title::after{content:"";flex:1;height:1px;background:var(--gray-border)}
.machine-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px;margin-top:26px}
.machine-card{background:#fff;border:1px solid var(--gray-border);display:flex;flex-direction:column;
  transition:box-shadow .2s,transform .2s}
.machine-card:hover{box-shadow:0 12px 30px rgba(0,0,0,.10);transform:translateY(-3px)}
.machine-card__img{aspect-ratio:4/3;background:#f5f5f5;overflow:hidden}
.machine-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.machine-card__body{padding:16px 18px 18px;flex:1;display:flex;flex-direction:column}
.machine-card__model{font-weight:700;font-size:1.15rem;letter-spacing:.3px}
.machine-card__desc{color:var(--gray);font-size:.84rem;line-height:1.5;margin:7px 0 14px;flex:1}
.machine-card__link{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--accent)}
.machine-card__link::after{content:" \2192"}

/* ===== Fiche machine ===== */
.fiche{padding:calc(var(--header-height) + 40px) 0 80px}
.crumb{font-size:.8rem;color:var(--gray);margin-bottom:26px}
.crumb a{color:var(--accent)} .crumb span{color:var(--gray-dark)}
.fiche-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}
.fiche-gallery{position:sticky;top:90px}
.fiche-gallery>img{width:100%;background:#f5f5f5;border:1px solid var(--gray-border);aspect-ratio:4/3;object-fit:cover}
.fiche-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.fiche-thumbs img{width:74px;height:60px;object-fit:cover;border:1px solid var(--gray-border);cursor:pointer;background:#f5f5f5;transition:border-color .15s}
.fiche-thumbs img:hover{border-color:var(--accent)}
.fiche-main h1{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:0}
.fiche-lead{color:var(--gray-dark);font-size:1.05rem;line-height:1.7;margin:16px 0 26px}
.fiche-body{margin-top:64px;max-width:900px}
.fiche-desc{margin-bottom:44px}
.fiche-desc h2,.fiche-specs h2{font-size:1.5rem;margin-bottom:18px}
.fiche-desc p{margin-bottom:14px}
.fiche-specs table{width:100%;border-collapse:collapse;font-size:.9rem}
.fiche-specs td,.fiche-specs th{border:1px solid var(--gray-border);padding:9px 12px;text-align:left;vertical-align:top}
.fiche-specs tr:nth-child(even){background:var(--gray-light)}
.fiche-back{margin-top:56px;display:flex;gap:22px;align-items:center;flex-wrap:wrap}
@media(max-width:820px){.fiche-grid{grid-template-columns:1fr;gap:26px}.fiche-gallery{position:static}}

/* Palpeur d'outil : photo reduite */
.text-media__image--small{display:flex;align-items:center;justify-content:center}
.text-media__image--small img{max-height:360px;width:auto;margin:0 auto;object-fit:contain}
