
:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #0f223d;
  --muted: #66748a;
  --line: rgba(15, 34, 61, 0.12);
  --line-strong: rgba(15, 34, 61, 0.18);
  --blue: #183f76;
  --blue-soft: #e7f0ff;
  --red: #e5282c;
  --red-dark: #b9151c;
  --green: #1c9b72;
  --cream: #fff5e8;
  --shadow: 0 24px 70px rgba(15, 34, 61, 0.12);
  --shadow-soft: 0 14px 38px rgba(15, 34, 61, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(229, 40, 44, 0.08), transparent 25rem),
    radial-gradient(circle at 90% 12%, rgba(24, 63, 118, 0.12), transparent 30rem),
    linear-gradient(180deg, #fff 0%, var(--bg) 44%, #fff 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 34, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 34, 61, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2) 52%, transparent 100%);
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1000; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 0 999px 999px 0; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 900;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(15, 34, 61, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 55px rgba(15, 34, 61, 0.10);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 92px; height: auto; }
.brand span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5b687b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(245, 248, 252, 0.88);
}
.brand span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(28,155,114,.14); }

.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #34435b;
  font-size: 14px;
  font-weight: 780;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(24, 63, 118, .08); color: var(--ink); }
.main-nav a.active { box-shadow: inset 0 0 0 1px rgba(24,63,118,.08); }
.nav-toggle { display: none; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 99px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.language-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 96px;
  padding: 4px;
  border: 1px solid rgba(15, 34, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 8px rgba(255,255,255,.85), 0 8px 24px rgba(15,34,61,.08);
  backdrop-filter: blur(18px);
  isolation: isolate;
}
.lang-btn {
  position: relative;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 8px 11px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.lang-btn.active { color: white; }
.switch-glider {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15,34,61,.94), rgba(24,63,118,.92));
  box-shadow: 0 10px 26px rgba(15,34,61,.22), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .25s ease;
}
body[data-lang="en"] .switch-glider { transform: translateX(calc(100% + 0px)); }

