/* Bab Digital Solutions — site-v3
   Cabinet Grotesk only (400 / 500 / 700). Direction B layout.
   Colour + 8px spacing scale. No white text on yellow. */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/CabinetGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/CabinetGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/CabinetGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-dark: #0E1416;
  --color-dark-soft: #161D20;
  --color-dark-input: #1A2123;
  --color-dark-line: #2A3336;
  --color-offwhite: #F5F2EB;
  --color-offwhite-deep: #EBE6DB;
  --color-white: #FFFFFF;
  --color-green: #007870;
  --color-green-hover: #00665F;
  --color-green-on-dark: #16A896;
  --color-green-deep: #0C2F2C;
  --color-yellow: #F0B018;
  --color-yellow-hover: #D9A015;
  --color-text: #0E1416;
  --color-muted: #4A534E;
  --color-line: #E4DFD4;
  --color-focus-light: #007870;
  --color-focus-dark: #16A896;

  --font: "Cabinet Grotesk", system-ui, sans-serif;
  --text: 1.125rem;
  --lh: 1.6;

  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-56: 56px;
  --s-64: 64px;
  --s-80: 80px;
  --s-96: 96px;
  --s-128: 128px;

  --wrap: 1240px;
  --pad-x: 32px;
  --section-pad: var(--s-96);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 80px;
  --shadow-card: 0 8px 24px rgba(14, 20, 22, 0.05);
}

@media (max-width: 767px) {
  :root {
    --text: 1.0625rem;
    --pad-x: 24px;
    --section-pad: var(--s-64);
    --header-h: 72px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-8));
}

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text);
  line-height: var(--lh);
  color: var(--color-text);
  background: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
.img-contain { object-fit: contain; }

picture { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul, ol { padding: 0; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.375rem, 1.2rem + 4.2vw, 4.25rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem); line-height: 1.25; }

a { color: var(--color-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-green-hover); }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-focus-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-text);
  padding: var(--s-8) var(--s-16);
  border-radius: var(--s-8);
}
.skip-link:focus {
  left: var(--s-16);
  top: var(--s-16);
  outline: 2px solid var(--color-focus-light);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: var(--s-64); }

.surtitre {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--s-12);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  max-width: 42rem;
  margin-bottom: var(--s-48);
}
.section-head h1 {
  font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem);
  line-height: 1.15;
}
.section-head p {
  color: var(--color-muted);
  max-width: 70ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  min-height: 48px;
  padding: var(--s-12) var(--s-24);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-green {
  background: var(--color-green);
  color: var(--color-white);
}
.btn-green:hover {
  background: var(--color-green-hover);
  color: var(--color-white);
}
.btn-outline-light {
  background: transparent;
  color: var(--color-offwhite);
  border-color: rgba(245, 242, 235, 0.45);
}
.btn-outline-light:hover {
  border-color: var(--color-offwhite);
  color: var(--color-offwhite);
}
.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-dark);
  border-color: var(--color-yellow);
}
.btn-yellow:hover {
  background: var(--color-yellow-hover);
  color: var(--color-dark);
}
.btn-dark {
  background: var(--color-dark);
  color: var(--color-offwhite);
}
.btn-dark:hover {
  background: #1A2224;
  color: var(--color-offwhite);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-dark);
  color: var(--color-offwhite);
}
.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.site-header :focus-visible { outline-color: var(--color-focus-dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24);
  min-height: var(--header-h);
  padding-block: var(--s-12);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo picture { display: block; }
.logo img {
  width: 220px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 767px) {
  .logo img { width: 176px; max-height: 48px; }
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-offwhite);
  border-radius: var(--s-8);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

.menu {
  display: flex;
  align-items: center;
  gap: var(--s-8) var(--s-24);
  list-style: none;
  margin: 0;
}
.menu a {
  color: #D9D4CA;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--s-12) 0;
  white-space: nowrap;
}
.menu a:hover { color: var(--color-offwhite); }
.menu .btn {
  color: var(--color-white);
  padding-inline: var(--s-20);
  margin-left: var(--s-8);
}
.menu .btn:hover { color: var(--color-white); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-dark);
    padding: var(--s-8) var(--pad-x) var(--s-24);
    border-top: 1px solid var(--color-dark-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: var(--s-12) 0; }
  .menu .btn {
    margin: var(--s-12) 0 0;
    align-self: flex-start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--color-dark);
  color: var(--color-offwhite);
  overflow: hidden;
}
.hero :focus-visible { outline-color: var(--color-focus-dark); }

