/* ══════════════════════════════════════════════════
   VAST Security — Base CSS
   Variables, reset, typographie, utilitaires
══════════════════════════════════════════════════ */

:root {
  /* Palette */
  --c-navy:    #080F1E;
  --c-navy2:   #0D1829;
  --c-navy3:   #1A2540;
  --c-accent:  #1A5CFF;
  --c-accent-h:#3D6FFF;
  --c-teal:    #00C2B8;
  --c-teal-h:  #00A89F;
  --c-orange:  #FF7A2F;
  --c-green:   #22C55E;
  --c-red:     #E24B4A;
  --c-text:    #1C2340;
  --c-muted:   #6B7494;
  --c-bg:      #F4F6FA;
  --c-white:   #FFFFFF;
  --c-border:  rgba(28,35,64,.09);

  /* Typographie */
  --f-sans: 'DM Sans', sans-serif;
  --f-mono: 'DM Mono', monospace;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Border radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(28,35,64,.08);
  --shadow-md:  0 4px 20px rgba(28,35,64,.1);
  --shadow-lg:  0 8px 40px rgba(28,35,64,.12);
  --shadow-xl:  0 16px 64px rgba(28,35,64,.15);

  /* Transitions */
  --ease: .2s ease;

  /* Container */
  --container: 1160px;
  --container-pad: 40px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: var(--f-sans);
  font-size: 14px;
}

/* ── Container ── */
.vast-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 768px) {
  :root { --container-pad: 20px; }
}

/* ── Typographie ── */
h1, h2, h3, h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 3.5vw, 36px); }
h3 { font-size: clamp(17px, 2vw, 22px); }
h4 { font-size: 16px; }
p  { line-height: 1.75; }

.vast-mono {
  font-family: var(--f-mono);
  letter-spacing: .03em;
}
.vast-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-teal);
  display: block;
  margin-bottom: 12px;
}

/* ── Boutons ── */
.vast-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background var(--ease), transform var(--ease), border-color var(--ease), color var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.vast-btn svg {
  width: 13px; height: 13px;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  flex-shrink: 0;
}
.vast-btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
}
.vast-btn-primary:hover {
  background: var(--c-accent-h);
  transform: translateY(-1px);
  color: var(--c-white);
}
.vast-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1.5px solid rgba(255,255,255,.15);
}
.vast-btn-secondary:hover {
  border-color: rgba(255,255,255,.4);
  color: var(--c-white);
}
.vast-btn-outline {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}
.vast-btn-outline:hover {
  background: rgba(26,92,255,.06);
}
.vast-btn-dark {
  background: var(--c-navy);
  color: var(--c-white);
}
.vast-btn-dark:hover {
  background: var(--c-navy3);
  color: var(--c-white);
}
.vast-btn-teal {
  background: var(--c-teal);
  color: var(--c-white);
}
.vast-btn-teal:hover {
  background: var(--c-teal-h);
  color: var(--c-white);
}
.vast-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}
.vast-btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}
.vast-btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Sections ── */
.vast-sec {
  padding: var(--sp-3xl) 0;
}
.vast-sec-sm {
  padding: var(--sp-2xl) 0;
}
.vast-sec-dark {
  background: var(--c-navy);
}
.vast-sec-light {
  background: var(--c-bg);
}

/* ── Section header ── */
.vast-sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-xl);
}
.vast-sec-header h2 {
  margin-bottom: 14px;
}
.vast-sec-header p {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.8;
}
.vast-sec-header-light h2 { color: var(--c-white); }
.vast-sec-header-light p  { color: rgba(255,255,255,.5); }

/* ── Pill animée ── */
.vast-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,194,184,.08);
  border: 1px solid rgba(0,194,184,.2);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--c-teal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  user-select: none;
}
.vast-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
  animation: vast-blink 2s infinite;
  flex-shrink: 0;
}
@keyframes vast-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}

/* ── Grille hero background ── */
.vast-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(26,92,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,92,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent);
}

/* ── Icônes Lucide inline ── */
[data-lucide] {
  width: 1em; height: 1em;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  flex-shrink: 0; vertical-align: middle;
}

/* ── Reveal animation ── */
.vast-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.vast-reveal.vast-visible {
  opacity: 1;
  transform: none;
}