.section-pad { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 92px 0; }
.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: .94fr 1.06fr; gap: 58px; align-items: center; padding-top: 80px; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); gap: 56px; align-items: center; padding-top: 82px; }
.page-hero-copy { max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--red-dark); font-size: 12px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; border-radius: 999px; background: currentColor; }
.eyebrow em { font-style: normal; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(46px, 7.5vw, 92px); margin-bottom: 24px; }
h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 18px; }
h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.72; }
.lead { font-size: clamp(18px, 2vw, 22px); max-width: 720px; color: #4d5b70; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 900; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 18px 40px rgba(229,40,44,.24); }
.btn-secondary { color: var(--ink); background: rgba(255,255,255,.72); border-color: var(--line); box-shadow: var(--shadow-soft); }
.text-link { display: inline-flex; margin-top: 20px; color: var(--red-dark); font-weight: 900; }
.text-link::after { content: "→"; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.retail-console, .page-hero-card, .contact-info-card, .cta-card, .proof-card {
  border: 1px solid rgba(15, 34, 61, .12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.retail-console { padding: 18px; }
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 6px 16px; }
.console-top small, .console-badge span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.console-top strong { display: block; font-size: 19px; letter-spacing: -.02em; }
.console-top > span { padding: 8px 11px; border-radius: 999px; color: white; background: var(--ink); font-size: 12px; font-weight: 900; }
.console-image { position: relative; min-height: 420px; overflow: hidden; border-radius: 28px; background: var(--blue-soft); }
.console-image img { width: 100%; height: 420px; object-fit: cover; }
.console-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,34,61,.30)); pointer-events: none; }
.console-badge { position: absolute; z-index: 2; max-width: 245px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(255,255,255,.76); backdrop-filter: blur(14px); box-shadow: 0 18px 38px rgba(15,34,61,.16); }
.console-badge b { display: block; margin-top: 5px; font-size: 15px; }
.console-badge.top { top: 18px; left: 18px; }
.console-badge.bottom { right: 18px; bottom: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.stats-grid article { padding: 17px 13px; border: 1px solid var(--line); border-radius: 20px; background: rgba(245,248,252,.76); }
.stats-grid span { display: block; min-height: 30px; color: var(--muted); font-size: 12px; font-weight: 800; }
.stats-grid strong { display: block; margin-top: 8px; font-size: clamp(24px, 3vw, 33px); letter-spacing: -.05em; }

.section-head { max-width: 830px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card, .process-card, .seller-name-card, .brand-card, .device-card, .category-card, .retailer-board article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
}
.value-card, .process-card, .seller-name-card { padding: 28px; }
.value-card b, .process-card b { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 26px; border-radius: 15px; color: white; background: var(--ink); }
.value-card:nth-child(2) b, .process-card:nth-child(2) b, .process-card:nth-child(5) b { background: var(--red); }
.value-card:nth-child(3) b, .process-card:nth-child(3) b { background: var(--blue); }

.split-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.split-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.split-media img { width: 100%; height: 540px; object-fit: cover; }
.split-copy { max-width: 620px; }
.mini-flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.mini-flow span, .contact-pill-row span { display: inline-flex; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #35445c; font-weight: 900; font-size: 13px; }
.mini-flow span::after { content: "→"; margin-left: 10px; color: var(--red); }
.mini-flow span:last-child::after { content: ""; margin: 0; }

.retailer-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.retailer-board.compact { grid-template-columns: repeat(6, 1fr); }
.retailer-board article { padding: 20px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; }
.retailer-board b { font-size: 20px; letter-spacing: -.03em; }
.retailer-board span { color: var(--muted); font-size: 13px; font-weight: 800; }
.final-cta { padding-top: 40px; }
.cta-card { padding: clamp(32px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(231,240,255,.82)); }
.cta-card p { max-width: 680px; margin-bottom: 0; }

.page-hero-card { overflow: hidden; padding: 12px; }
.page-hero-card img { width: 100%; height: 470px; object-fit: cover; border-radius: 26px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-card { min-height: 330px; }
.retail-devices { padding-top: 48px; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.device-card { overflow: hidden; padding: 0 0 24px; }
.device-card img { width: 100%; height: 230px; object-fit: cover; }
.device-card.large { grid-column: span 1; }
.device-card h3, .device-card p { padding-left: 24px; padding-right: 24px; }
.device-card h3 { margin-top: 24px; }
.proof-card { padding: 28px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.proof-card .stats-grid { margin-top: 0; }
.proof-card .stats-grid { grid-template-columns: repeat(2, 1fr); }

.seller-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seller-visual article { position: relative; overflow: hidden; min-height: 220px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: white; }
.seller-visual article:first-child { grid-row: span 2; }
.seller-visual img { width: 100%; height: 100%; object-fit: cover; }
.seller-visual span { position: absolute; left: 14px; bottom: 14px; padding: 9px 12px; border-radius: 999px; color: white; background: rgba(15,34,61,.84); backdrop-filter: blur(8px); font-weight: 900; }
.seller-name-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seller-name-card { min-height: 235px; }
.seller-name-card span { display: inline-flex; margin-bottom: 30px; padding: 8px 11px; border-radius: 999px; color: var(--red-dark); background: rgba(229,40,44,.08); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.seller-name-card h3 { font-size: 30px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-card { min-height: 180px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.brand-card img { max-height: 54px; width: auto; object-fit: contain; }
.brand-card span { color: var(--muted); font-weight: 900; }
.category-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { overflow: hidden; }
.category-card img { width: 100%; height: 230px; object-fit: cover; }
.category-card div { padding: 24px; }

.contact-info-card { padding: 30px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.contact-info-card a { display: block; margin: 8px 0; font-weight: 900; color: var(--red-dark); font-size: 22px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-copy { position: sticky; top: 130px; }
.contact-pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.contact-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; color: #32425a; font-size: 13px; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(245,248,252,.78); color: var(--ink); padding: 14px 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(229,40,44,.55); box-shadow: 0 0 0 4px rgba(229,40,44,.10); background: white; }
.form-note { margin: -4px 0 0; font-size: 12px; }

.site-footer { width: min(var(--max), calc(100% - 40px)); margin: 60px auto 26px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.72); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-weight: 900; }
.footer-brand img { width: 100px; }
.footer-main p { margin: 0; max-width: 680px; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; color: var(--muted); font-size: 14px; }
.footer-contact a { color: var(--ink); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto auto; }
  .main-nav { position: fixed; inset: 76px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  body.menu-open .main-nav { display: flex; }
  .main-nav a { padding: 15px 16px; }
  .nav-toggle { display: inline-block; justify-self: end; }
  .language-switch { justify-self: end; }
  .brand span { display: none; }
  .hero, .page-hero, .split-section, .proof-card, .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .retailer-board.compact { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 20px); top: 10px; margin-top: 10px; padding: 8px; gap: 8px; }
  .brand img { width: 80px; }
  .language-switch { min-width: 84px; }
  .lang-btn { padding: 8px 9px; }
  .section-pad { width: min(100% - 24px, var(--max)); padding: 66px 0; }
  .hero { min-height: auto; padding-top: 54px; gap: 34px; }
  .page-hero { padding-top: 54px; gap: 30px; }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  h2 { font-size: clamp(31px, 10vw, 46px); }
  .lead { font-size: 17px; }
  .hero-actions, .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .console-image, .console-image img { height: 340px; min-height: 340px; }
  .console-badge { max-width: 210px; }
  .stats-grid, .proof-card .stats-grid, .value-grid, .device-grid, .seller-name-grid, .brand-grid, .category-section, .retailer-board, .retailer-board.compact { grid-template-columns: 1fr 1fr; }
  .value-grid { gap: 12px; }
  .value-card, .process-card, .seller-name-card { padding: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .split-media img, .page-hero-card img { height: 330px; }
  .cta-card { grid-template-columns: 1fr; }
  .seller-visual { grid-template-columns: 1fr; }
  .seller-visual article:first-child { grid-row: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 520px) {
  .stats-grid, .value-grid, .device-grid, .seller-name-grid, .brand-grid, .category-section, .retailer-board, .retailer-board.compact { grid-template-columns: 1fr; }
  .console-badge { position: static; margin: 10px; }
  .console-image { height: auto; min-height: auto; }
  .console-image img { height: 270px; min-height: 270px; }
  .console-image::after { display: none; }
  .contact-info-card a { font-size: 18px; }
}

/* WordPress dynamic additions */
.wp-admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 46px; } }
.content-section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.wp-content-card { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); padding: clamp(28px, 5vw, 58px); }
.wp-content-card :where(h2,h3,h4) { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -.035em; color: var(--ink); }
.wp-content-card p, .wp-content-card li { color: var(--muted); line-height: 1.72; }
.brand-showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.brand-showcase-card { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.brand-showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-showcase-media { height: 74%; min-height: 260px; background: var(--blue-soft); overflow: hidden; }
.brand-showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.brand-showcase-card:hover .brand-showcase-media img { transform: scale(1.035); }
.brand-showcase-footer { min-height: 96px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,255,255,.92); }
.brand-showcase-footer img { max-width: 150px; max-height: 54px; object-fit: contain; }
.brand-showcase-footer strong { font-size: 25px; letter-spacing: -.04em; }
.brand-showcase-footer span { color: var(--red-dark); font-weight: 950; }
.product-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-big-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.product-big-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-big-card img { width: 100%; height: 340px; object-fit: cover; background: var(--blue-soft); }
.product-big-card div { padding: 28px; }
.product-big-card h3 { font-size: 32px; }
.product-big-card .badge { display: inline-flex; margin-bottom: 16px; padding: 8px 11px; border-radius: 999px; background: rgba(229,40,44,.08); color: var(--red-dark); font-weight: 950; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.single-product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.single-product-media { border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: white; }
.single-product-media img { width: 100%; height: 560px; object-fit: cover; }
.video-embed { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #000; padding-top: 56.25%; margin-top: 24px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 28px; color: var(--muted); background: rgba(255,255,255,.62); }
@media (max-width: 900px) { .brand-showcase-grid, .product-card-grid, .single-product-layout { grid-template-columns: 1fr; } .brand-showcase-card { min-height: 300px; } .single-product-media img { height: 360px; } }
@media (max-width: 520px) { .brand-showcase-footer { flex-direction: column; align-items: flex-start; } .product-big-card img { height: 260px; } }

/* V1.1 - corrections demandées depuis le PDF annoté : header/hero épuré + marques compactes */
.hero-home { align-items: center; padding-top: 58px; }
.hero-home .hero-copy { align-self: center; }
.hero-home h1 { margin-top: 0; }
.hero-home .retail-console { padding: 12px; }
.hero-home .console-image { min-height: 330px; border-radius: 24px; }
.hero-home .console-image img { height: 330px; }
.hero-home .console-image::after { background: linear-gradient(180deg, transparent 48%, rgba(15,34,61,.16)); }
.hero-home .console-badge,
.hero-home .console-top { display: none !important; }
.hero-home .stats-grid { margin-top: 12px; }
.brand-section { padding-top: 72px; }
.brand-section .section-head { margin-bottom: 28px; }
.brand-showcase-grid,
.brand-showcase-grid.brand-showcase-grid--compact {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.brand-showcase-card,
.brand-showcase-card.brand-showcase-card--compact {
  min-height: 178px;
  height: 178px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: 0 12px 30px rgba(15, 34, 61, 0.08);
}
.brand-showcase-card:hover { transform: translateY(-3px); }
.brand-showcase-media,
.brand-showcase-card--compact .brand-showcase-media {
  height: auto;
  min-height: 0;
  position: relative;
  background: var(--blue-soft);
}
.brand-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 38%, rgba(255,255,255,.08) 100%);
  pointer-events: none;
}
.brand-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-showcase-footer,
.brand-showcase-card--compact .brand-showcase-footer {
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,.96);
}
.brand-showcase-identity { min-width: 0; display: flex; align-items: center; }
.brand-showcase-footer img {
  max-width: 116px;
  max-height: 38px;
  object-fit: contain;
}
.brand-showcase-footer strong {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.brand-showcase-footer span {
  color: var(--brand-accent, var(--red-dark));
  font-weight: 950;
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 1120px) {
  .brand-showcase-grid,
  .brand-showcase-grid.brand-showcase-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-home .console-image,
  .hero-home .console-image img { height: 280px; min-height: 280px; }
  .brand-showcase-grid,
  .brand-showcase-grid.brand-showcase-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-showcase-card,
  .brand-showcase-card.brand-showcase-card--compact { height: 160px; min-height: 160px; border-radius: 18px; }
  .brand-showcase-footer { min-height: 58px; padding: 10px 12px; }
  .brand-showcase-footer img { max-width: 96px; max-height: 34px; }
  .brand-showcase-footer span { font-size: 11px; }
}
@media (max-width: 520px) {
  .brand-showcase-grid,
  .brand-showcase-grid.brand-showcase-grid--compact { grid-template-columns: 1fr; }
  .brand-showcase-card,
  .brand-showcase-card.brand-showcase-card--compact { height: 150px; min-height: 150px; }
}


/* Retailer logo cleanup - compact premium grid */
.retailer-logo-board,
.retailer-board.compact.retailer-logo-board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.retailer-board .retailer-logo-card,
.retailer-logo-card {
  min-height: 118px;
  height: 118px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  overflow: hidden;
}
.retailer-logo-card img {
  width: 100%;
  max-width: 145px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: none;
}
.retailer-logo-card b {
  font-size: 18px;
  text-align: center;
  line-height: 1.15;
}
.retailer-logo-card span,
.retailer-logo-board span {
  display: none !important;
}
.enseignes-archive .section-head {
  margin-bottom: 34px;
}
.enseignes-archive .retailer-logo-board {
  margin-top: 20px;
}
@media (max-width: 1120px) {
  .retailer-logo-board,
  .retailer-board.compact.retailer-logo-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .retailer-logo-board,
  .retailer-board.compact.retailer-logo-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retailer-board .retailer-logo-card,
  .retailer-logo-card { height: 104px; min-height: 104px; padding: 18px; }
  .retailer-logo-card img { max-height: 48px; max-width: 130px; }
}


/* Contact Form 7 integration */
.botv-cf7-wrap .wpcf7 { width: 100%; }
.botv-cf7-wrap .wpcf7-form { display: grid; gap: 16px; }
.botv-cf7-wrap .wpcf7-form p { margin: 0; color: #32425a; font-size: 13px; font-weight: 900; }
.botv-cf7-wrap .wpcf7-form label { display: grid; gap: 8px; color: #32425a; font-size: 13px; font-weight: 900; }
.botv-cf7-wrap input,
.botv-cf7-wrap select,
.botv-cf7-wrap textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(245,248,252,.78); color: var(--ink); padding: 14px 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.botv-cf7-wrap textarea { resize: vertical; min-height: 130px; }
.botv-cf7-wrap input:focus,
.botv-cf7-wrap select:focus,
.botv-cf7-wrap textarea:focus { border-color: rgba(229,40,44,.55); box-shadow: 0 0 0 4px rgba(229,40,44,.10); background: white; }
.botv-cf7-wrap .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 20px; border-radius: 999px; border: 0; font-weight: 900; cursor: pointer; color: white; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 18px 40px rgba(229,40,44,.24); }
.botv-cf7-wrap .wpcf7-response-output { margin: 8px 0 0 !important; border-radius: 16px; padding: 14px 16px !important; font-weight: 800; }
.botv-cf7-wrap .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--red-dark); }

/* V1.2 - reformulations accueil/savoir-faire/contact + implantations */
.implantation-section { padding-top: 58px; }
.implantation-grid {
  display: grid;
  grid-template-columns: 1.15fr .92fr .92fr;
  gap: 18px;
  align-items: stretch;
}
.implantation-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}
.implantation-card:first-child { grid-row: span 1; }
.implantation-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--blue-soft);
}
.implantation-card:first-child img { height: 330px; }
.implantation-card div { padding: 22px 24px 24px; }
.implantation-card h3 { margin-bottom: 8px; }
.implantation-card p { margin-bottom: 0; }

.contact-hero--compact h1 { font-size: clamp(38px, 5.6vw, 68px); }
.contact-hero--compact .lead { font-size: clamp(16px, 1.55vw, 19px); }
.contact-hero--compact .contact-info-card h2 { font-size: clamp(25px, 3vw, 38px); }
.contact-section--compact .contact-copy h2 { font-size: clamp(30px, 3.8vw, 48px); }
.contact-section--compact .contact-copy p,
.contact-section--compact .contact-form,
.contact-section--compact .botv-cf7-wrap .wpcf7-form p,
.contact-section--compact .botv-cf7-wrap .wpcf7-form label { font-size: 13px; }
.contact-section--compact .contact-pill-row span { font-size: 12px; padding: 9px 12px; }

.site-footer--clean {
  min-height: 122px;
  grid-template-columns: .72fr 1fr;
  padding: 24px 30px;
}
.footer-main--logo-only { display: flex; align-items: center; justify-content: flex-start; height: 100%; }
.footer-brand--centered { margin: 0; display: flex; align-items: center; justify-content: center; }
.footer-brand--centered img { width: 128px; }
.site-footer--clean .footer-contact { justify-content: center; }

@media (max-width: 1120px) {
  .implantation-grid { grid-template-columns: 1fr 1fr; }
  .implantation-card:first-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .implantation-grid { grid-template-columns: 1fr; }
  .implantation-card:first-child { grid-column: auto; }
  .implantation-card img,
  .implantation-card:first-child img { height: 250px; }
  .site-footer--clean { grid-template-columns: 1fr; text-align: left; }
  .footer-main--logo-only { justify-content: flex-start; }
}

/* V1.2.1 - Accueil : titre principal plus premium et moins massif */
.hero-home h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  max-width: 850px;
  letter-spacing: -.055em;
}

@media (max-width: 720px) {
  .hero-home h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.06;
  }
}

/* V1.2.3 - Marques : logos visibles sans filtre ni recadrage */
.brand-showcase-card,
.brand-showcase-card.brand-showcase-card--compact {
  height: 205px;
  min-height: 205px;
  grid-template-rows: 136px auto;
  background: #fff;
}
.brand-showcase-media,
.brand-showcase-card--compact .brand-showcase-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  overflow: hidden;
}
.brand-showcase-media::after {
  display: none !important;
  content: none !important;
}
.brand-showcase-media img,
.brand-showcase-card--compact .brand-showcase-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 108px;
  object-fit: contain;
  object-position: center center;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.brand-showcase-card:hover .brand-showcase-media img {
  transform: none !important;
}
.brand-showcase-footer,
.brand-showcase-card--compact .brand-showcase-footer {
  min-height: 68px;
  padding: 13px 14px;
}
.brand-showcase-footer strong {
  font-size: 17px;
}
.brand-showcase-footer span {
  font-size: 12px;
}

@media (max-width: 760px) {
  .brand-showcase-card,
  .brand-showcase-card.brand-showcase-card--compact {
    height: 190px;
    min-height: 190px;
    grid-template-rows: 126px auto;
  }
  .brand-showcase-media,
  .brand-showcase-card--compact .brand-showcase-media {
    padding: 14px;
  }
  .brand-showcase-media img,
  .brand-showcase-card--compact .brand-showcase-media img {
    max-height: 96px;
  }
}


/* V1.2.4 - Traduction EN + pilotage plus carré */
.process-grid.process-grid--square,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.process-card {
  min-height: 252px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.process-card b {
  margin-bottom: 18px;
}
.process-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
  margin-bottom: 12px;
}
.process-card p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
}
body[data-lang="en"] .process-card h3 {
  font-size: clamp(20px, 1.8vw, 25px);
}
.botv-cf7-wrap option {
  font-weight: 700;
}
@media (max-width: 1120px) {
  .process-grid.process-grid--square,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .process-grid.process-grid--square,
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
}