.hero-viewport { position: relative; }

.hero-slide {
  display: none;
  padding-block: var(--s-64) var(--s-80);
  min-height: 28rem;
}
.hero-slide.is-active { display: block; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s-48);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-24);
  min-width: 0;
}
.hero-copy h1,
.hero-copy .hero-title {
  font-size: clamp(2.25rem, 1.1rem + 3.8vw, 4.15rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-offwhite);
  max-width: 16ch;
}
.hero-copy .hero-title { margin: 0; }
.hero-lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: #C9C4BA;
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8) var(--s-12);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #C9C4BA;
  margin-top: var(--s-8);
}
.hero-points span { white-space: nowrap; }
.hero-points span:not(:last-child)::after {
  content: "·";
  margin-left: var(--s-12);
  margin-right: var(--s-12);
  color: #8B8680;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: var(--s-4) var(--s-16);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(240, 176, 24, 0.55);
  color: var(--color-yellow);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: var(--s-8);
}
.hero-mark picture {
  display: flex;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: auto;
}
.hero-mark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(56vh, 500px);
  object-fit: contain;
  object-position: center;
}

.hero-dots {
  display: flex;
  justify-content: flex-start;
  gap: var(--s-8);
  padding: 0 var(--pad-x) var(--s-32);
  max-width: calc(var(--wrap) + var(--pad-x) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.hero-dots button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.hero-dots button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5A635E;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.hero-dots button[aria-selected="true"]::after {
  background: var(--color-yellow);
  transform: scale(1.15);
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-24); }
  .hero-copy h1,
  .hero-copy .hero-title { max-width: 14ch; }
  .hero-mark { order: -1; }
  .hero-mark img { max-height: 300px; }
  .hero-slide { padding-block: var(--s-32) var(--s-48); min-height: 0; }
}

@media (max-width: 767px) {
  .hero-grid { gap: var(--s-16); }
  .hero-copy { gap: var(--s-16); }
  .hero-mark img { max-height: 210px; }
  .hero-slide { padding-block: var(--s-24) var(--s-40); }
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--color-offwhite);
  border-bottom: 1px solid var(--color-line);
  padding-block: var(--s-64);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-32);
}
.trust-item h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: var(--s-12);
  max-width: 14ch;
}
.trust-item p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 28ch;
}
@media (max-width: 899px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-32); }
}
@media (max-width: 767px) {
  .trust { padding-block: var(--s-48); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); }
}

/* ---------- Services ---------- */
.services { background: var(--color-offwhite); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-20);
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-16);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.service-card h3 { max-width: 18ch; }
.service-card p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 40ch;
}
.icon {
  width: 40px;
  height: 40px;
  color: var(--color-green);
  flex: 0 0 auto;
}
.icon--yellow { color: var(--color-yellow); }
.icon svg { width: 40px; height: 40px; }

@media (max-width: 899px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Products ---------- */
.products { background: var(--color-offwhite); padding-top: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-20);
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-16);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.product-card--featured {
  background: var(--color-green-deep);
  color: var(--color-offwhite);
}
.product-card h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.85rem); line-height: 1.2; }
.product-card p { color: var(--color-muted); font-size: 1rem; max-width: 40ch; }
.product-card--featured p { color: #C9D6D3; }
.product-card .credit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}
.product-card a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: var(--s-8);
  margin-top: auto;
}
.product-card a + a { margin-top: 0; }
.product-card--featured a { color: var(--color-offwhite); }
.product-card--featured a:hover { color: var(--color-yellow); }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: var(--s-4) var(--s-12);
  border-radius: var(--radius-pill);
  background: var(--color-offwhite-deep);
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.product-card--featured .tag {
  background: rgba(245, 242, 235, 0.12);
  color: #B7E0D8;
}