/* ── Badge ── */
.vast-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.vast-badge-teal    { background: rgba(0,194,184,.1);  color: #065F46; }
.vast-badge-accent  { background: rgba(26,92,255,.1);  color: #1e3a8a; }
.vast-badge-orange  { background: rgba(255,122,47,.1); color: #9A3412; }
.vast-badge-green   { background: rgba(34,197,94,.1);  color: #065F46; }

/* ── Divider ── */
.vast-divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-xl) 0;
}

/* ── Skip to content (accessibilité) ── */
.vast-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--c-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  z-index: 99999;
  transition: top .15s;
}
.vast-skip-link:focus { top: 0; }

/* ── Utilitaires ── */
.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;
}
.text-center { text-align: center; }
.text-muted  { color: var(--c-muted); }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mb-xl  { margin-bottom: var(--sp-xl); }


/* ══════════════════════════════════════════════════
   VAST Base — Améliorations v2
══════════════════════════════════════════════════ */

/* ── Typographie body améliorée ── */
body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
}

/* ── Amélioration des ratios de contraste ──
   WCAG AA : texte normal ≥ 4.5:1 / grand texte ≥ 3:1 */
.text-muted-dark { color: #5A6494; } /* contraste 4.6:1 sur blanc */

/* ── Liens accessibles ── */
a:not([class]) {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
}
a:not([class]):hover { color: var(--c-accent-h); }
a:not([class]):visited { color: #5B4CCC; }

/* ── Images responsive ── */
img {
  max-width: 100%; height: auto;
  display: block;
}

/* ── Formulaires accessibles ── */
input, textarea, select {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(26,92,255,.1);
}
input::placeholder, textarea::placeholder {
  color: var(--c-muted);
  opacity: 1;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
  font-family: var(--f-mono);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Tableau responsive ── */
.vast-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  background: var(--c-navy);
  color: rgba(255,255,255,.7);
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  font-family: var(--f-mono);
  letter-spacing: .5px;
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--c-border);
  color: #3A4A6A;
  vertical-align: middle;
}
tr:hover td { background: #F8FAFF; }

/* ── Print styles ── */
@media print {
  #vast-header, #vast-footer,
  .vast-hamburger, .vast-mobile-menu,
  .vast-cta-band, .vast-single-sidebar { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  h1, h2, h3 { page-break-after: avoid; }
  .vast-article-body { box-shadow: none; border: none; padding: 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}

/* ── Scroll margin pour les ancres ── */
[id] { scroll-margin-top: calc(var(--header-h, 64px) + 16px); }

/* ── Selection color ── */
::selection {
  background: rgba(26,92,255,.15);
  color: var(--c-text);
}


/* ════════════════════════════════════════════════
   MOBILE FIRST — Responsive global v2
   Stratégie : mobile par défaut, desktop en min-width
════════════════════════════════════════════════ */

/* ── 480px et moins — très petit mobile ── */
@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
    --sp-3xl: 56px;
    --sp-2xl: 40px;
  }
  h1 { font-size: clamp(26px, 8vw, 38px) !important; }
  h2 { font-size: clamp(20px, 6vw, 28px) !important; }
  .vast-btn-lg {
    padding: 12px 18px !important;
    font-size: 14px !important;
    width: 100%;
    justify-content: center;
  }
  .vast-stats-grid { grid-template-columns: 1fr 1fr !important; }
  .vast-stat-num   { font-size: 26px !important; }
}

/* ── 600px et moins — mobile standard ── */
@media (max-width: 600px) {
  .vast-page-hero { padding: 48px 0 36px !important; }
  .vast-home-hero { padding: 52px 0 44px !important; }
  .vast-sec       { padding: 48px 0 !important; }
  .vast-sec-sm    { padding: 32px 0 !important; }

  .vast-page-hero-ctas,
  .vast-home-hero-ctas,
  .vast-cta-btns,
  .vast-footer-cta-btns {
    flex-direction: column !important;
  }
  .vast-page-hero-ctas .vast-btn,
  .vast-home-hero-ctas .vast-btn,
  .vast-cta-btns .vast-btn,
  .vast-footer-cta-btns .vast-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .vast-cards-grid-3,
  .vast-cards-grid-2,
  .vast-uc-grid,
  .vast-approach-grid,
  .vast-pricing-grid,
  .vast-testimonials-grid,
  .vast-related-grid {
    grid-template-columns: 1fr !important;
  }

  .vast-split,
  .vast-ea-band,
  .vast-cta-band,
  .vast-footer-cta-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .vast-cta-band { padding: 20px !important; }

  .vast-footer-cols-grid { grid-template-columns: 1fr 1fr !important; }
  .vast-footer-bottom-inner { flex-direction: column !important; gap: 10px !important; }
  .vast-footer-legal { flex-wrap: wrap !important; gap: 10px !important; }
  .vast-footer-tagline { display: none !important; }
}

/* ── 768px et moins — tablette portrait ── */
@media (max-width: 768px) {
  .vast-split { grid-template-columns: 1fr !important; gap: 28px !important; }
  .vast-split-reverse .vast-split-visual { order: 0 !important; }
  .vast-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .vast-stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; padding: 20px !important; }
  .vast-stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08) !important; }
  .vast-home-hero-trust { gap: 12px !important; }
  .vast-cards-grid-3 { grid-template-columns: 1fr 1fr !important; }
}