/* V1.2.5 - Corrections finales : image produit contain, description dans la carte, footer légal */
.single-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.single-product-media img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  object-position: center center;
  padding: 18px;
  background: #fff;
  box-sizing: border-box;
}
.product-description-card {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 38px);
}
.product-description-card p:last-child {
  margin-bottom: 0;
}
.site-footer--legal {
  grid-template-columns: .72fr 1fr;
  grid-template-areas:
    "logo contact"
    "legal legal"
    "copy copy";
  gap: 18px 26px;
}
.site-footer--legal .footer-main { grid-area: logo; }
.site-footer--legal .footer-contact { grid-area: contact; }
.footer-legal {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.footer-legal a:hover {
  color: var(--red-dark);
}
.footer-copy {
  grid-area: copy;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
@media (max-width: 900px) {
  .single-product-media img { height: 360px; padding: 14px; }
  .site-footer--legal {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "contact"
      "legal"
      "copy";
  }
  .site-footer--legal .footer-contact { align-items: flex-start; }
  .footer-legal { justify-content: flex-start; }
  .footer-copy { text-align: left; }
}

/* V1.2.6 - Pages legales propres apres suppression des anciens shortcodes Divi */
body.page .wp-content-card {
  font-size: 16px;
}
body.page .wp-content-card h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-top: 30px;
  margin-bottom: 14px;
}
body.page .wp-content-card h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  margin-top: 26px;
}
body.page .wp-content-card a {
  color: var(--red-dark);
  font-weight: 800;
}
.footer-legal {
  gap: 10px 28px;
}