@media (max-width: 899px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Timeline ---------- */
.methode { background: var(--color-offwhite); }

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-16);
  position: relative;
  margin: 0;
  padding-top: var(--s-8);
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(12.5% + var(--s-8));
  right: calc(12.5% + var(--s-8));
  top: 52px;
  height: 2px;
  background: var(--color-line);
  z-index: 0;
  pointer-events: none;
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0 var(--s-8);
  background: transparent;
  border: 0;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: var(--radius);
}

.timeline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 var(--s-12);
  border-radius: var(--radius-pill);
  background: var(--color-green);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  margin-bottom: var(--s-12);
  min-width: 5.5rem;
}
.timeline-step:hover .timeline-pill,
.timeline-step:focus-visible .timeline-pill,
.timeline-step.is-active .timeline-pill {
  opacity: 1;
  visibility: visible;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-dark-line);
  box-shadow: 0 0 0 6px var(--color-offwhite);
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.timeline-step:hover .timeline-dot,
.timeline-step:focus-visible .timeline-dot,
.timeline-step.is-active .timeline-dot {
  background: var(--color-green);
  border-color: var(--color-green);
  box-shadow: 0 0 0 6px var(--color-offwhite), 0 0 0 10px var(--color-green);
}

.timeline-num {
  display: block;
  margin-top: var(--s-16);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  white-space: nowrap;
}
.timeline-step:hover .timeline-num,
.timeline-step:focus-visible .timeline-num,
.timeline-step.is-active .timeline-num {
  color: var(--color-green);
}

.timeline-title {
  display: block;
  margin-top: var(--s-8);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
}

.timeline-desc {
  margin-top: var(--s-12);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 28ch;
  padding: var(--s-12) var(--s-16);
  border-radius: var(--radius-sm);
}
.timeline-step:hover .timeline-desc,
.timeline-step:focus-visible .timeline-desc,
.timeline-step.is-active .timeline-desc {
  background: var(--color-green-deep);
  color: var(--color-offwhite);
}

/* Vertical timeline on small screens */
@media (max-width: 767px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-left: var(--s-8);
  }
  .timeline::before {
    left: 19px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
  }
  .timeline-step {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    padding: var(--s-16) 0 var(--s-16) var(--s-56);
    gap: 0;
  }
  .timeline-pill {
    order: 2;
    margin: 0;
    width: auto;
    height: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .timeline-step:hover .timeline-pill,
  .timeline-step:focus-visible .timeline-pill,
  .timeline-step.is-active .timeline-pill {
    height: auto;
    min-height: 28px;
    padding: 0 var(--s-12);
    margin: 0 0 var(--s-8) 0;
    overflow: visible;
  }
  .timeline-dot {
    position: absolute;
    left: 8px;
    top: 22px;
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 6px var(--color-offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* numbers live in the dot on mobile? mockup has 01 inside the circle */
  .timeline-num {
    position: absolute;
    left: 0;
    top: 24px;
    width: 40px;
    margin: 0;
    font-size: 0.6875rem;
    line-height: 20px;
    text-align: center;
    color: var(--color-offwhite);
    z-index: 2;
    pointer-events: none;
  }
  .timeline-dot {
    background: var(--color-dark);
    border-color: var(--color-dark);
    width: 40px;
    height: 40px;
    left: 0;
    top: 14px;
  }
  .timeline-step:hover .timeline-dot,
  .timeline-step:focus-visible .timeline-dot,
  .timeline-step.is-active .timeline-dot {
    background: var(--color-green);
    border-color: var(--color-green);
    box-shadow: 0 0 0 4px var(--color-offwhite);
  }
  .timeline::before {
    left: 19px;
    top: 40px;
    bottom: 40px;
  }
  .timeline-title {
    order: 3;
    width: 100%;
    margin-top: 0;
    font-size: 1.25rem;
  }
  .timeline-desc {
    order: 4;
    max-width: none;
    width: 100%;
    margin-top: var(--s-12);
    text-align: left;
    background: transparent;
    padding: 0;
  }
  .timeline-step:hover .timeline-desc,
  .timeline-step:focus-visible .timeline-desc,
  .timeline-step.is-active .timeline-desc {
    background: var(--color-white);
    color: var(--color-muted);
    padding: var(--s-20);
    box-shadow: var(--shadow-card);
  }
  .timeline-step:hover .timeline-num,
  .timeline-step:focus-visible .timeline-num,
  .timeline-step.is-active .timeline-num,
  .timeline-num { color: var(--color-white); }
}

/* ---------- Réalisations ---------- */
.realisations { background: var(--color-offwhite); }

.work-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-64);
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-24);
  min-width: 0;
  background: var(--color-white);
  border-radius: 20px;
  padding: var(--s-32);
  box-shadow: var(--shadow-card);
}
.work-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-12); max-width: 70ch; }
.work-copy h2,
.work-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.work-copy .credit { font-size: 0.875rem; font-weight: 500; color: var(--color-muted); }
.work-copy p { color: var(--color-muted); }
.work-link {
  font-weight: 500;
  margin-top: var(--s-4);
  padding-block: var(--s-8);
}