/* ── CF7 formulaires — mobile ── */
@media (max-width: 600px) {
  .wpcf7-form { width: 100% !important; }
  .wpcf7-form p { margin-bottom: 14px !important; }
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    width: 100% !important;
    font-size: 16px !important; /* éviter le zoom iOS */
    padding: 12px 14px !important;
  }
  .wpcf7-form input[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    font-size: 15px !important;
  }
}

/* ── Accessibilité tactile — zones de tap ── */
@media (hover: none) and (pointer: coarse) {
  .vast-btn          { min-height: 44px; }
  .vast-nav-link     { min-height: 44px; }
  .vast-faq-q        { min-height: 48px; }
  .vast-filter-btn   { min-height: 40px; }
  .vast-hamburger    { min-width: 44px; min-height: 44px; }
  .v-btn, .v-btn-p, .v-btn-s,
  button.vast-btn    { min-height: 44px; }
}


/* ════════════════════════════════════════════════
   FIX : Suppression du décalage blanc header/page
════════════════════════════════════════════════ */

/* WordPress admin bar */
html { margin-top: 0 !important; }
body { margin-top: 0 !important; padding-top: 0 !important; }

/* Thème natif WordPress qui ajoute un padding pour le header */
#page,
#content,
#wrapper,
.site,
.site-content,
#vast-page,
.wp-site-blocks,
[class*="entry-content"],
[class*="site-main"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Admin bar : compenser uniquement quand connecté */
.admin-bar #vast-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar #vast-header {
    top: 46px;
  }
}

/* Supprimer tout espace entre le header sticky et le contenu */
#vast-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
main#vast-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Certains thèmes WordPress injectent un div.site-header vide */
.site-header:empty,
#masthead:empty {
  display: none !important;
  height: 0 !important;
}