/* V1.3.0 - Ajustements business finaux */
.hero-home h1 {
  font-size: clamp(36px, 4.9vw, 64px);
  line-height: 1.02;
  max-width: 980px;
}
.implantation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.implantation-card:first-child {
  grid-column: auto;
  grid-row: auto;
}
.implantation-card img,
.implantation-card:first-child img {
  height: 280px;
  object-fit: cover;
}
.brand-showcase-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.brand-showcase-identity small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-big-card img {
  width: 100%;
  height: 320px;
  object-fit: contain !important;
  object-position: center center;
  padding: 18px;
  background: #fff;
  box-sizing: border-box;
}
.single-product-gallery {
  display: grid;
  gap: 16px;
}
.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.product-thumb-grid img {
  width: 100%;
  height: 128px;
  object-fit: contain;
  object-position: center center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
}
.botv-legal-contact {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(245,248,252,.88);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.botv-legal-contact strong {
  color: var(--ink);
  margin-right: 6px;
}
.botv-legal-contact a {
  color: var(--red-dark);
  font-weight: 900;
}
@media (max-width: 1120px) {
  .implantation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-home h1 { font-size: clamp(32px, 10vw, 48px); }
  .implantation-grid { grid-template-columns: 1fr; }
  .implantation-card img,
  .implantation-card:first-child img { height: 250px; }
  .product-thumb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-thumb-grid img { height: 92px; }
}


/* V1.3.1 - Cartes marques : secteur uniquement dans le footer */
.brand-showcase-identity--sector-only {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.brand-showcase-identity--sector-only small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-showcase-footer .brand-showcase-identity--sector-only img,
.brand-showcase-footer .brand-showcase-identity--sector-only strong {
  display: none !important;
}
.brand-showcase-footer {
  align-items: center;
}
@media (max-width: 760px) {
  .brand-showcase-identity--sector-only small { font-size: 12px; }
}

/* V1.3.4 - Galerie produit sans miniatures : fleches + points, image bien contenue */
.single-product-gallery {
  display: block;
}
.single-product-media {
  position: relative;
  height: 560px;
  min-height: 560px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #fff;
}
.single-product-media .product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 22px 36px 54px;
  background: #fff;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.single-product-media .product-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(229,40,44,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--red-dark);
  box-shadow: var(--shadow-soft);
  font-size: 44px;
  line-height: 38px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.product-gallery-arrow:hover {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-50%) scale(1.05);
}
.product-gallery-arrow--prev { left: 18px; }
.product-gallery-arrow--next { right: 18px; }
.product-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.product-gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13,30,55,.18);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, width .18s ease;
}
.product-gallery-dot.is-active {
  width: 22px;
  background: var(--red);
}
.product-thumb-grid {
  display: none !important;
}
@media (max-width: 900px) {
  .single-product-media {
    height: 390px;
    min-height: 390px;
  }
  .single-product-media .product-slide {
    padding: 18px 22px 48px;
  }
  .product-gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 36px;
    line-height: 32px;
  }
  .product-gallery-arrow--prev { left: 12px; }
  .product-gallery-arrow--next { right: 12px; }
}