.shot {
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-offwhite-deep);
  position: relative;
}
.shot picture {
  display: block;
  width: 100%;
  height: 100%;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot--hero { aspect-ratio: 16 / 7; }
.shot--site { aspect-ratio: 16 / 10; }
.shot--contain {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-16);
  background: var(--color-offwhite);
}
.shot--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
}
.work-gallery--split {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
}
.work-gallery--tills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 40rem;
}
.work-gallery--print {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.shot--phone {
  aspect-ratio: 9 / 19;
  max-height: 420px;
  margin-inline: auto;
  width: 100%;
}
.shot--till {
  aspect-ratio: 9 / 19;
  max-height: 520px;
  background: var(--color-offwhite);
}
.shot--till img,
.shot--phone img { object-fit: contain; object-position: top center; background: var(--color-offwhite); }

.shot-caption {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: var(--s-8);
}

@media (max-width: 899px) {
  .work-gallery,
  .work-gallery--split,
  .work-gallery--tills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 40rem;
}
.work-gallery--print { grid-template-columns: minmax(0, 1fr); }
  .shot--phone, .shot--till { max-height: 460px; aspect-ratio: 9 / 16; width: min(280px, 100%); margin-inline: auto; }
  .work { padding: var(--s-24); }
}



/* ---------- Réalisations homepage slider (Multinfo mx_hero pattern) ---------- */
.realisations--slider {
  /* v4: cards 1.5× smaller again than the previous 56%/1075px size.
     37.5% ≈ 56%/1.5; max 717px ≈ 1075/1.5, so they stay 2/3 of that size on 1920+ too. */
  --w: min(37.5%, 717px);
  overflow: hidden;
}
.realisations--slider .section-head {
  max-width: none;
  margin-left: calc((100% - var(--w)) / 2);
  margin-right: var(--pad-x);
  margin-bottom: var(--s-32);
}

