/*
Theme Name: Vektra
Theme URI: https://vektra.be
Author: Vektra
Author URI: https://vektra.be
Description: Custom WordPress theme for Vektra.be — safety training and consulting (Code 95, First Aid, VCA) for Belgian companies. Converted from the original Vektra React/TanStack site, including the FR/EN/NL language switcher, quote request flow, and Stripe-powered online payment for the VCA training.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vektra
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --radius: 0.375rem;

  --navy: oklch(0.28 0.072 251);
  --navy-foreground: oklch(0.985 0 0);
  --turquoise: oklch(0.76 0.128 205);
  --turquoise-foreground: oklch(0.22 0.05 251);
  --orange: oklch(0.68 0.19 45);
  --orange-foreground: oklch(0.99 0 0);

  --background: oklch(1 0 0);
  --foreground: oklch(0.24 0.05 251);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.24 0.05 251);

  --primary: oklch(0.28 0.072 251);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.76 0.128 205);
  --secondary-foreground: oklch(0.22 0.05 251);
  --muted: oklch(0.965 0.005 247);
  --muted-foreground: oklch(0.52 0.03 251);
  --accent: oklch(0.68 0.19 45);
  --accent-foreground: oklch(0.99 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(0.915 0.012 247);
  --input: oklch(0.915 0.012 247);
  --ring: oklch(0.76 0.128 205);

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --max-width: 1152px; /* max-w-6xl */
  --max-width-3xl: 768px;
}

/* Fallback for browsers without oklch() support (older Safari/Chrome) */
@supports not (color: oklch(1 0 0)) {
  :root {
    --navy: #1c2b4a;
    --navy-foreground: #fafafa;
    --turquoise: #7fd6d6;
    --turquoise-foreground: #1e2740;
    --orange: #d97a3d;
    --orange-foreground: #fdfdfd;
    --background: #ffffff;
    --foreground: #232c47;
    --card: #ffffff;
    --card-foreground: #232c47;
    --primary: #1c2b4a;
    --primary-foreground: #fafafa;
    --secondary: #7fd6d6;
    --secondary-foreground: #1e2740;
    --muted: #f4f5f7;
    --muted-foreground: #6c7488;
    --accent: #d97a3d;
    --accent-foreground: #fdfdfd;
    --border: #e2e4e9;
    --input: #e2e4e9;
    --ring: #7fd6d6;
  }
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-narrow {
  max-width: var(--max-width-3xl);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Force the Vektra logo to render in white on dark backgrounds */
.logo-white { filter: brightness(0) invert(1); }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.125rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent:hover { opacity: 0.9; }
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-outline {
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--foreground);
}
.btn-pill {
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.6rem 1.35rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.btn-pill:hover { transform: translateY(-2px); opacity: 0.95; }
.btn-block { width: 100%; }

/* =========================================================
   4. HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.site-header__bar {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__logo img { height: 2.1rem; width: auto; }

.site-nav { display: none; flex: 1; justify-content: center; }
.site-nav ul { display: flex; align-items: center; gap: 0.5rem; }
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(35,44,71,0.65);
  border-radius: 0.125rem;
  transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--foreground); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.65rem; right: 0.65rem; bottom: -1px;
  height: 2px;
  border-radius: 9999px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.site-header__actions { display: none; align-items: center; gap: 0.75rem; }

.lang-switch { display: flex; align-items: center; gap: 0.25rem; }
.lang-switch button {
  height: 1.75rem;
  padding: 0 0.5rem;
  border: none;
  background: transparent;
  border-radius: 0.125rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.lang-switch button.active { background: var(--secondary); color: var(--secondary-foreground); }
.lang-switch button:hover:not(.active) { color: var(--secondary); }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.125rem;
  background: transparent;
  color: var(--foreground);
}
.menu-toggle:hover { border-color: var(--secondary); color: var(--secondary); }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.25rem 1.25rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0 0.75rem 0.75rem;
  border-left: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35,44,71,0.75);
}
.mobile-nav a:hover, .mobile-nav a.is-active { border-color: var(--secondary); color: var(--foreground); }
.mobile-nav__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .site-header__actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =========================================================
   5. HERO VIDEO (home)
   ========================================================= */
.hero-media { position: relative; border-bottom: 1px solid var(--border); }
.hero-media video, .hero-media img {
  width: 100%;
  height: 38vh;
  object-fit: cover;
}
@media (min-width: 640px) { .hero-media video, .hero-media img { height: 45vh; } }
@media (min-width: 768px) { .hero-media video, .hero-media img { height: 60vh; } }
.hero-media__controls {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.hero-media__controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(28,43,74,0.7);
  color: #fff;
  backdrop-filter: blur(4px);
  border: none;
}
.hero-media__controls button:hover { background: var(--primary); }
.hero-media__controls svg { width: 1.25rem; height: 1.25rem; }

/* =========================================================
   6. HOMEPAGE
   ========================================================= */
.hero-intro { background-color: var(--muted); }
.hero-intro__inner { max-width: var(--max-width); margin-inline: auto; padding: 3.5rem 1.25rem; text-align: center; }
@media (min-width: 768px) { .hero-intro__inner { padding-block: 5rem; } }
.hero-intro h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
@media (min-width: 768px) { .hero-intro h1 { font-size: 3.4rem; } }
.hero-intro p {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .hero-intro p { font-size: 1.25rem; } }
.hero-intro .btn { margin-top: 2rem; }

.service-cards {
  max-width: var(--max-width);
  margin: -2rem auto 0;
  padding-inline: 1.25rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block;
  border-radius: 0.5rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 768px) { .service-card { padding: 2rem; } }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 25px rgba(0,0,0,0.12); }
.service-card h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.service-card__rule { margin-top: 1rem; height: 2px; width: 2.5rem; background: rgba(0,0,0,0.15); transition: width 0.3s ease; }
.service-card:hover .service-card__rule { width: 4rem; }
.service-card p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.75; opacity: 0.8; }

