/* === SITE 1 — ENTRETIEN PAC === */
/* Univers : Carnet de maintenance technique — labo, dashboard */

:root {
  --ink: #0a1f3a;
  --ink-2: #1a3458;
  --paper: #f4ede0;
  --paper-2: #e8dec9;
  --copper: #b87333;
  --copper-light: #d49861;
  --copper-soft: #f0c896;
  --grid: rgba(10, 31, 58, 0.08);
  --rule: rgba(10, 31, 58, 0.18);
  --critical: #c44a2e;
  --ok: #4a8a5e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}
.mono { font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 50;
}
header nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600; font-size: 1rem;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.02em;
}
.logo::before {
  content: '⊙ '; color: var(--copper);
}
.logo span { color: var(--copper); }

/* HERO — Dashboard technique */
.hero-tech {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-tech .label-tech {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-tech h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero-tech h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--copper-soft) 60%);
  padding: 0 6px;
}
.hero-tech .subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  color: var(--ink-2);
  margin-bottom: 36px;
}

/* Dashboard grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 40px;
}
.tech-cell {
  background: var(--paper);
  padding: 24px 20px;
}
.tech-cell .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--copper);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.tech-cell .v {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.03em;
}
.tech-cell .u {
  font-size: .85rem;
  color: var(--ink-2);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA */
.btn-tech {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all .2s;
  letter-spacing: -.01em;
}
.btn-tech:hover { background: var(--copper); border-color: var(--copper); }
.btn-tech::after { content: '→'; }

/* Sections */
section { padding: 70px 0; border-bottom: 1px solid var(--rule); }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 36px;
  letter-spacing: -.02em;
}
section h2::before {
  content: '§ ';
  font-family: 'IBM Plex Mono', monospace;
  color: var(--copper);
  font-weight: 400;
}

/* Checklist 12 points */
.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.checklist li {
  list-style: none;
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
  font-family: 'IBM Plex Mono', monospace;
}
.checklist li::before {
  content: '☐ ';
  color: var(--copper);
}
@media (max-width: 768px) { .checklist { grid-template-columns: 1fr; } }

/* Artisan cards */
.artisan-card {
  border: 1px solid var(--rule);
  padding: 24px;
  margin-bottom: 16px;
  background: var(--paper);
}
.artisan-card .badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--copper);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 30px;
  font-size: .9rem;
}
footer a { color: var(--copper-light); text-decoration: none; }

/* API blocks */
.api-block {
  border-left: 3px solid var(--copper);
  padding: 16px 20px;
  background: rgba(184, 115, 51, .06);
  margin: 24px 0;
  font-size: .95rem;
}
.api-block h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.api-block strong { color: var(--ink); font-weight: 600; }
.api-source { font-size: .75rem; color: var(--ink-2); opacity: .7; margin-top: 8px; }

/* === GLOBAL FIX LISIBILITE : liens dans <section> et <nav> heritent la couleur du parent === */
section a:not([class*="btn"]):not(.exit-popup-cta):not([style*="color:#fff"]):not([style*="color: #fff"]):not([style*="color:#d94a1f"]):not([style*="color: #d94a1f"]):not([style*="color:#2563eb"]) {
  color: inherit;
}
nav a:not([class*="btn"]):not([style*="color"]) { color: inherit; }
section a:hover:not([class*="btn"]):not(.exit-popup-cta) { opacity: 1; }


/* === RESPONSIVE-MOBILE-PATCH v1 — 2026-05-12 (v3 spec-boost) ===
   Master mobile-first patch for the 100+ aprod-* portfolio.
   v3 : selectors prefixed with body/html body to win cascade against
   inline <style> blocks (vitrier-urgence, serrurier-flash, etc.).
   Rollback : strip the block between markers.
   Targets : tap targets 44px, hero compact, form above-fold, no iOS zoom,
             no horizontal scroll, fluid imgs, single-column cards,
             readable RGPD banner. !important used to override theme CSS.
   ============================================================ */

/* --- Universal safety (all viewports) --- */
img, video, iframe { max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }

/* --- A11y color-contrast overrides for known portfolio inline colors ---
   Each inline `style="color:#xxx"` from helpers (temoignages, cro_pack) failed
   WCAG 4.5:1 ratio on white/light bg. CSS overrides via attribute selectors win
   because inline colors are NOT !important — our !important beats them.
   ============================================================ */