.mxh {
  --gap: 16px;
  position: relative;
  margin: 0 auto var(--s-32);
  max-width: 100%;
  overflow: hidden;
  container-type: inline-size;
}
.mxh-vp {
  overflow: hidden;
  touch-action: pan-y;
}
.mxh-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mxh-s {
  flex: 0 0 var(--w);
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: opacity 0.4s;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mxh-s:not(.is-on) { opacity: 0.55; }
.mxh-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 780;
  background: var(--color-offwhite-deep);
  overflow: hidden;
}
.mxh-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.mxh-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.mxh-media--contain { background: var(--color-offwhite); }
.mxh-media--contain img {
  object-fit: contain;
  padding: var(--s-16);
}
.mxh-media--yawmi {
  background: var(--color-green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-32);
}
.mxh-yawmi-mark {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-offwhite);
  text-align: center;
  margin: 0;
}
.mxh-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-8);
  background: var(--color-white);
}
.mxh-body h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.2;
  color: var(--color-text);
}
.mxh-body p {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 60ch;
  line-height: 1.5;
}
.mxh-body .credit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}
.mxh-body .more {
  font-weight: 500;
  font-size: 0.9375rem;
  margin-top: var(--s-4);
  padding-block: var(--s-8);
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mxh-arr {
  position: absolute;
  /* Mid-point of the screenshot area, so arrows stay on the image as cards shrink. */
  top: calc(min(37.5cqw, 717px) * 780 / 1920 * 0.5);
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-dark);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(14, 20, 22, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mxh-arr:hover { background: var(--color-green); color: #fff; }
.mxh-arr:focus-visible {
  outline: 2px solid var(--color-focus-light);
  outline-offset: 3px;
}
.mxh-arr svg { width: 22px; height: 22px; }
.mxh-prev { left: calc((100% - var(--w)) / 2 - 24px); }
.mxh-next { right: calc((100% - var(--w)) / 2 - 24px); }

.mxh-dots {
  display: flex;
  justify-content: center;
  gap: var(--s-8);
  margin-top: var(--s-4);
  margin-bottom: var(--s-8);
}
.mxh-dots button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mxh-dots button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 9px;
  background: #C6C6C6;
  transition: width 0.3s, background 0.3s;
}
.mxh-dots button[aria-current="true"]::after {
  width: 26px;
  background: var(--color-green);
}

.slider-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--s-16);
}

@media (max-width: 767px) {
  .realisations--slider { --w: 88%; }
  .mxh { --gap: 10px; }
  .mxh-s { border-radius: 10px; }
  .mxh-arr { display: none; }
  .mxh-body { padding: var(--s-16) var(--s-16) var(--s-20); }
}

@media (prefers-reduced-motion: reduce) {
  .mxh-track, .mxh-s { transition: none; }
}

.menu a[aria-current="page"] { color: var(--color-offwhite); }

/* ---------- Partners ---------- */
.partenaires { background: var(--color-offwhite); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-16);
  list-style: none;
  margin: 0;
}
.partner-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  aspect-ratio: 16 / 10;
  background: #D9D6D0;
  border-radius: var(--radius-sm);
  color: #5A635E;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  padding: var(--s-16);
}
@media (max-width: 899px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Academy banner ---------- */
.academy { background: var(--color-offwhite); padding-top: 0; }
.bandeau {
  background: var(--color-yellow);
  color: var(--color-dark);
  border-radius: 20px;
  padding: var(--s-48) var(--s-48);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24) var(--s-32);
}
.bandeau div {
  flex: 1 1 28rem;
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  min-width: 0;
}
.bandeau h2 { color: var(--color-dark); }
.bandeau p {
  color: var(--color-text);
  max-width: 54ch;
  font-size: 1.0625rem;
}
@media (max-width: 767px) {
  .bandeau { padding: var(--s-32) var(--s-24); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--color-offwhite); }

.faq-list { display: flex; flex-direction: column; max-width: 52rem; }
.faq-list details {
  border-top: 1px solid var(--color-line);
}
.faq-list details:last-child { border-bottom: 1px solid var(--color-line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  min-height: 48px;
  padding-block: var(--s-20);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p {
  padding: 0 0 var(--s-24);
  color: var(--color-muted);
  max-width: 65ch;
  padding-right: var(--s-32);
}

/* ---------- Contact + footer ---------- */
.contact {
  background: var(--color-dark);
  color: var(--color-offwhite);
}
.contact :focus-visible { outline-color: var(--color-focus-dark); }
.contact .surtitre { color: var(--color-green-on-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s-64);
  align-items: start;
}
.contact-infos { display: flex; flex-direction: column; gap: var(--s-20); }
.contact-infos > p { color: #C9C4BA; max-width: 42ch; }
.coordonnees {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  margin-top: var(--s-8);
  color: var(--color-offwhite);
}
.coordonnees div { display: flex; align-items: flex-start; gap: var(--s-12); }
.coordonnees svg { flex: 0 0 auto; margin-top: 2px; color: var(--color-green-on-dark); }
.coordonnees a { color: var(--color-offwhite); text-decoration: none; }
.coordonnees a:hover { color: var(--color-yellow); }
.placeholder-note {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8B8680;
  white-space: nowrap;
}

.formulaire {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}
.ligne-champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
}
.formulaire label {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  font-size: 0.875rem;
  font-weight: 500;
  color: #C9C4BA;
}
.formulaire input,
.formulaire select,
.formulaire textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-12) var(--s-16);
  border: 1px solid var(--color-dark-line);
  border-radius: 10px;
  background: var(--color-dark-input);
  color: var(--color-offwhite);
}
.formulaire textarea { min-height: 8rem; resize: vertical; }
.formulaire input::placeholder,
.formulaire textarea::placeholder { color: #6B7370; }
.formulaire button { align-self: flex-start; min-height: 52px; padding-inline: var(--s-32); }
.form-status {
  font-size: 0.9375rem;
  color: var(--color-yellow);
  max-width: 50ch;
}
.form-status[hidden] { display: none; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-40); }
  .ligne-champs { grid-template-columns: minmax(0, 1fr); }
}