/* V1.3.7 - Ajustements demandes finales */
@media (min-width: 1121px) {
  .process-grid.process-grid--square,
  .process-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .process-grid .process-card {
    grid-column: span 2;
  }
  .process-grid .process-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .process-grid .process-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
@media (max-width: 1120px) {
  .process-grid .process-card,
  .process-grid .process-card:nth-child(4),
  .process-grid .process-card:nth-child(5) {
    grid-column: auto;
  }
}
.single-marque .brand-hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.08 / 1;
  min-height: 430px;
  padding: 34px;
  background: rgba(255,255,255,.86);
}
.single-marque .brand-hero-card img {
  width: 100%;
  height: 100%;
  max-width: 390px;
  max-height: 330px;
  object-fit: contain !important;
  object-position: center center;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  .single-marque .brand-hero-card {
    min-height: 320px;
    padding: 22px;
  }
  .single-marque .brand-hero-card img {
    max-height: 250px;
    padding: 16px;
  }
}

/* V1.3.8 - Accueil : images implantations moins zoomees et plus longues */
.implantation-card img,
.implantation-card:first-child img {
  height: 340px;
  object-fit: contain !important;
  object-position: center center;
  background: #fff;
  padding: 14px;
}
.implantation-card {
  background: rgba(255,255,255,.9);
}
@media (max-width: 980px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 300px;
    padding: 12px;
  }
}
@media (max-width: 760px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 270px;
    padding: 10px;
  }
}