[style*="color:#f59e0b"] { color: #b45309 !important; } /* amber → darker amber 5.21:1 */
[style*="color: #f59e0b"] { color: #b45309 !important; }
[style*="color:#f6b952"] { color: #b45309 !important; } /* yellow → darker amber */
[style*="color: #f6b952"] { color: #b45309 !important; }
[style*="color:#cba3a3"] { color: #7f1d1d !important; } /* pink → dark red 8.5:1 */
[style*="color: #cba3a3"] { color: #7f1d1d !important; }
[style*="color:#9ca3af"] { color: #4b5563 !important; } /* light gray → medium gray 7.56:1 */
[style*="color: #9ca3af"] { color: #4b5563 !important; }
[style*="color:#6b7280"] { color: #374151 !important; } /* medium gray → darker 11.6:1 */
[style*="color: #6b7280"] { color: #374151 !important; }
[style*="color:#d1d5db"] { color: #4b5563 !important; } /* lighter gray → medium */
[style*="color:#e5e7eb"] { color: #4b5563 !important; } /* very light gray */
/* btn-urgent : pink on yellow disaster fix */
.btn-urgent, a.btn-urgent { color: #fff !important; background: #dc2626 !important; }
/* small star/rating amber on near-white bg */
.temoignages-block [style*="color:#f59e0b"],
.temoignages-block [style*="color: #f59e0b"] { color: #b45309 !important; }

/* --- Mobile (<= 767px) --- */
@media (max-width: 767px) {
  html, body { overflow-x: hidden !important; max-width: 100vw; }

  /* Typography & spacing */
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  section { padding: 28px 0 !important; }
  section h2, h2 { font-size: 1.45rem !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
  h3 { font-size: 1.1rem !important; }
  p, li { font-size: .95rem; line-height: 1.55; }

  /* Hero compact (push form above the fold on most pages) */
  .hero, .hero-section, [class*="hero-"] { padding: 22px 0 18px !important; }
  /* h1 + Bootstrap display-* classes (override BS .display-1..6 responsive sizing) */
  .hero h1, h1,
  h1.display-1, h1.display-2, h1.display-3, h1.display-4, h1.display-5, h1.display-6,
  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
    margin: 0 0 10px !important;
    font-weight: 800 !important;
  }
  .hero p, .hero .subtitle, .hero-subtitle, p.lead, .lead { font-size: .95rem !important; line-height: 1.5 !important; margin: 0 auto 14px !important; max-width: 100% !important; }
  .badge-pill, .hero .badge, .badge { font-size: .75rem !important; padding: 4px 12px !important; margin-bottom: 12px !important; }

  /* Bootstrap container & spacing tightening on mobile */
  .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 14px !important; padding-right: 14px !important;
  }
  .py-5, [class*="py-"] { padding-top: 28px !important; padding-bottom: 28px !important; }
  .my-5, [class*="my-"] { margin-top: 20px !important; margin-bottom: 20px !important; }
  .mt-5, .mt-4 { margin-top: 16px !important; }
  .mb-5, .mb-4 { margin-bottom: 16px !important; }

  /* Bootstrap row/col stacking (defensive) */
  .row > [class^="col-"], .row > [class*=" col-"] { margin-bottom: 10px; }

  /* Header / nav */
  header { padding: 10px 0 !important; }
  header nav { flex-wrap: wrap; gap: 8px !important; }
  header nav a, header nav .logo {
    padding: 10px 8px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }
  header .logo { font-size: 1.1rem !important; padding-left: 0 !important; }

  /* Buttons & CTAs : enforce 44px tap target */
  .btn-cta, .btn, button, input[type="submit"], input[type="button"], [role="button"], a.btn {
    min-height: 44px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-cta { padding: 14px 22px !important; font-weight: 700 !important; }
  a.read-more, a.lire-suite, a[class*="text-decoration"] { min-height: 40px; padding: 8px 4px; display: inline-block; }

  /* Forms : 16px font (no iOS zoom) + 44px controls */
  input, textarea, select, button { font-size: 16px !important; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  textarea, select {
    min-height: 44px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box !important;
  }
  label { font-size: .9rem; }
  form { max-width: 100% !important; }

  /* Card grids : stack 1 col */
  .cards-grid, .grid, .row-cards, [class*="cards-"] { grid-template-columns: 1fr !important; gap: 12px !important; }
  .card { padding: 18px !important; }
  .card h3 { font-size: 1.1rem !important; margin: 0 0 8px !important; }

  /* Footer */
  footer { padding: 32px 0 16px !important; margin-top: 24px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 18px !important; }

  /* RGPD banner safety (don't cover form/CTA) */
  .rgpd-banner, .cookie-banner, [class*="cookie"] {
    bottom: 12px !important; left: 12px !important; right: 12px !important;
    max-width: calc(100vw - 24px) !important; font-size: .85rem;
  }

  /* MediaBuyer / VUD banner : keep responsive */
  .vud-banner-autopromo img, .mb-banner img, .autopromo img { max-width: 100% !important; height: auto !important; }
  .mb-urgent-banner {
    margin: 14px 12px !important;
    padding: 12px 14px !important;
    max-width: calc(100vw - 24px) !important;
    border-radius: 10px !important;
  }
  .mb-urgent-banner > div:nth-child(2) { font-size: .95rem !important; }
  .mb-urgent-banner > div:nth-child(3) { font-size: .8rem !important; }
  .mb-urgent-banner a {
    display: inline-block !important;
    min-height: 36px !important;
    padding: 6px 4px !important;
    line-height: 1.4 !important;
  }

  /* Real artisans cards SIRENE (.real-artisans-block / .ra-grid / .ra-card) */
  .real-artisans-block { margin: 24px 8px !important; padding: 18px 12px !important; border-radius: 10px !important; }
  .real-artisans-block h2 { font-size: 1.15rem !important; margin: 0 0 4px !important; line-height: 1.3 !important; }
  .real-artisans-block .ra-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .real-artisans-block .ra-card { padding: 14px !important; }
  .real-artisans-block .ra-card h3 { font-size: .95rem !important; line-height: 1.3 !important; }
  .real-artisans-block .ra-card a { min-height: 40px !important; padding: 8px 10px !important; }
  /* Legacy selectors keep working */
  .real-artisans, .ra-cards, [class*="artisan-card"]:not(.ra-card) { display: flex !important; flex-direction: column !important; gap: 10px !important; }

  /* Sticky bottom CTA bar (helper sticky-cta.php) */
  .sticky-cta-bar { z-index: 9999; }
  .sticky-cta-btn { min-height: 56px !important; padding: 14px 8px !important; font-size: .92rem !important; }
  /* Ensure form/page bottom isn't covered by sticky CTA */
  body:has(.sticky-cta-bar) { padding-bottom: 76px !important; }

  /* Tables : scrollable */
  table { display: block; overflow-x: auto; max-width: 100%; }

  /* Touch-friendly spacing for footer / inline links */
  footer a, .footer-links a { padding: 6px 4px; display: inline-block; min-height: 32px; }
}

/* --- Small mobile (<= 380px iPhone SE / Pixel 3a) --- */
@media (max-width: 380px) {
  .hero h1, h1 { font-size: 1.4rem !important; }
  .btn-cta { padding: 12px 16px !important; font-size: .95rem !important; }
  .container { padding-left: 10px !important; padding-right: 10px !important; }
}

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Print safety (don't break print layout) --- */
@media print {
  header, footer, .rgpd-banner, .cookie-banner, .vud-banner-autopromo { display: none !important; }
}
/* === RESPONSIVE-MOBILE-PATCH-END === */

/* hero-photo bg â€” gpt-image-1 generated 2026-05-14 */
.hero, section.hero {
    background-image:
        linear-gradient(135deg, rgba(15,23,42,.78), rgba(2,132,199,.45)),
        url('/images/local/hero.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
}

/* HERO READABILITY FIX 2026-05-15 */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,62,138,.72) 0%, rgba(0,0,0,.55) 100%);
  z-index: 0; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero h1 strong, .hero p, .hero > .container > *:not(.aprod-topfold-cta) {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero h1 strong { color: #ffd166 !important; }
.hero .btn-cta, .hero .btn-primary, .hero a.btn-cta { color: #fff !important; }
.hero .aprod-topfold-cta { background: rgba(255,255,255,.96) !important; border: 1px solid rgba(255,255,255,.4) !important; }
.hero .aprod-topfold-cta * { color: #1a1a1a !important; text-shadow: none !important; }
.hero .aprod-topfold-cta a[style*="background:#dc2626"], .hero .aprod-topfold-cta a[style*="background:#0077B6"] { color: #fff !important; }
/* end hero fix */

/* CTA BUTTON VISIBILITY FIX 2026-05-15 */
.cta-section, section.cta, .cta-banner, .cta { background: #023E8A; color: #fff; padding: 40px 20px; border-radius: 16px; margin: 40px auto; max-width: 1200px; }
.cta-section h2, .cta-section p, section.cta h2, section.cta p, .cta-banner h2, .cta-banner p, .cta h2, .cta p { color: #fff !important; }
.cta-section a, section.cta a, .cta-banner a, .cta a,
.cta-section .btn, .cta-section a.btn, .cta-section .btn-primary, .cta-section a[class*="btn"],
section.cta .btn, section.cta a.btn, section.cta a[class*="btn"],
.cta-banner .btn, .cta-banner a.btn, .cta-banner a[class*="btn"],
.cta a[class*="btn"], .cta .btn {
  background: #ffd166 !important; color: #023E8A !important; font-weight: 700 !important;
  padding: 14px 28px !important; border-radius: 999px !important; display: inline-block !important;
  text-decoration: none !important; border: 0 !important; box-shadow: 0 4px 14px rgba(0,0,0,.2) !important;
  min-width: 200px; text-align: center;
}
.cta-section a[style*="background"], section.cta a[style*="background"], .cta-banner a[style*="background"], .cta a[style*="background"] {
  background: #ffd166 !important; color: #023E8A !important;
}
/* end cta fix */

/* TESTIMONIALS CENTERING FIX 2026-05-15 */
.testimonials { padding: 60px 20px; }
.testimonials .section-title { text-align: center; margin-bottom: 30px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.testimonials-grid { max-width: 1200px; margin: 40px auto !important; padding: 0 20px; }
/* end testimonials */

/* HERO READABILITY FIX 2026-05-15 */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,62,138,.72) 0%, rgba(0,0,0,.55) 100%);
  z-index: 0; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero h1 strong, .hero p, .hero > .container > *:not(.aprod-topfold-cta) {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero h1 strong { color: #ffd166 !important; }
.hero .btn-cta, .hero .btn-primary, .hero a.btn-cta { color: #fff !important; }
.hero .aprod-topfold-cta { background: rgba(255,255,255,.96) !important; border: 1px solid rgba(255,255,255,.4) !important; }
.hero .aprod-topfold-cta * { color: #1a1a1a !important; text-shadow: none !important; }
.hero .aprod-topfold-cta a[style*="background:#dc2626"], .hero .aprod-topfold-cta a[style*="background:#0077B6"] { color: #fff !important; }
/* end hero fix */

/* VUD_GEOLOC_BTN_OVERRIDE 2026-05-15 — force readable geoloc button (was blue-on-blue) */
.vud-form-card a.vud-geoloc, .vud-form-card .vud-geoloc-btn, .vud-form-card .vud-geolocate,
#vecb30ead0bd a[href*="geoloc"], #vecb30ead0bd button[class*="geoloc"],
.vud-form-card a[style*="background:#3b82f6"], .vud-form-card a[style*="background:#2563eb"],
.vud-form-card a[style*="background-color:#3b82f6"], .vud-form-card a[style*="background-color:#2563eb"] {
  background: #023E8A !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.18) !important;
  border: 0 !important;
}
/* If text and bg use same blue: catch all anchors inside vud widget with blue-ish bg */
#vecb30ead0bd a[style*="background"] { color: #ffffff !important; }
#vecb30ead0bd .vud-geoloc, #vecb30ead0bd .vud-geolocate, #vecb30ead0bd .geolocate-btn { color: #ffffff !important; }
/* end vud geoloc btn */
/* LOW_OPACITY_BLUE_FIX 2026-05-15 — readable text on blue gradient cards */
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] p,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] label,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] span,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] div,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] li,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] strong,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] [style*="opacity:.85"],
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] [style*="opacity:.8"],
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] [style*="opacity:.7"],
[style*="background:#0077B6"] [style*="opacity:.85"],
[style*="background:#0077B6"] [style*="opacity:.8"],
[style*="background:#023E8A"] [style*="opacity:.85"],
[style*="background:#023E8A"] [style*="opacity:.8"] {
  color: #fff !important;
  opacity: 1 !important;
}
/* keep highlight text visible */
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] h1,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] h2,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] h3,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] h4 {
  color: #FFB703 !important;
  opacity: 1 !important;
}
/* end low opacity blue fix */

/* EXIT_POPUP_FIX_V2 2026-05-15 — let JS toggle display, only fix visuals */
#cro-exit-popup { padding: 16px; box-sizing: border-box; }
#cro-exit-popup > div {
  background: #fff !important;
  border-radius: 16px !important;
  max-width: 460px !important;
  width: 100% !important;
  padding: 32px 24px !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0,0,0,.3) !important;
  z-index: 100000 !important;
  margin: auto !important;
}
#cro-exit-popup h3 { margin: 0 0 12px !important; color: #111 !important; font-size: 1.4rem !important; }
#cro-exit-popup p  { margin: 0 0 18px !important; color: #4b5563 !important; line-height: 1.5 !important; }
#cro-exit-popup #cro-exit-cta, #cro-exit-popup a.cro-ab-cta {
  display: inline-block !important;
  background: linear-gradient(135deg,#f97316,#ea580c) !important;
  color: #fff !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}
#cro-exit-popup #cro-exit-close {
  position: absolute !important; top: 12px !important; right: 14px !important;
  background: transparent !important; border: none !important;
  font-size: 1.6rem !important; cursor: pointer !important; color: #9ca3af !important;
  line-height: 1 !important; padding: 0 6px !important;
}
/* Hide A/B text variant placeholders if both visible */
#cro-exit-popup .cro-ab-text-A { display: inline !important; }
#cro-exit-popup .cro-ab-text-B { display: none !important; }
/* end exit popup fix v2 */

/* WIDGET_BLUE_EXCEPTION 2026-05-15 — undo color:#fff inside VUD widget */
.cluster-hero #vecb30ead0bd, [style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] #vecb30ead0bd,
.cluster-hero .vud-widget-top-wrap, [style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] .vud-widget-top-wrap {
  color: #1a1a1a !important;
}
.cluster-hero #vecb30ead0bd *, .cluster-hero .vud-widget-top-wrap *,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] #vecb30ead0bd *,
[style*="background:linear-gradient(135deg,#0077B6,#023E8A)"] .vud-widget-top-wrap * {
  color: inherit !important;
}
/* But preserve white background of the VUD form card */
#vecb30ead0bd { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.15); }
.vud-widget-top-wrap { background: transparent; }
/* end widget exception */

/* WIDGET_GLOBAL_CARD 2026-05-15 — VUD widget always has white card + dark text */
.vud-widget-top-wrap {
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 28px rgba(0,0,0,.18) !important;
  padding: 14px !important;
  color: #1a1a1a !important;
  isolation: isolate;
}
.vud-widget-top-wrap, .vud-widget-top-wrap * {
  color: #1a1a1a !important;
  text-shadow: none !important;
}
.vud-widget-top-wrap a { color: #0077B6 !important; }
.vud-widget-top-wrap strong, .vud-widget-top-wrap b { color: #0a1f3a !important; }
.vud-widget-top-wrap button, .vud-widget-top-wrap input, .vud-widget-top-wrap select, .vud-widget-top-wrap textarea {
  color: #1a1a1a !important;
  background: #ffffff !important;
}
#vecb30ead0bd, #vecb30ead0bd * { color: inherit !important; }
/* The VUD form internal blue buttons should keep their color via the script's inline styles, but ensure visibility */
.vud-widget-top-wrap [style*="background:#0077B6"], .vud-widget-top-wrap [style*="background: #0077B6"],
.vud-widget-top-wrap [style*="background:#023E8A"] { color: #ffffff !important; }
/* end widget global card */

/* KILL_CRO_EXIT_ONLY 2026-05-15 — kill cro-exit-popup + sticky + live-activity for good (buggy, dimmer overlays content) */
#cro-exit-popup, #cro-sticky-mobile, #cro-live-activity, [id="cro-exit-popup"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
body { padding-bottom: 0 !important; }
/* end kill cro */