.pied {
  background: #0A1012;
  color: #9AA19C;
  padding: var(--s-32) 0;
  font-size: 0.875rem;
}
.pied .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16) var(--s-24);
}
.pied-brand { display: flex; align-items: center; gap: var(--s-16); }
.pied-brand picture { display: block; }
.pied-brand img {
  width: 180px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.pied a { color: #C9C4BA; text-decoration: none; }
.pied a:hover { color: var(--color-offwhite); }
.pied-links { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-16); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: var(--s-24);
  bottom: var(--s-24);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  min-height: 56px;
  padding: 0 var(--s-20) 0 var(--s-16);
  background: #1FA855;
  color: var(--color-white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(14, 20, 22, 0.28);
  white-space: nowrap;
}
.wa-float:hover { color: var(--color-white); background: #17924A; }
.wa-float :focus-visible,
.wa-float:focus-visible { outline-color: var(--color-focus-dark); }
.wa-float svg { width: 24px; height: 24px; flex: 0 0 auto; }
@media (max-width: 1099px) {
  .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; border-radius: 50%; right: var(--s-16); bottom: var(--s-16); }
  .wa-float .wa-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}

/* ---------- Helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header { position: static; }
  .wa-float, .nav-toggle { display: none !important; }
  .hero-slide { display: block !important; }
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Timeline steps are buttons: reset leftover button styles */
button.timeline-step:focus-visible {
  outline: 2px solid var(--color-focus-light);
  outline-offset: 4px;
}

.page-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--s-48);
}


/* ========== mockups-v3 overrides (do not copy blindly over site-v2) ========== */

/* Equal desktop pairs (Caisse Pro) — same size, natural crop, no skinny till */
.work-gallery--sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
}
.work-gallery--equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
}
.shot--pc {
  aspect-ratio: 1280 / 1256;
  background: var(--color-offwhite);
}
.shot--pc img {
  object-fit: contain;
  object-position: top center;
  background: #f4f7fa;
}

/* Phone row: no leftover cells, no mixed-ratio holes */
.work-gallery--phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
  justify-items: center;
  max-width: 44rem;
  margin-inline: auto;
}
.work-gallery.work-gallery--phones-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}
.phone-frame {
  width: 100%;
  max-width: 16rem;
  margin-inline: auto;
}
.phone-frame .shot--phone {
  aspect-ratio: 390 / 844;
  max-height: none;
  width: 100%;
  border-radius: 28px;
  padding: 10px;
  background: #1a2224;
  box-shadow: 0 12px 32px rgba(14, 20, 22, 0.18);
  overflow: hidden;
}
.phone-frame .shot--phone img {
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  background: #111;
}
.phone-frame .shot-caption,
.work-gallery--phones .shot-caption,
.work-gallery--sites .shot-caption,
.work-gallery--equal .shot-caption {
  text-align: center;
}