/* V1.3.9 - Accueil : compromis images implantations (moins zoomees sans trop de blanc) */
.implantation-card img,
.implantation-card:first-child img {
  height: 330px;
  object-fit: cover !important;
  object-position: center center;
  background: #fff;
  padding: 0;
}
@media (max-width: 980px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 300px;
    padding: 0;
  }
}
@media (max-width: 760px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 270px;
    padding: 0;
  }
}


/* V1.4.0 - Images ajustables depuis le personnalisateur */
.botv-adjustable-image {
  transform: translate(var(--botv-img-x, 0%), var(--botv-img-y, 0%)) scale(var(--botv-img-zoom, 1));
  transform-origin: center center;
  transition: transform .25s ease;
  will-change: transform;
}
.console-image,
.page-hero-card,
.device-card,
.implantation-card {
  overflow: hidden;
}
/* Les images d'implantation restent dans un cadre fixe, mais peuvent etre reglees avec les curseurs. */
.implantation-card img.botv-adjustable-image,
.implantation-card:first-child img.botv-adjustable-image {
  object-fit: cover !important;
}

/* V1.4.1 - Implantations accueil : mode image complete dans le cadre */
.implantation-card img.botv-adjustable-image,
.implantation-card:first-child img.botv-adjustable-image {
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
}

