/* ==========================================================================
   ILNET TELECOM — Ajustements « version professionnelle » (2026-10-21)
   Chargé en dernier sur toutes les pages.
   ========================================================================== */

/* Aucun défilement horizontal parasite sur mobile (menu tiroir hors écran,
   bandeaux défilants). `clip` ne casse pas les éléments `position: sticky`. */
html,
body {
  overflow-x: clip;
}

/* Restes des effets décoratifs désactivés dans wow.js */
.wow-intro,
.wow-buddy,
.wow-comet,
.wow-particles {
  display: none !important;
}

/* Le bandeau d'offre de l'accueil n'a plus de compte à rebours */
.en-dark .cta-band-btn {
  margin-top: 26px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

/* Test de débit réel : mention sous la jauge */
.en-speed-note {
  margin: 14px 0 0;
  font: 500 12px/1.5 'Archivo', sans-serif;
  color: #8A6A4C;
  text-align: center;
}

/* Tableaux tarifaires : défilement horizontal propre sur petit écran */
@media (max-width: 720px) {
  .en-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Boutons dont le style en ligne force inline-block : texte centré verticalement */
a.hero-btn[style*="inline-block"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Assistant en ligne : la mascotte qui l'ouvrait est désactivée, on réaffiche
   son bouton d'origine (masqué par wow.css), sans animation de pulsation. */
.ia-launcher {
  display: grid !important;
  animation: none !important;
}

/* ==========================================================================
   Refonte commerciale (accueil + barre d'action mobile) — préfixe .vx-
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.vx-hero .vx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #F6CFA3;
  box-shadow: 0 6px 18px rgba(229, 115, 1, .10);
  font: 700 12.5px/1 var(--font-display);
  letter-spacing: .02em;
  color: #7A4A12;
}
.vx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BB673;
  box-shadow: 0 0 0 4px rgba(43, 182, 115, .18);
}
.vx-lead {
  max-width: 560px;
  margin: 14px 0 18px;
  font: 500 17px/1.65 var(--font-body);
  color: #59422C;
}
.vx-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.vx-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14.5px/1.3 var(--font-body);
  color: #2B1B0E;
}
.vx-checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.vx-checks--light li { color: #FFF3E6; }
.vx-checks--light svg { background: #fff; color: var(--brand); }
.vx-call {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font: 500 14.5px/1.4 var(--font-body);
  color: #59422C;
}
.vx-call svg { width: 16px; height: 16px; color: var(--brand); }
.vx-call a {
  font-weight: 800;
  color: #2B1B0E;
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
}

.hero-visual { position: relative; }
.vx-price-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 210px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #F1E4D4;
  box-shadow: 0 24px 50px rgba(43, 27, 14, .22);
}
.vx-pc-k {
  font: 700 12px/1.2 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.vx-pc-p { font: 800 30px/1.1 var(--font-display); color: #2B1B0E; }
.vx-pc-p small { margin-left: 4px; font: 600 14px var(--font-body); color: #8A6A4C; }
.vx-pc-s { font: 500 12.5px/1.4 var(--font-body); color: #59422C; }
.vx-trust-chip {
  position: absolute;
  right: -18px;
  top: 28px;
  z-index: 3;
  display: grid;
  padding: 12px 16px;
  border-radius: 14px;
  background: #2B1B0E;
  box-shadow: 0 18px 40px rgba(43, 27, 14, .3);
}
.vx-trust-chip strong { font: 800 22px/1 var(--font-display); color: #FFB870; }
.vx-trust-chip span { margin-top: 4px; font: 500 12px/1.3 var(--font-body); color: #F3E3D0; }

@media (max-width: 720px) {
  .vx-price-card { left: 12px; bottom: 12px; min-width: 0; padding: 12px 14px; }
  .vx-pc-p { font-size: 24px; }
  .vx-trust-chip { right: 12px; top: 12px; }
}

/* --- Boutons & liens ------------------------------------------------------ */
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--gradient-brand, #E57301);
  color: #fff !important;
  font: 800 14.5px/1 var(--font-display);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(229, 115, 1, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.vx-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(229, 115, 1, .42); }
.vx-btn--light { background: #fff; color: var(--brand) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.vx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 14px/1 var(--font-display);
  color: #2B1B0E;
  text-decoration: none;
}
.vx-link svg { width: 16px; height: 16px; color: var(--brand); transition: transform .2s ease; }
.vx-link:hover svg { transform: translateX(3px); }
.vx-link--light, .vx-link--light svg { color: #fff; }

/* --- Offres phares -------------------------------------------------------- */
.vx-section { max-width: 1240px; margin: 0 auto; padding: 72px 20px; }
.vx-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.vx-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #EFE6DC;
  box-shadow: 0 10px 30px rgba(43, 27, 14, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vx-offer:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43, 27, 14, .14); }
.vx-offer.is-featured { border: 2px solid var(--brand); box-shadow: 0 22px 50px rgba(229, 115, 1, .22); }
.vx-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 800 11.5px/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(229, 115, 1, .35);
}
.vx-offer-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #F7EFE6; }
.vx-offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vx-offer:hover .vx-offer-media img { transform: scale(1.05); }
.vx-offer-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(43, 27, 14, .82);
  color: #fff;
  font: 700 11.5px/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vx-offer-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.vx-offer-body h3 { margin: 0 0 6px; font: 800 21px/1.2 var(--font-display); color: #2B1B0E; }
.vx-offer-desc { min-height: 43px; margin: 0 0 14px; font: 500 14px/1.55 var(--font-body); color: #6B5440; }
.vx-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 0;
  border-top: 1px dashed #EADBC9;
  border-bottom: 1px dashed #EADBC9;
}
.vx-amount { font: 800 32px/1 var(--font-display); color: var(--brand); }
.vx-unit { font: 600 13px/1.2 var(--font-body); color: #8A6A4C; }
.vx-offer-feats { list-style: none; display: grid; gap: 8px; margin: 0 0 20px; padding: 0; }
.vx-offer-feats li { display: flex; align-items: flex-start; gap: 8px; font: 500 14px/1.45 var(--font-body); color: #3D2A18; }
.vx-offer-feats svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }
.vx-offer-cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vx-offers-more { margin: 30px 0 0; text-align: center; }

@media (max-width: 1100px) { .vx-offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vx-offer-grid { grid-template-columns: 1fr; } .vx-section { padding: 56px 16px; } }

/* --- Offre du moment ------------------------------------------------------ */
.vx-moment { padding: 0 20px; margin-top: 12px; }
.vx-moment-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(120deg, #E57301 0%, #C85F00 55%, #8E3F00 100%);
  box-shadow: 0 30px 60px rgba(200, 95, 0, .3);
}
.vx-moment-media { position: relative; display: grid; place-items: center; min-height: 340px; padding: 30px; background: #fff; }
.vx-moment-media img { max-width: 78%; max-height: 300px; object-fit: contain; }
.vx-moment-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #2B1B0E;
  color: #FFB870;
  text-align: center;
  font: 800 24px/1 var(--font-display);
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px rgba(43, 27, 14, .35);
}
.vx-moment-tag small {
  display: block;
  margin-bottom: 6px;
  font: 700 11px/1.2 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.vx-moment-text { padding: 48px 46px; color: #fff; }
.vx-moment-text .kicker { color: #FFE2C2; }
.vx-moment-text h2 { margin: 8px 0 12px; font: 800 clamp(26px, 3vw, 38px)/1.15 var(--font-display); color: #fff; text-transform: none; }
.vx-moment-text h2 span { color: #2B1B0E; }
.vx-moment-text p { max-width: 520px; margin: 0 0 18px; font: 500 16px/1.6 var(--font-body); color: #FFF1E2; }
.vx-moment-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }

@media (max-width: 860px) {
  .vx-moment-inner { grid-template-columns: 1fr; }
  .vx-moment-media { min-height: 240px; }
  .vx-moment-text { padding: 32px 24px; }
}

/* --- Étapes --------------------------------------------------------------- */
.vx-step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 34px 0 0; padding: 0; }
.vx-step-list li {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #EFE6DC;
  box-shadow: 0 10px 30px rgba(43, 27, 14, .05);
}
.vx-step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #FFF1E2;
  border: 1px solid #F6CFA3;
  color: var(--brand);
  font: 800 20px/1 var(--font-display);
}
.vx-step-list h3 { margin: 0 0 6px; font: 800 19px/1.25 var(--font-display); color: #2B1B0E; }
.vx-step-list p { margin: 0; font: 500 14.5px/1.6 var(--font-body); color: #6B5440; }

@media (min-width: 861px) {
  .vx-step-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -18px;
    width: 14px;
    height: 2px;
    background: #F0C795;
  }
}
@media (max-width: 860px) { .vx-step-list { grid-template-columns: 1fr; } }

/* --- Barre d'action mobile (toutes les pages) ---------------------------- */
.vx-mbar { display: none; }
@media (max-width: 720px) {
  .vx-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3300;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid #EFE6DC;
    box-shadow: 0 -8px 24px rgba(43, 27, 14, .10);
  }
  .vx-mbar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 12px;
    font: 800 15px/1 var(--font-display);
    text-decoration: none;
  }
  .vx-mbar-main { background: var(--brand); color: #fff; }
  .vx-mbar a.vx-mbar-call { flex: 0 0 auto; padding: 0 18px; background: #2B1B0E; color: #fff; }
  .vx-mbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 70px; }
  /* boutons flottants remontés au-dessus de la barre */
  .ia-launcher { bottom: 158px !important; }
  .bz-cart-fab { bottom: 228px !important; }
  .whatsapp-float { bottom: 154px !important; }
  .en-top-btn { bottom: 96px !important; }
}

/* Fond du visuel produit fondu avec la photo (#F7F7F7) */
.vx-moment-media { background: #F7F7F7; }

/* ==========================================================================
   Fonctionnalités pro : pages légales, 404, pied de page, grille PDF
   ========================================================================== */
.vx-legal { padding: 24px 20px 72px; }
.vx-legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 44px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #EFE6DC;
  box-shadow: 0 10px 30px rgba(43, 27, 14, .05);
}
.vx-legal h2 {
  margin: 30px 0 10px;
  font: 800 20px/1.25 var(--font-display);
  color: #2B1B0E;
  text-transform: none;
}
.vx-legal h2:first-child { margin-top: 0; }
.vx-legal p, .vx-legal li { font: 500 15.5px/1.7 var(--font-body); color: #4A3624; }
.vx-legal p { margin: 0 0 12px; }
.vx-legal ul { margin: 0 0 14px; padding-left: 20px; }
.vx-legal li { margin-bottom: 4px; }
.vx-legal a { color: #C85F00; font-weight: 600; }
.vx-legal-date { margin-top: 30px !important; padding-top: 16px; border-top: 1px solid #EFE6DC; font-size: 13.5px !important; color: #8A6A4C !important; }
@media (max-width: 640px) { .vx-legal-inner { padding: 26px 20px; } }

.vx-404 { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 10px 20px 80px; }
.vx-btn--ghost { background: #fff; color: #2B1B0E !important; border: 1px solid #EADBC9; box-shadow: none; }
.vx-btn--ghost:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(43, 27, 14, .08); }

.vx-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 0 16px 18px;
}
.vx-footer-legal a {
  font: 600 13px/1.4 var(--font-body);
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}
.vx-footer-legal a:hover { color: #FFB870; text-decoration: underline; }

.vx-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed #E57301;
  color: #C85F00 !important;
  font: 700 13.5px/1 var(--font-display);
  text-decoration: none;
}
.vx-pdf-btn svg { width: 16px; height: 16px; }
.vx-pdf-btn:hover { background: #FFF1E2; }

.vx-legal ul { list-style: disc; }
.vx-legal li::marker { color: #E57301; }