/* ════════════════════════════════════════════════
   FIX : Texte hero mobile — empêcher le débordement
════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Hero sub : taille réduite + pas de wrapping bizarre */
  [class*="-hero-sub"],
  [class*="hero-sub"],
  .v-hero-sub,
  .vh-hero-sub,
  .vco-hero-sub,
  .vt-hero-sub {
    font-size: 13px !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  /* Titres hero : pas de césure forcée */
  [class*="-h1"],
  [class*="hero"] h1,
  .v-hero h1,
  .vh-hero h1 {
    font-size: clamp(22px, 6.5vw, 32px) !important;
    line-height: 1.15 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  /* Gradient text sur mobile : fallback couleur */
  [class*="-h1"] em,
  [class*="hero"] h1 em,
  .v-hero h1 em {
    -webkit-text-fill-color: var(--c-teal, #00C2B8) !important;
  }

  /* Pill : ne pas déborder */
  [class*="-pill"],
  .v-pill,
  .vh-pill {
    font-size: 9px !important;
    padding: 4px 10px 4px 8px !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Hero : padding réduit */
  [class*="-hero"],
  .v-hero {
    padding: 40px 0 32px !important;
  }

  /* Container padding mobile strict */
  .v-container,
  [class*="-container"],
  [class*="-outer"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}


/* ════════════════════════════════════════════════
   FIX CRITIQUE — Espace blanc header + Pastilles
════════════════════════════════════════════════ */

/* ── 1. Suppression espace blanc header ────────
   WordPress injecte parfois un padding via
   wp_head() ou le thème parent.
   On cible TOUT ce qui peut créer ce gap. ── */

html,
html body,
body.vast-site {
  margin:  0 !important;
  padding: 0 !important;
}

/* Thème WordPress natif — divs wrapper */
body > #page,
body > .site,
body > #wrapper,
body > #outer-wrapper,
body > .wp-site-blocks,
#page > #content,
#page > .site-content,
.site > #content,
.hfeed,
.singular,
.page {
  margin-top:  0 !important;
  padding-top: 0 !important;
}

/* WordPress admin bar — compenser le sticky header */
.admin-bar #vast-header { top: 32px !important; }
@media screen and (max-width: 782px) {
  .admin-bar #vast-header { top: 46px !important; }
}
/* Pas de gap sous l'admin bar pour les visiteurs non connectés */
:not(.admin-bar) #vast-header { top: 0 !important; }

/* S'assurer que #vast-page colle au header */
#vast-page {
  margin-top:  0 !important;
  padding-top: 0 !important;
  display:     block !important;
}

/* Neutraliser tout inline style WordPress éventuel */
body[style*="padding-top"] { padding-top: 0 !important; }
body[style*="margin-top"]  { margin-top:  0 !important; }

/* ── 2. Fix pastilles — losange → cercle ───────
   Le losange vient d'un display:block + transform
   ou d'un width/height non carré.
   On force display:inline-block et dimensions. ── */

/* Pastilles génériques */
.vast-pill-dot,
[class$="-pill-dot"],
[class*="-pill-dot"] {
  display:       inline-block !important;
  width:         7px          !important;
  height:        7px          !important;
  min-width:     7px          !important;
  min-height:    7px          !important;
  border-radius: 50%          !important;
  flex-shrink:   0            !important;
  transform:     none         !important;
  /* Pas de rotate, pas de skew */
}

/* Pill container — s'assurer que les enfants ne tournent pas */
.vast-pill,
[class$="-pill"],
[class*="-pill"]:not([class*="sidebar"]):not([class*="nav"]):not([class*="filter"]):not([class*="lang"]) {
  transform: none !important;
}

/* Spécifique aux classes générées dans les pages EN */
.v-pill-dot,
.vh-pill-dot,
.vuc-pill-dot,
.vco-pill-dot,
.vr-pill-dot,
.vt-pill-dot,
.va-pill-dot,
.vcont-pill-dot,
.vea-pill-dot,
.vdemo-pill-dot,
.vcap-pill-dot,
.vhub-pill-dot {
  display:       inline-block !important;
  width:         7px          !important;
  height:        7px          !important;
  min-width:     7px          !important;
  min-height:    7px          !important;
  border-radius: 50%          !important;
  flex-shrink:   0            !important;
  transform:     none         !important;
}


/* ════════════════════════════════════════════════
   FIX BOUTONS MOBILE — largeur et hauteur
════════════════════════════════════════════════ */

/* Sur mobile, les boutons secondaires/outline NE doivent PAS
   être en pleine largeur sauf dans les CTA footer/hero */
@media (max-width: 600px) {

  /* Boutons dans le CTA band footer → pleine largeur OK */
  .vast-footer-cta .vast-btn,
  .vast-footer-cta-btns .vast-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Boutons dans les CTA band inline → pleine largeur OK */
  .vast-cta-band-btns .vast-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Boutons hero → pleine largeur OK */
  .vast-home-hero-ctas .vast-btn,
  .vast-page-hero-ctas .vast-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* MAIS les boutons .vast-cta-btns standalone (CTA final pages)
     → max-content pour ne pas être trop larges */
  .v-cta-btns .v-btn,
  .vuc-cta-btns .v-btn,
  .vco-cta-btns .v-btn {
    width: auto !important;
    min-width: 200px !important;
    justify-content: center !important;
  }

  /* Icônes Lucide dans les boutons : taille fixe pour éviter
     le layout shift avant initialisation */
  .vast-btn i[data-lucide],
  .v-btn i[data-lucide],
  [class*="-btn"] i[data-lucide] {
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    vertical-align: middle !important;
  }

  /* Hauteur minimale raisonnable pour les boutons */
  .vast-btn,
  .v-btn,
  [class*="-btn-primary"],
  [class*="-btn-secondary"],
  [class*="-btn-outline"] {
    min-height: 44px !important;
    height: auto !important;
  }
}

/* ════════════════════════════════════════════════
   FIX PASTILLES — rond parfait partout
════════════════════════════════════════════════ */

/* Sélecteur universel pour TOUS les types de pastilles */
span.vast-pill-dot,
span.v-pill-dot,
span[class*="pill-dot"],
div[class*="pill-dot"] {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  max-width: 7px !important;
  max-height: 7px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  rotate: 0deg !important;
  aspect-ratio: 1 / 1 !important;
}

/* Garantir que les animations ne déforment pas */
@keyframes vast-blink {
  0%, 100% { opacity: 1; transform: none; }
  50%       { opacity: .25; transform: none; }
}
@keyframes vpulse {
  0%, 100% { opacity: 1; transform: none; }
  50%       { opacity: .3; transform: none; }
}


/* ════════════════════════════════════════════════
   FIX DEFINITIF — Pastilles parfaitement rondes
   Le pill-dot s'étire car le flex parent l'allonge.
   On le sort du calcul flex avec dimensions absolues.
════════════════════════════════════════════════ */

/* Tous les pill-dot, tous contextes confondus */
.vast-pill-dot,
.vp-pill-dot,
.vh-pill-dot,
.vuc-pill-dot,
.vr-pill-dot,
.vt-pill-dot,
.va-pill-dot,
.vco-pill-dot,
.vea-pill-dot,
.vcap-pill-dot,
.vhub-pill-dot,
.v-pill-dot,
[class$="-pill-dot"],
[class*="-pill-dot "],
span[class*="pill-dot"] {
  /* Dimensions strictes — bloquer tout étirement flex */
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  max-width: 7px !important;
  min-height: 7px !important;
  max-height: 7px !important;
  /* Sortir du redimensionnement flex */
  flex: 0 0 7px !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: 7px !important;
  align-self: center !important;
  /* Forme ronde garantie */
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  /* Pas de déformation */
  transform: none !important;
  rotate: none !important;
  scale: none !important;
  /* Pas de padding/border qui change la forme */
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}

/* S'assurer que le parent .pill est bien en flex aligné */
.vast-pill,
.vp-pill, .vh-pill, .vuc-pill, .vr-pill, .vt-pill,
.va-pill, .vco-pill, .vea-pill, .v-pill,
[class$="-pill"]:not([class*="dot"]) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}


/* ════════════════════════════════════════════════
   UNIFORMISATION DES MARGES — 20px gauche/droite
   sur tous les conteneurs, toutes tailles d'écran
════════════════════════════════════════════════ */
:root { --container-pad: 20px; }

/* Conteneurs communs */
.vast-container,
.v-container,
.v-wrap > .v-container {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Tous les conteneurs des pages-templates (outer / inner / container) */
[class$="-outer"],
[class$="-inner"],
[class*="-outer "],
[class*="-inner "],
.vuc-container,
.va-outer, .va-inner,
.vc-inner, .vcal-outer, .vcalc-outer, .vcl-outer,
.vco-inner, .vcp-inner, .vcra-outer, .vcvd-outer,
.vdemo-outer, .vea-outer, .vfaq-outer, .vgl-inner,
.vh-inner, .vhub-outer, .vp-inner, .vpr-outer,
.vq-outer, .vr-inner, .vsim-outer, .vt-inner, .vu-inner {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
}


/* ════════════════════════════════════════════════
   MARGE GLOBALE STANDARD — 20px à gauche/droite
   sur TOUS les conteneurs, à toutes les tailles d'écran.
   Pilote unique pour l'alignement de toutes les pages.
════════════════════════════════════════════════ */
[class$="-outer"],
[class$="-inner"],
[class$="-container"],
[class*="-outer "],
[class*="-inner "],
[class*="-container "],
.v-container,
.vast-container {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* Garde-fou : aucune page ne doit déborder horizontalement */
html, body { overflow-x: hidden !important; }