.shot--zoom {
  cursor: zoom-in;
}
.shot--zoom:focus-visible {
  outline: 3px solid var(--color-green, #16A896);
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .work-gallery--sites,
  .work-gallery--equal {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .work-gallery--phones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
  .work-gallery.work-gallery--phones-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phone-frame .shot--phone {
    padding: 6px;
    border-radius: 18px;
    max-height: none;
    aspect-ratio: 390 / 844;
    width: 100%;
  }
  .phone-frame .shot--phone img { border-radius: 12px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: rgba(14, 20, 22, 0.94);
  color: #F5F2EB;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  flex: 0 0 auto;
  background: #0E1416;
  z-index: 1;
}
.lightbox-caption {
  font-weight: 500;
  font-size: 0.95rem;
  min-width: 0;
}
.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.lightbox-btn {
  appearance: none;
  border: 0;
  background: rgba(245, 242, 235, 0.12);
  color: #F5F2EB;
  font: inherit;
  font-weight: 700;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: #F0B018;
  color: #0E1416;
  outline: none;
}
.lightbox-btn--close {
  background: #F5F2EB;
  color: #0E1416;
  padding-inline: 16px;
}
.lightbox-btn--close:hover,
.lightbox-btn--close:focus-visible {
  background: #F0B018;
}
.lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  display: grid;
  place-items: center;
}
.lightbox-stage.is-panning { cursor: grabbing; }
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.lightbox-hint {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 16px 16px;
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.7);
  text-align: center;
  background: #0E1416;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}
@media (max-width: 599px) {
  .lightbox-bar { padding: 10px; }
  .lightbox-caption { font-size: 0.8125rem; }
}


/* v3b: never crop project screenshots — show the whole frame */
.shot--hero,
.shot--site,
.shot--pc {
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--color-offwhite, #F5F2EB);
}
.shot--hero img,
.shot--site img,
.shot--pc img,
.work-gallery--equal .shot img,
.work-gallery--sites .shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
}


/* v3b: lightbox opens at fit — the whole image stays inside the stage */
.lightbox-stage img {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* v3: keep the WhatsApp chip out of the homepage slider on desktop.
   The next-arrow and the right edge of the slide sit in the bottom-right
   of the viewport while the slider is in view; park the chip on the left. */
@media (min-width: 1100px) {
  .wa-float {
    right: auto;
    left: var(--s-24);
    bottom: var(--s-24);
  }
}
body.is-lightbox-open .wa-float { visibility: hidden; }
.mxh-media[data-zoom],
.shot--zoom { cursor: zoom-in; }

.mxh-media--yawmi-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E1416;
}
.mxh-media--yawmi-shot picture,
.mxh-media--yawmi-shot img {
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---------- Ajouts : partenaires réels, formulaire branché, consentement ---------- */
.partner-grid--links {
  grid-template-columns: repeat(auto-fill, minmax(200px, 260px));
}
.partner-grid--links li { padding: 0; }
.partner-grid--links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--s-16);
  border-radius: inherit;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.partner-grid--links a:hover { background: #CFCBC4; color: var(--color-green); }
@media (max-width: 767px) {
  .partner-grid--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.formulaire .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formulaire label.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--s-12);
  font-weight: 400;
  font-size: 0.9375rem;
}
.formulaire label.consent input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  flex: none;
  accent-color: var(--color-green-on-dark);
}
.form-status.is-ok { color: var(--color-green-on-dark); }
.form-legal {
  font-size: 0.8125rem;
  color: #9AA19C;
  max-width: 60ch;
}
.form-legal a { color: inherit; }
.formulaire button[disabled] { opacity: 0.6; cursor: progress; }

.pied-cookies {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #C9C4BA;
  cursor: pointer;
}
.pied-cookies:hover { color: var(--color-offwhite); }

.consent-banner {
  position: fixed;
  left: var(--s-16);
  right: var(--s-16);
  bottom: var(--s-16);
  z-index: 70;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16) var(--s-24);
  padding: var(--s-20) var(--s-24);
  background: var(--color-dark-soft);
  color: var(--color-offwhite);
  border: 1px solid var(--color-dark-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(14, 20, 22, 0.35);
  font-size: 0.9375rem;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { flex: 1 1 320px; margin: 0; }
.consent-banner :focus-visible { outline-color: var(--color-focus-dark); }
.consent-actions { display: flex; gap: var(--s-12); }
body.has-consent-banner .wa-float { visibility: hidden; }