/* V1.4.2 - Retour images simples + largeur de site optimisee */
:root {
  --max: 1360px;
}

/* On garde les zones de marques plus compactes pour eviter des cartes trop grandes. */
.brand-section.section-pad,
body.post-type-archive-marque main > section.section-pad:last-child,
body.post-type-archive-marque .brand-showcase-grid {
  max-width: 1180px;
}
.brand-section.section-pad {
  width: min(1180px, calc(100% - 40px));
}
body.post-type-archive-marque .brand-showcase-grid {
  margin-left: auto;
  margin-right: auto;
}

/* Les images de presentation redeviennent simples, sans zoom/deplacement personnalise. */
.botv-adjustable-image {
  transform: none !important;
}
.implantation-card img,
.implantation-card:first-child img {
  height: 330px;
  object-fit: cover !important;
  object-position: center center !important;
  background: #fff;
  padding: 0;
}
.console-image img,
.page-hero-card img,
.device-card img {
  transform: none !important;
}

@media (min-width: 1440px) {
  .hero.hero-home {
    gap: 70px;
  }
  .implantation-section.section-pad,
  .value-section.section-pad,
  .network-section.section-pad,
  .final-cta.section-pad {
    width: min(1360px, calc(100% - 56px));
  }
}

@media (max-width: 980px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 300px;
  }
}
@media (max-width: 760px) {
  .implantation-card img,
  .implantation-card:first-child img {
    height: 270px;
  }
}