.home-cta { max-width: var(--max-width-3xl); margin-inline: auto; padding: 5rem 1.25rem; text-align: center; }
.home-cta h2 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; letter-spacing: -0.01em; color: var(--foreground); }
.rule { margin: 1rem auto 0; height: 4px; width: 5rem; background: var(--secondary); }
.home-cta p { margin-top: 1.5rem; color: var(--muted-foreground); }
.home-cta p.strong { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--foreground); }
.home-cta .btn { margin-top: 2rem; }

/* =========================================================
   7. PAGE HERO (inner pages)
   ========================================================= */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background-color: var(--muted); }
.page-hero__tint { position: absolute; inset-block: 0; right: 0; width: 33.333%; background: color-mix(in oklab, var(--secondary) 15%, transparent); display: none; }
@media (min-width: 768px) { .page-hero__tint { display: block; } }
.page-hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 3rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .page-hero__inner { padding-block: 4rem; } }
.page-hero__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  border: 2px solid var(--secondary);
  background: var(--background);
  color: var(--primary);
}
.page-hero__icon svg { width: 2rem; height: 2rem; }
@media (min-width: 768px) { .page-hero__icon { width: 5rem; height: 5rem; } .page-hero__icon svg { width: 2.5rem; height: 2.5rem; } }
.page-hero h1 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { margin-top: 1rem; max-width: 42rem; color: var(--muted-foreground); font-size: 1rem; }
@media (min-width: 768px) { .page-hero p { font-size: 1.125rem; } }

/* =========================================================
   8. GENERIC SECTION HELPERS
   ========================================================= */
.section { max-width: var(--max-width); margin-inline: auto; padding: 3.5rem 1.25rem; }
@media (min-width: 768px) { .section { padding-block: 4rem; } }
.section-title { text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
.section-rule { margin: 0.75rem auto 0; height: 4px; width: 4rem; background: var(--secondary); }

/* Code 95 modules */
.modules-grid { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .modules-grid { grid-template-columns: repeat(3, 1fr); } }
.module-card { position: relative; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.module-card__icon { margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: color-mix(in oklab, var(--secondary) 20%, transparent); color: var(--primary); }
.module-card__icon svg { width: 1.25rem; height: 1.25rem; }
.module-card__label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--secondary); }
.module-card h3 { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.module-card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

.banner {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1.5rem;
}
@media (min-width: 768px) { .banner { flex-direction: row; align-items: center; padding: 1.5rem 2rem; } }
.banner p { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.banner svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.banner .btn-primary { border-radius: 0.125rem; }

/* First aid */
.firstaid-grid { margin-top: 3.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .firstaid-grid { grid-template-columns: 0.85fr 1.15fr; } }
.firstaid-grid h2 { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.firstaid-grid h2 svg { width: 1.75rem; height: 1.75rem; color: var(--secondary); }
.firstaid-list { margin-top: 1.5rem; }
.firstaid-list li { border-left: 4px solid var(--secondary); padding-left: 1rem; margin-bottom: 1rem; color: var(--muted-foreground); }
.firstaid-list strong { color: var(--foreground); }
.calendar-card { border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent); background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.calendar-card__head { display: flex; align-items: center; justify-content: space-between; background: var(--secondary); color: var(--secondary-foreground); padding: 1rem 1.25rem; }
.calendar-card__head h2 { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.calendar-card__head h2 svg { width: 1.25rem; height: 1.25rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .calendar-grid { grid-template-columns: repeat(4, 1fr); } }
.calendar-day { min-height: 10rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); padding: 1rem; }
.calendar-day__date { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; color: var(--primary); }
.calendar-day__num { margin: 1rem 0; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground); font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; }
.calendar-day p { font-size: 0.75rem; line-height: 1.5; color: var(--muted-foreground); }
.calendar-note { padding: 1rem 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* VCA steps */
.steps-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { border-top: 4px solid var(--secondary); background: var(--card); padding: 1.5rem; }
.step-card__num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--secondary); }
.step-card h2 { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.certs-panel { margin-top: 3.5rem; background: var(--primary); color: var(--primary-foreground); padding: 2rem; }
.certs-panel h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.certs-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
@media (min-width: 768px) { .certs-list { grid-template-columns: repeat(2, 1fr); } }
.certs-panel .btn { margin-top: 2rem; }

/* About */
.values-grid { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) {
  .values-grid::before {
    content: "";
    position: absolute;
    left: 12.5%; right: 12.5%; top: 1.75rem;
    height: 2px;
    background: var(--secondary);
  }
}
.value-item { position: relative; text-align: center; }
.value-item__icon { position: relative; z-index: 1; margin-inline: auto; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; border: 2px solid var(--secondary); background: var(--background); color: var(--primary); }
.value-item__icon svg { width: 1.5rem; height: 1.5rem; }
.value-item h2 { margin-top: 1rem; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--foreground); }
.value-item p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.about-refs { margin-top: 3.5rem; display: grid; align-items: center; gap: 2rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
@media (min-width: 768px) { .about-refs { grid-template-columns: 1fr auto; } }
.about-refs h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.about-refs p { margin-top: 1rem; max-width: 48rem; color: var(--muted-foreground); }
.about-refs__logos { display: flex; align-items: center; gap: 2rem; color: var(--primary); font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; }

/* =========================================================
   9. FORMS
   ========================================================= */
.field {
  width: 100%;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.85rem 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}
.field::placeholder { color: var(--muted-foreground); }
.field:focus { box-shadow: 0 0 0 2px var(--ring); }
.field-label { display: block; font-size: 0.875rem; }
.field-label span { display: block; margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.form-note { padding-top: 0.5rem; font-size: 0.875rem; }
.form-success { font-size: 0.875rem; font-weight: 600; }
.form-error { font-size: 0.875rem; font-weight: 600; color: var(--destructive); }

/* Contact page */
.contact-section { background: var(--secondary); }
.contact-grid { max-width: var(--max-width); margin-inline: auto; padding: 3rem 1.25rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 2fr; padding-block: 4rem; } }
.contact-aside { color: var(--secondary-foreground); }
.contact-aside h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.contact-aside ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.875rem; }
.contact-aside li { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-aside svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid color-mix(in oklab, var(--secondary-foreground) 20%, transparent);
  background: color-mix(in oklab, var(--secondary) 40%, transparent);
  padding: 1.25rem;
}
@media (min-width: 768px) { .contact-form { padding: 1.75rem; } }
.contact-form .form-note, .contact-form .form-success { color: var(--secondary-foreground); }

/* Devis page */
.devis-form { display: flex; flex-direction: column; gap: 1.25rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; }
@media (min-width: 768px) { .devis-form { padding: 1.75rem; } }
.devis-total { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 1rem; }
.devis-total span:first-child { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.devis-total span:last-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.devis-hint { font-size: 0.875rem; color: var(--muted-foreground); }
#vektra-checkout-container { min-height: 320px; }
.test-mode-banner {
  background: color-mix(in oklab, var(--orange) 15%, var(--background));
  color: var(--orange);
  border-bottom: 1px solid color-mix(in oklab, var(--orange) 30%, transparent);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
}

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer { background: var(--primary); color: var(--primary-foreground); }
.site-footer__inner { max-width: var(--max-width); margin-inline: auto; padding: 3.5rem 1.25rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 0.9fr; } }
.site-footer__brand img { height: 2.25rem; width: auto; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 20rem; font-size: 0.92rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.site-footer h3 { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.9); }
.site-footer ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.site-footer ul.contact-list { gap: 0.85rem; }
.site-footer a:hover { color: var(--secondary); }
.contact-list li { display: flex; align-items: flex-start; gap: 0.65rem; }
.contact-list svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.2rem; color: var(--secondary); }
.footer-refs { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: rgba(255,255,255,0.85); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.25rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float svg { width: 1.75rem; height: 1.75rem; }

/* =========================================================
   11. UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