/* V1.4.3 - Galerie implantations depuis une page WordPress */
.more-photos-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.more-photos-cta .btn {
  min-width: 210px;
}
.gallery-page-hero {
  grid-template-columns: 1fr;
  padding-bottom: 34px;
}
.gallery-page-section {
  padding-top: 24px;
}
.botv-gallery-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3vw, 36px);
}
.botv-gallery-content .wp-block-gallery,
.botv-gallery-content .wp-block-image,
.botv-gallery-content .gallery {
  margin: 0;
}
.botv-gallery-content .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.botv-gallery-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}
.botv-gallery-content .wp-block-gallery.has-nested-images img,
.botv-gallery-content .gallery img,
.botv-gallery-content > p img,
.botv-gallery-content .wp-block-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center center;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(17, 34, 63, .10);
  background: #fff;
}
.botv-gallery-content .wp-block-image figcaption,
.botv-gallery-content .wp-block-gallery figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.empty-gallery-message {
  text-align: center;
  padding: 54px 20px;
}
.empty-gallery-message h2 {
  margin-bottom: 12px;
}
.empty-gallery-message p {
  color: var(--muted);
}
@media (max-width: 980px) {
  .botv-gallery-content .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .botv-gallery-content .wp-block-gallery.has-nested-images img,
  .botv-gallery-content .gallery img,
  .botv-gallery-content > p img,
  .botv-gallery-content .wp-block-image img {
    height: 280px;
  }
}
@media (max-width: 640px) {
  .botv-gallery-content .wp-block-gallery.has-nested-images {
    grid-template-columns: 1fr;
  }
  .botv-gallery-content .wp-block-gallery.has-nested-images img,
  .botv-gallery-content .gallery img,
  .botv-gallery-content > p img,
  .botv-gallery-content .wp-block-image img {
    height: 240px;
  }
}

/* V2.0.0 - Galerie implantations sans animation de reveal */
.gallery-page-hero .reveal,
.gallery-page-section .reveal,
.botv-gallery-content.reveal {
  opacity: 1 !important;
  transform: none !important;
}
