/* ============================================================
   123WEB DESIGN SYSTEM 2026 — ds-2026.css
   Chargé APRÈS skin-seo-2.css sur tous les templates live.
   Zéro changement de contenu : uniquement du raffinement visuel.
   DA conservée : magenta #d13076 · violet #a33188 · indigo #4046b3
   navy #171940 · Poppins. Direction : « éditorial tech précis ».
   ============================================================ */

:root {
  /* -- Palette (DA existante, affinée) -- */
  --w-magenta: #d13076;
  --w-magenta-deep: #b02362;
  --w-magenta-soft: rgba(209, 48, 118, .08);
  --w-purple: #a33188;
  --w-indigo: #4046b3;
  --w-navy: #171940;
  --w-navy-2: #1f2152;          /* navy éclairci pour surfaces dark */
  --w-ink: #232441;             /* texte courant */
  --w-ink-soft: #5a5b78;        /* texte secondaire */
  --w-paper: #ffffff;
  --w-mist: #f6f6fa;            /* fond de section clair */
  --w-line: rgba(23, 25, 64, .10);
  --w-line-strong: rgba(23, 25, 64, .16);

  /* -- Rayons -- */
  --w-r-sm: 10px;
  --w-r-md: 14px;
  --w-r-lg: 18px;
  --w-r-xl: 26px;

  /* -- Ombres en couches (douces, teintées navy) -- */
  --w-shadow-1: 0 1px 2px rgba(23, 25, 64, .05), 0 4px 12px rgba(23, 25, 64, .05);
  --w-shadow-2: 0 2px 4px rgba(23, 25, 64, .06), 0 12px 28px rgba(23, 25, 64, .09);
  --w-shadow-3: 0 4px 8px rgba(23, 25, 64, .07), 0 24px 48px rgba(23, 25, 64, .12);
  --w-ring: 0 0 0 3px rgba(209, 48, 118, .22);

  /* -- Typo fluide -- */
  --w-fs-hero: clamp(2.1rem, 1.2rem + 2.6vw, 3.4rem);
  --w-fs-h2: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  --w-fs-h3: clamp(1.25rem, 1rem + .8vw, 1.6rem);

  /* -- Transitions -- */
  --w-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   1. FONDATIONS
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  color: var(--w-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--w-navy); color: #fff; }

/* Focus clavier visible, moderne */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none !important;
  box-shadow: var(--w-ring) !important;
  border-radius: var(--w-r-sm);
}

/* Titres : hiérarchie nette, chasse resserrée */
h1, h2, h3, h4, .h1, .h2, .h3 {
  color: var(--w-navy);
  letter-spacing: -0.022em;
  line-height: 1.15;
}
h1 strong, h2 strong { font-weight: 700; }

p { line-height: 1.72; }

/* ============================================================
   2. HEADER — compact, précis
   ============================================================ */

#header .header-top {
  background: var(--w-navy);
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
}
#header .header-top .header-row { min-height: 44px; }

/* Bandeau urgence : passe de bloc criard à étiquette fine */
#header .urgence-message-header {
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: .78rem !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .92) !important;
}
#header .urgence-message-header .fa-bolt { color: #ffb02e; }

/* CTA topbar : un seul niveau de bruit */
#header .header-top .btn {
  border-radius: 999px !important;
  font-weight: 600;
  letter-spacing: .01em;
  padding-top: .45rem !important;
  padding-bottom: .45rem !important;
  transition: transform .18s var(--w-ease), box-shadow .18s var(--w-ease), background-color .18s;
}
#header .header-top .btn:hover { transform: translateY(-1px); box-shadow: var(--w-shadow-1); }

/* Nav principale */
#header .header-nav-main nav > ul > li > a {
  font-size: .8rem !important;
  font-weight: 600 !important;
  letter-spacing: .045em;
  color: var(--w-navy) !important;
  border-radius: var(--w-r-sm);
  transition: color .15s, background-color .15s;
}
#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li.active > a {
  color: var(--w-magenta) !important;
  background: var(--w-magenta-soft);
}

/* Dropdowns nav */
#header .dropdown-menu {
  border: 1px solid var(--w-line) !important;
  border-radius: var(--w-r-md) !important;
  box-shadow: var(--w-shadow-3) !important;
  padding: .5rem !important;
  /* PAS de margin-top : un gap casse le hover (le menu se ferme en le traversant) */
  margin-top: 0 !important;
  border-top-left-radius: 0 !important;
}
/* Accessibilité : sous-menu atteignable au clavier (Tab) et hover fiable */
#header .header-nav-main nav > ul > li.dropdown:hover > .dropdown-menu,
#header .header-nav-main nav > ul > li.dropdown:focus-within > .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}
#header .dropdown-menu .dropdown-item {
  border-radius: var(--w-r-sm);
  padding: .55rem .9rem;
  font-size: .82rem;
  transition: background-color .12s, color .12s, transform .12s;
}
#header .dropdown-menu .dropdown-item:hover {
  background: var(--w-magenta-soft);
  color: var(--w-magenta) !important;
  transform: translateX(2px);
}

/* Header sticky : verre discret */
html.sticky-header-active #header .header-body {
  box-shadow: var(--w-shadow-2) !important;
  backdrop-filter: saturate(1.4) blur(10px);
  background: rgba(255, 255, 255, .92) !important;
}

/* ============================================================
   3. BOUTONS — pleins, francs, sans crier
   ============================================================ */

body .btn {
  border-radius: var(--w-r-md);
  font-weight: 600;
  letter-spacing: .012em;
  transition: transform .18s var(--w-ease), box-shadow .18s var(--w-ease),
              background-color .18s, border-color .18s, color .18s;
}
body .btn-rounded { border-radius: 999px !important; }

body .btn-primary {
  background: linear-gradient(135deg, var(--w-magenta) 0%, var(--w-magenta-deep) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(209, 48, 118, .28);
}
body .btn-primary:hover, body .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(209, 48, 118, .38);
}
body .btn-primary:active { transform: translateY(0); }

body .btn-secondary {
  background: var(--w-navy) !important;
  border-color: var(--w-navy) !important;
  box-shadow: 0 2px 8px rgba(23, 25, 64, .25);
}
body .btn-secondary:hover {
  background: var(--w-navy-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23, 25, 64, .32);
}

body .btn-outline.btn-primary,
body .btn-outline-primary {
  background: transparent !important;
  border: 1.5px solid var(--w-magenta) !important;
  color: var(--w-magenta) !important;
  box-shadow: none;
}
body .btn-outline.btn-primary:hover,
body .btn-outline-primary:hover {
  background: var(--w-magenta-soft) !important;
  transform: translateY(-1px);
}

/* ============================================================
   4. CARDS & SURFACES
   ============================================================ */

body .card {
  border: 1px solid var(--w-line) !important;
  border-radius: var(--w-r-lg) !important;
  box-shadow: var(--w-shadow-1);
  transition: transform .22s var(--w-ease), box-shadow .22s var(--w-ease), border-color .22s;
  overflow: hidden;
}
body .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--w-shadow-2);
  border-color: rgba(209, 48, 118, .25) !important;
}
body .card .card-body { padding: 1.6rem; }

/* Anciennes utilitaires Porto : on aligne sur le système */
body .custom-box-shadow-1 { box-shadow: var(--w-shadow-1) !important; }
body .custom-border-radius-1 { border-radius: var(--w-r-lg) !important; }

/* Surfaces grises Porto → brume froide cohérente */
body .custom-bg-color-grey-1, body .custom-bg-color-grey-2 { background-color: var(--w-mist) !important; }
body .bg-color-light { background-color: var(--w-paper) !important; }

/* Sections sombres : navy profond + grain discret */
body .section.bg-color-secondary,
body .section.bg-color-quaternary,
body .bg-color-quaternary {
  background-color: var(--w-navy) !important;
  position: relative;
}
body .section.bg-color-secondary::after,
body .section.bg-color-quaternary::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
body .section.bg-color-secondary > .container,
body .section.bg-color-quaternary > .container { position: relative; z-index: 1; }

/* Cercles décoratifs : présents mais murmurés */
body .custom-circle { opacity: .45; }

/* ============================================================
   5. HERO & GRANDS TITRES
   ============================================================ */

body .custom-hero-title, body h1.text-9, body h1.text-10, body h1.text-11, body h1.text-12 {
  font-size: var(--w-fs-hero) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.028em;
}

/* ============================================================
   6. STATS — les bulles deviennent des médaillons nets
   ============================================================ */

body .circle-1, body .circle-2, body .circle-3, body .circle-4, body .circle-5 {
  border-radius: 32% 68% 62% 38% / 46% 42% 58% 54%; /* galet organique, signature douce */
  box-shadow: var(--w-shadow-2), inset 0 1px 0 rgba(255,255,255,.18);
  transition: border-radius .6s var(--w-ease), transform .3s var(--w-ease);
}
body .circle-1:hover, body .circle-2:hover, body .circle-3:hover,
body .circle-4:hover, body .circle-5:hover {
  border-radius: 50%;
  transform: scale(1.03);
}

/* ============================================================
   7. FORMULAIRES
   ============================================================ */

body .form-control {
  border: 1.5px solid var(--w-line-strong);
  border-radius: var(--w-r-md);
  padding: .7rem 1rem;
  color: var(--w-ink);
  transition: border-color .15s, box-shadow .15s;
}
body .form-control:focus {
  border-color: var(--w-magenta);
  box-shadow: var(--w-ring);
}
body .form-control::placeholder { color: #9c9db4; }

/* ============================================================
   8. TABLEAUX DE PRIX
   ============================================================ */

body table.table, body .table {
  border-radius: var(--w-r-lg);
  overflow: hidden;
  box-shadow: var(--w-shadow-1);
}
body .table thead th {
  background: var(--w-navy) !important;
  color: #fff !important;
  border: 0 !important;
  letter-spacing: .04em;
  font-size: .8rem;
  text-transform: uppercase;
}
body .table td, body .table th { border-color: var(--w-line) !important; vertical-align: middle; }
body .table tbody tr { transition: background-color .12s; }
body .table tbody tr:hover { background: var(--w-mist); }

/* ============================================================
   9. BLOG — grille éditoriale
   ============================================================ */

body .thumb-info {
  border-radius: var(--w-r-lg) !important;
  border: 1px solid var(--w-line);
  box-shadow: var(--w-shadow-1);
  transition: transform .22s var(--w-ease), box-shadow .22s var(--w-ease);
}
body .thumb-info:hover { transform: translateY(-4px); box-shadow: var(--w-shadow-2); }
body .thumb-info .thumb-info-wrapper { border-radius: 0 !important; }
body .thumb-info img { transition: transform .5s var(--w-ease) !important; }
body .thumb-info:hover img { transform: scale(1.04) !important; }

/* Filtres nav-pills du blog */
body .nav-pills .nav-link {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: background-color .15s, color .15s;
}
body .nav-pills .nav-link.active,
body .nav-pills .show > .nav-link {
  background-color: var(--w-navy) !important;
}

/* ============================================================
   10. ARTICLE — confort de lecture
   ============================================================ */

body .w-article-reading, body .post-content-2026 {
  max-width: 760px;
  margin-inline: auto;
}
body .post-content-2026 p, body .w-article-reading p {
  font-size: 1.02rem;
  line-height: 1.78;
}
body .post-content-2026 h2, body .w-article-reading h2 {
  margin-top: 2.4rem;
  padding-top: .4rem;
  font-size: var(--w-fs-h3) !important;
}
body .post-content-2026 table, body .w-article-reading table { font-size: .92rem; }

/* Meta d'article (date, lecture) */
.w-article-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  align-items: center;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  margin-bottom: 1.2rem;
}
.w-article-meta i { color: var(--w-magenta); margin-right: .4rem; }

/* Author box EEAT */
.w-author-box {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--w-mist);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg);
  padding: 1.3rem 1.5rem;
  margin: 2.5rem auto 0;
  max-width: 760px;
}
.w-author-box .w-author-avatar {
  flex: 0 0 56px; width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w-magenta), var(--w-indigo));
  color: #fff; font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.w-author-box .w-author-name { font-weight: 700; color: var(--w-navy); margin: 0 0 .15rem; }
.w-author-box .w-author-role { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--w-magenta); margin-bottom: .45rem; }
.w-author-box p { font-size: .92rem; line-height: 1.6; margin: 0; color: var(--w-ink-soft); }
.w-author-box a { font-weight: 600; }

/* ============================================================
   11. FAQ / ACCORDÉONS
   ============================================================ */

body .accordion .card, body .accordion-item {
  border-radius: var(--w-r-md) !important;
  border: 1px solid var(--w-line) !important;
  box-shadow: none;
  margin-bottom: .6rem;
}
body .accordion .card:hover { transform: none; box-shadow: var(--w-shadow-1); }
body .accordion .card-header a, body .accordion-button {
  font-weight: 600;
  color: var(--w-navy);
}

/* ============================================================
   12. FOOTER — lisible, hiérarchisé
   ============================================================ */

#footer {
  background: var(--w-navy);
  border-top: 0;
}
#footer p, #footer li, #footer span, #footer address { color: rgba(255, 255, 255, .72); }
#footer a:not(.btn) { color: rgba(255, 255, 255, .78) !important; transition: color .12s, padding-left .15s var(--w-ease); }
#footer a:not(.btn):hover { color: #fff !important; }
#footer h4, #footer h5, #footer .footer-title {
  color: #fff;
  letter-spacing: .08em;
  font-size: .82rem;
  text-transform: uppercase;
}
#footer h4::after, #footer h5::after {
  content: "";
  display: block;
  width: 26px; height: 2px;
  margin-top: .55rem;
  background: var(--w-magenta);
  border-radius: 2px;
}
#footer .footer-copyright {
  background: #10122e !important;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* Icônes sociales : plates, cohérentes (adieu skeuomorphisme) */
#footer .social-icons li, body .social-icons li {
  box-shadow: none !important;
}
#footer .social-icons img { display: none; } /* icônes bitmap héritées */
#footer .social-icons li a, body .footer-social-2026 a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff !important;
  transition: background-color .15s, transform .15s, border-color .15s;
}
#footer .social-icons li a:hover, body .footer-social-2026 a:hover {
  background: var(--w-magenta) !important;
  border-color: var(--w-magenta);
  transform: translateY(-2px);
}

/* ============================================================
   13. STICKY CALL BAR MOBILE (héritée) — affinée
   ============================================================ */

.mobile-callbar { box-shadow: 0 -4px 20px rgba(23, 25, 64, .28) !important; }
.mobile-callbar a { font-size: 14px !important; letter-spacing: .02em; }
.mobile-callbar .mcb-call { background: var(--w-magenta) !important; }
.mobile-callbar .mcb-devis { background: var(--w-navy) !important; }

/* ============================================================
   14. PAGES SERVICES 2026 (a-propos, dev wp, dev mobile, ia…)
   Composants dédiés préfixés w26- (nouveaux gabarits uniquement)
   ============================================================ */

.w26-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(163, 49, 136, .14), transparent 60%),
    radial-gradient(900px 460px at -8% 110%, rgba(64, 70, 179, .10), transparent 55%),
    var(--w-mist);
  overflow: hidden;
}
.w26-hero .container { position: relative; z-index: 1; }
.w26-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--w-magenta);
  margin-bottom: 1rem;
}
.w26-kicker::before { content: ""; width: 22px; height: 2px; background: var(--w-magenta); border-radius: 2px; }
.w26-hero h1 { font-size: var(--w-fs-hero); max-width: 21ch; }
.w26-hero .w26-lead { font-size: 1.08rem; line-height: 1.7; color: var(--w-ink-soft); max-width: 56ch; margin-top: 1rem; }

.w26-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.w26-section-title { font-size: var(--w-fs-h2); margin-bottom: .6rem; }
.w26-section-sub { color: var(--w-ink-soft); max-width: 62ch; margin-bottom: 2.2rem; }

.w26-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .w26-grid-2 { grid-template-columns: 1fr 1fr; } .w26-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.w26-card {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg);
  padding: 1.6rem;
  box-shadow: var(--w-shadow-1);
  transition: transform .22s var(--w-ease), box-shadow .22s var(--w-ease), border-color .22s;
}
.w26-card:hover { transform: translateY(-4px); box-shadow: var(--w-shadow-2); border-color: rgba(209, 48, 118, .28); }
.w26-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.w26-card p { font-size: .93rem; color: var(--w-ink-soft); margin: 0; line-height: 1.65; }
.w26-card .w26-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--w-magenta-soft);
  color: var(--w-magenta);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Bande CTA sobre (remplace l'aplat magenta hurlant sur nouveaux gabarits) */
.w26-cta {
  background: linear-gradient(120deg, var(--w-navy) 0%, #2a1e56 55%, #571c56 100%);
  border-radius: var(--w-r-xl);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.w26-cta h2 { color: #fff; font-size: var(--w-fs-h2); }
.w26-cta p { color: rgba(255, 255, 255, .78); }
.w26-cta::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 48, 118, .35), transparent 70%);
}

/* Profils EEAT */
.w26-profile {
  display: grid; gap: 1.6rem;
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-xl);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--w-shadow-1);
}
@media (min-width: 768px) { .w26-profile { grid-template-columns: 132px 1fr; } }
.w26-profile .w26-portrait {
  width: 132px; height: 132px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--w-navy), var(--w-indigo));
  color: #fff; font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .03em;
}
.w26-profile .w26-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.w26-profile h3 { margin: 0 0 .2rem; font-size: 1.35rem; }
.w26-profile .w26-role {
  color: var(--w-magenta);
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .8rem;
}
.w26-profile p { color: var(--w-ink-soft); line-height: 1.7; margin-bottom: .6rem; }
.w26-profile .w26-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; padding: 0; list-style: none; }
.w26-profile .w26-facts li {
  font-size: .78rem; font-weight: 600;
  background: var(--w-mist);
  border: 1px solid var(--w-line);
  border-radius: 999px;
  padding: .35rem .8rem;
  color: var(--w-ink);
}

/* Étapes numérotées */
.w26-steps { counter-reset: w26step; display: grid; gap: 1rem; }
@media (min-width: 768px) { .w26-steps { grid-template-columns: repeat(3, 1fr); } }
.w26-step {
  counter-increment: w26step;
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg);
  padding: 1.4rem;
}
.w26-step::before {
  content: "0" counter(w26step);
  display: block;
  font-size: 1.9rem; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--w-magenta);
  letter-spacing: .02em;
  margin-bottom: .6rem;
}
.w26-step h3 { font-size: 1rem; margin-bottom: .4rem; }
.w26-step p { font-size: .9rem; color: var(--w-ink-soft); margin: 0; }

/* FAQ nouveaux gabarits */
.w26-faq details {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-md);
  padding: 1rem 1.25rem;
  margin-bottom: .6rem;
  transition: border-color .15s, box-shadow .15s;
}
.w26-faq details[open] { border-color: rgba(209, 48, 118, .3); box-shadow: var(--w-shadow-1); }
.w26-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--w-navy);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.w26-faq summary::-webkit-details-marker { display: none; }
.w26-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--w-line-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  color: var(--w-magenta);
  transition: transform .2s var(--w-ease), background-color .15s;
}
.w26-faq details[open] summary::after { transform: rotate(45deg); background: var(--w-magenta-soft); border-color: transparent; }
.w26-faq details p { margin: .8rem 0 0; color: var(--w-ink-soft); line-height: 1.68; }

/* ============================================================
   15. ACCESSIBILITÉ & MOTION
   ============================================================ */

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

/* ============================================================
   16. RÉSEAUX SOCIAUX FOOTER (bitmaps hérités → glyphes plats)
   ============================================================ */
#footer a.RS {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-right: .4rem;
  transition: background-color .15s, transform .15s, border-color .15s;
}
#footer a.RS img {
  width: 16px; height: 16px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
#footer a.RS:hover { background: var(--w-magenta); border-color: var(--w-magenta); transform: translateY(-2px); }

/* ============================================================
   V2 — PASSE AGRESSIVE « +2026 » (2026-07-06 soir)
   Objectif : tuer les marqueurs 2019 (vagues, dots, pills),
   sans toucher au contenu ni à la palette DA.
   ============================================================ */

/* -- 0. FIX header : pill téléphone qui débordait du topbar -- */
#header .header-top .btn,
#header .header-top .btn.custom-height-1 {
  height: 34px !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  transform: none !important;
  font-size: .78rem !important;
}
#header .header-top .btn:hover { transform: none; box-shadow: none; filter: brightness(1.08); }
#header .header-top .header-row { min-height: 0; padding-top: 5px; padding-bottom: 5px; }
#header .urgence-message-header { padding-top: .3rem !important; padding-bottom: .3rem !important; }

/* -- 0bis. FIX nav principale : ne déborde jamais du viewport -- */
#header .header-container { max-width: 100%; }
#header .header-nav-main nav > ul { flex-wrap: wrap; }
#header .header-nav-main nav > ul > li > a { letter-spacing: .02em; }
@media (min-width: 992px) and (max-width: 1399px) {
  #header .header-nav-main nav > ul > li > a {
    font-size: .72rem !important;
    padding-left: .55rem !important;
    padding-right: .55rem !important;
    letter-spacing: 0;
  }
}

/* -- 1. Adieu 2019 : vagues, nappes de points, cercles flottants -- */
[class*="custom-section-curved-"],
.custom-page-header-curved-top-1,
[class*="custom-dots-"],
.custom-circle {
  display: none !important;
}

/* Les sections retrouvent des jonctions nettes */
body .section { border: 0 !important; }

/* -- 2. Kickers de section (overline éditoriale) -- */
body h2.text-7 { font-size: var(--w-fs-h2) !important; letter-spacing: -0.025em; }
body .overflow-hidden > span.d-block:not([class*="text-"]) {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--w-magenta);
}

/* -- 3. PRICING 2026 -- */
body .pricing-table .plan {
  border: 1px solid var(--w-line);
  border-radius: 22px;
  box-shadow: var(--w-shadow-1);
  overflow: hidden;
  background: var(--w-paper);
  transition: transform .25s var(--w-ease), box-shadow .25s var(--w-ease), border-color .25s;
}
body .pricing-table .plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--w-shadow-3);
  border-color: rgba(209, 48, 118, .35);
}
body .pricing-table .plan .plan-header {
  background: transparent !important;
  padding-top: 2.4rem !important;
}
body .pricing-table .plan .plan-header h4 { letter-spacing: -0.015em; }

/* Prix en piste XXL */
body .pricing-table .plan .plan-header p span[style*="25.2px"],
body .pricing-table .plan .plan-header strong.text-5 {
  font-size: 2.35rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  color: var(--w-navy);
  line-height: 1.1;
}

/* Features : fini les lignes soulignées, place aux coches */
body .pricing-table .plan .plan-features { padding: .6rem 1.7rem !important; }
body .pricing-table .plan .plan-features ul li {
  border: 0 !important;
  text-align: left;
  padding: .5rem 0 .5rem 1.85rem;
  position: relative;
  line-height: 1.45;
}
body .pricing-table .plan .plan-features ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--w-magenta-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d13076' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* CTA de plan : plein, franc, pleine largeur */
body .pricing-table .plan .plan-footer .btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--w-magenta) 0%, var(--w-magenta-deep) 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: .95rem 1.2rem !important;
  font-size: .88rem !important;
  letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(209, 48, 118, .3);
}
body .pricing-table .plan .plan-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(209, 48, 118, .42);
}
body .pricing-table .plan .plan-footer { padding-left: 1.7rem; padding-right: 1.7rem; }

/* Plan mis en avant : navy profond + liseré gradient + badge visible */
body .pricing-table .plan.plan-featured {
  background: linear-gradient(160deg, var(--w-navy) 0%, #232457 70%, #3a1e52 100%);
  border: 1px solid rgba(209, 48, 118, .45);
  box-shadow: 0 8px 40px rgba(23, 25, 64, .35);
}
body .pricing-table .plan.plan-featured .plan-header { background: transparent !important; }
body .pricing-table .plan.plan-featured .plan-header h4,
body .pricing-table .plan.plan-featured .plan-header p,
body .pricing-table .plan.plan-featured .plan-header strong,
body .pricing-table .plan.plan-featured .plan-header span,
body .pricing-table .plan.plan-featured .plan-features ul li { color: rgba(255,255,255,.92) !important; }
body .pricing-table .plan.plan-featured .plan-features ul li::before {
  background-color: rgba(255, 255, 255, .12);
}
body .pricing-table .plan.plan-featured .plan-popular-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--w-magenta), var(--w-purple));
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body .pricing-table .plan.plan-featured .plan-footer .btn {
  background: #fff !important;
  color: var(--w-magenta) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

/* -- 4. Bande CTA magenta hurlante → dégradé profond éditorial -- */
body section.section.bg-color-secondary,
body section.section.section-height-3.bg-color-secondary {
  background: linear-gradient(120deg, var(--w-navy) 0%, #2a1e56 52%, #6b2160 100%) !important;
}
body section.section.bg-color-secondary .form-control { border-color: transparent; }
body section.section.bg-color-secondary .btn-secondary {
  background: linear-gradient(135deg, var(--w-magenta) 0%, var(--w-magenta-deep) 100%) !important;
  border: 0 !important;
}

/* -- 5. HERO home : place à la typo -- */
body h1.text-9 {
  font-size: var(--w-fs-hero) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em;
}
body h1.text-9 + p, body .custom-hero-lead { font-size: 1.05rem; color: var(--w-ink-soft); }

/* Illustrations isométriques : présence réduite, plus d'écrasement visuel */
body .appear-animation img[src*="demos/seo-2"],
body img[src*="dots-group"] { opacity: 0; visibility: hidden; }

/* -- 6. Sections : respiration verticale généreuse -- */
body .section.section-height-3 { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* -- 7. Cards services home (icônes) : alignement système -- */
body .card .card-body .fas, body .card .card-body .far {
  color: var(--w-magenta);
}

/* ============================================================
   V3 — HERO, STATS, ILLUSTRATIONS (fin des marqueurs 2019)
   ============================================================ */

/* Hero : fond gradient mesh discret, place à la typo */
body .section:has(> .container h1.text-9),
body section:has(h1.text-9) {
  background:
    radial-gradient(1100px 540px at 90% -12%, rgba(163, 49, 136, .13), transparent 60%),
    radial-gradient(880px 480px at -6% 112%, rgba(64, 70, 179, .10), transparent 55%),
    var(--w-mist) !important;
}

/* Illustrations isométriques : présence contenue, ancrées par une ombre */
body img[src*="123web-agence-web-pas-cher.webp"],
body img[src*="offres-referencement-pas-cher.webp"] {
  max-width: 82% !important;
  filter: saturate(.88) drop-shadow(0 26px 42px rgba(23, 25, 64, .16));
}

/* Stats : les bulles deviennent des tuiles medaillons alignées */
body div:has(> .circle-1) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  position: static !important;
  min-height: 0 !important;
}
body .circle-1, body .circle-2, body .circle-3, body .circle-4, body .circle-5 {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 148px;
  border-radius: 20px !important;
  padding: 1.5rem 1.7rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: var(--w-shadow-1);
  transition: transform .2s var(--w-ease), box-shadow .2s var(--w-ease);
}
body .circle-1:hover, body .circle-2:hover, body .circle-3:hover {
  transform: translateY(-4px);
  border-radius: 20px;
  box-shadow: var(--w-shadow-2);
}
body .circle-1 { background: linear-gradient(135deg, var(--w-magenta), var(--w-purple)) !important; }
body .circle-2 { background: linear-gradient(135deg, var(--w-indigo), #2d3494) !important; }
body .circle-3 { background: var(--w-navy) !important; }
body .circle-1 .counter, body .circle-2 .counter, body .circle-3 .counter { text-align: left; }
body .circle-1 .counter strong, body .circle-2 .counter strong, body .circle-3 .counter strong {
  font-size: 2.1rem !important;
  letter-spacing: -0.02em;
  display: block;
}
body .circle-1 .counter label, body .circle-2 .counter label, body .circle-3 .counter label {
  font-size: .78rem !important;
  text-transform: uppercase;
  letter-spacing: .09em;
  opacity: .85;
}

/* Chips d'avis (Trustpilot / Google) du hero : cartes fines */
body img[src*="5etoiles-trustpilot"], body img[src*="5etoiles-google"] {
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 12px;
  padding: .55rem .8rem;
  box-shadow: var(--w-shadow-1);
}

/* Fix stats tiles : pas d'étirement vertical */
body div:has(> .circle-1) { align-items: flex-start !important; }
body .circle-1, body .circle-2, body .circle-3, body .circle-4, body .circle-5 {
  flex: 0 1 auto;
  align-self: flex-start;
  min-height: 0 !important;
  max-height: none;
}

/* ============================================================
   V4 — GABARIT FORFAITS SEO (pid24 & co : .plan sans .pricing-table)
   ============================================================ */

body .plan {
  border: 1px solid var(--w-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--w-paper);
  box-shadow: var(--w-shadow-1);
  transition: transform .25s var(--w-ease), box-shadow .25s var(--w-ease), border-color .25s;
}
body .plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--w-shadow-2);
  border-color: rgba(209, 48, 118, .3);
}
/* Header navy UNIQUEMENT pour le gabarit forfaits pid24 (.ph2) —
   jamais générique : sur la home le header de card reste clair (texte sombre) */
body .plan .plan-header.ph2 {
  background: var(--w-navy) !important;
  border-radius: 0 !important;
  padding: 1.1rem 1rem !important;
}
body .plan .plan-header.ph2 h3, body .plan .plan-header.ph2 h4, body .plan .plan-header.ph2 p,
body .plan .plan-header.ph2 span { color: rgba(255,255,255,.94) !important; }
/* Sécurité contraste : header clair => texte sombre lisible */
body .pricing-table .plan:not(.plan-featured) .plan-header h4,
body .pricing-table .plan:not(.plan-featured) .plan-header p,
body .pricing-table .plan:not(.plan-featured) .plan-header span:not(.plan-popular-tag) {
  color: var(--w-ink) !important;
}
body .pricing-table .plan:not(.plan-featured) .plan-header h4 { color: var(--w-navy) !important; }
body .pricing-table .plan:not(.plan-featured) .plan-header p span[style*="25.2px"] { color: var(--w-navy) !important; }
body .plan .plan-price {
  background: transparent !important;
  box-shadow: none !important;
}
body .plan .plan-price .price {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--w-navy);
}

/* Boutons COMMANDER : pill rose criard → plein magenta système */
body .btn.btn-dark.btn-modern {
  background: linear-gradient(135deg, var(--w-magenta) 0%, var(--w-magenta-deep) 100%) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(209, 48, 118, .28);
}
body .btn.btn-dark.btn-modern:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(209, 48, 118, .4); }
body .btn.btn-dark.btn-modern.btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--w-magenta) !important;
  color: var(--w-magenta) !important;
  box-shadow: none;
}
body .btn.btn-dark.btn-modern.btn-outline:hover { background: var(--w-magenta-soft) !important; }

/* V4b — plans featured (fond sombre) : texte toujours lisible */
body .plan.plan-featured .plan-price .price,
body .plan.plan-featured .plan-price .price2,
body .plan.plan-featured .plan-price .price-unit,
body .plan.plan-featured .plan-price,
body .plan.plan-featured .plan-features,
body .plan.plan-featured .plan-features li,
body .plan.plan-featured p,
body .plan.plan-featured span:not(.plan-popular-tag),
body .plan.plan-featured label,
body .plan.plan-featured h3, body .plan.plan-featured h4 {
  color: rgba(255, 255, 255, .93) !important;
}
body .plan.plan-featured .plan-header { background: rgba(255, 255, 255, .06) !important; }
body .plan.plan-featured .btn.btn-dark.btn-modern.btn-outline {
  border-color: rgba(255, 255, 255, .65) !important;
  color: #fff !important;
}
body .plan.plan-featured .btn.btn-dark.btn-modern.btn-outline:hover { background: rgba(255,255,255,.1) !important; }
body .plan.plan-featured a:not(.btn) { color: #ffd7ea !important; }

/* V4c — bouton des plans featured : texte TOUJOURS magenta sur fond blanc,
   même si un span interne héritait du blanc générique */
body .plan.plan-featured .plan-footer .btn,
body .plan.plan-featured .plan-footer .btn span,
body .plan.plan-featured .plan-footer .btn strong,
body .plan.plan-featured .btn.btn-secondary,
body .plan.plan-featured .btn.btn-secondary span {
  color: var(--w-magenta) !important;
}
body .plan.plan-featured .plan-footer .btn.btn-outline,
body .plan.plan-featured .plan-footer .btn.btn-outline span,
body .plan.plan-featured .btn.btn-dark.btn-modern.btn-outline,
body .plan.plan-featured .btn.btn-dark.btn-modern.btn-outline span {
  color: #fff !important;
}

/* ============================================================
   V5 — LOT CONTRASTE & FINITION (retours utilisateur + scanner)
   ============================================================ */

/* 5.1 Icônes sociales footer : le filtre blanc transformait les PNG
   en pastilles pleines → on masque l'img et on dessine un glyphe FA par href */
#footer a.RS { position: relative; }
#footer a.RS img { display: none; }
#footer a.RS::before {
  font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands';
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  content: "\f0ac"; /* globe fallback */
}
#footer a.RS[href*="facebook"]::before  { content: "\f39e"; }
#footer a.RS[href*="linkedin"]::before  { content: "\f0e1"; }
#footer a.RS[href*="twitter"]::before   { content: "\f099"; }
#footer a.RS[href*="x.com"]::before     { content: "\e61b"; }
#footer a.RS[href*="instagram"]::before { content: "\f16d"; }
#footer a.RS[href*="youtube"]::before   { content: "\f167"; }
#footer a.RS[href*="skype"]::before     { content: "\f17e"; }
#footer a.RS:hover::before { color: #fff; }

/* 5.2 Icônes sociales topbar (navy) : elles étaient noires sur navy */
#header .header-top .social-icons a,
#header .header-top .header-social-icons a,
#header .header-top .social-icons-clean a {
  color: rgba(255, 255, 255, .72) !important;
  background: transparent !important;
}
#header .header-top .social-icons a:hover { color: #fff !important; }

/* 5.3 Plan headers clairs : TOUS les niveaux de texte lisibles (h3 inclus — bug pid132/pid24) */
body .plan:not(.plan-featured) .plan-header:not(.ph2) h3,
body .plan:not(.plan-featured) .plan-header:not(.ph2) h4,
body .plan:not(.plan-featured) .plan-header:not(.ph2) h5,
body .plan:not(.plan-featured) .plan-header:not(.ph2) p,
body .plan:not(.plan-featured) .plan-header:not(.ph2) span:not(.plan-popular-tag),
body .plan:not(.plan-featured) .plan-header:not(.ph2) strong,
body .plan:not(.plan-featured) .plan-header:not(.ph2) div {
  color: var(--w-navy) !important;
}
/* et le fond du header clair devient une brume légère pour marquer la zone */
body .plan:not(.plan-featured) .plan-header:not(.ph2) {
  background: var(--w-mist) !important;
}

/* 5.4 Lien "Nos agences web en région" au-dessus du footer : blanc sur blanc */
body .container.text-center.py-2 a.text-color-light {
  color: var(--w-ink-soft) !important;
  opacity: 1 !important;
}
body .container.text-center.py-2 a.text-color-light:hover { color: var(--w-magenta) !important; }

/* 5.5 Badges bg-info (cyan clair + blanc = illisible) */
body .badge.bg-info { background-color: var(--w-indigo) !important; }

/* 5.6 Boutons COMMANDER outline : une seule bordure nette */
body .btn.btn-dark.btn-modern.btn-outline {
  border: 1.5px solid var(--w-magenta) !important;
  outline: none !important;
  box-shadow: none !important;
  border-style: solid !important;
}

/* 5.7 Grille tarifaire SEO (pid139, gabarit .pricing-123web) : centrage */
body .pricing-123web .table-container,
body .pricing-123web .pricing-table {
  margin-inline: auto !important;
  float: none !important;
}
body .pricing-123web .table-container { max-width: 880px; }
body .pricing-123web .section-title { text-align: center; }
body .pricing-123web .trust-section { justify-content: center; }

/* 5.8 pid139 : badges de confiance sans chevauchement */
body .pricing-123web .trust-section { display: flex; flex-wrap: wrap; gap: 2.2rem; align-items: flex-start; }
body .pricing-123web .trust-item { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }

/* ============================================================
   V6 — DERNIERS RÉSIDUS SCANNER CONTRASTE
   ============================================================ */

/* Bouton ghost des cards sombres home (btn-light-2) : blanc lisible sur navy */
body .plan.plan-featured .btn-light-2,
body .plan.plan-featured .btn-light-2 span {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, .7) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body .plan.plan-featured .btn-light-2:hover { background: rgba(255,255,255,.12) !important; }

/* DEMANDE DE DEVIS outline hors featured : magenta garanti (span compris) */
body .btn.btn-dark.btn-modern.btn-outline,
body .btn.btn-dark.btn-modern.btn-outline span,
body .btn.btn-dark.btn-modern.btn-outline strong {
  color: var(--w-magenta) !important;
}

/* Prix / mentions des plans clairs : encre lisible (pid24 "3h de travail") */
body .plan:not(.plan-featured) .plan-price span,
body .plan:not(.plan-featured) .plan-price p {
  color: var(--w-ink) !important;
}

/* Titres blog en overlay image : ombre de lisibilité */
body .thumb-info-title { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }

/* Lexique — cards du bloc maillage sur fond indigo : verre sombre + liens blancs */
body .lexique-maillage .card {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow: none;
}
body .lexique-maillage .card a.text-light { color: rgba(255,255,255,.92) !important; }
body .lexique-maillage .card a.text-light:hover { color: #fff !important; }
body .lexique-maillage .card h3, body .lexique-maillage .card h4,
body .lexique-maillage .card .card-header { color: #fff !important; }

/* ============================================================
   V6b — BOUTONS DES PLANS FEATURED : arbitrage final, spécificité max
   Pleins => blanc/navy ; outline => ghost blanc. Zéro ambiguïté.
   ============================================================ */
html body .plan.plan-featured .plan-footer .btn:not([class*="btn-outline"]),
html body .plan.plan-featured .plan-footer .btn:not([class*="btn-outline"]) span,
html body .plan.plan-featured .plan-footer .btn:not([class*="btn-outline"]) strong {
  background: #fff !important;
  color: var(--w-navy) !important;
  border: 0 !important;
}
html body .plan.plan-featured .plan-footer .btn[class*="btn-outline"],
html body .plan.plan-featured .plan-footer .btn[class*="btn-outline"] span,
html body .plan.plan-featured .plan-footer .btn[class*="btn-outline"] strong {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .72) !important;
  box-shadow: none !important;
}
html body .plan.plan-featured .plan-footer .btn[class*="btn-outline"]:hover {
  background: rgba(255, 255, 255, .12) !important;
}
/* Hors featured : outline modern = magenta, en spécificité max aussi */
html body .plan:not(.plan-featured) .btn.btn-dark.btn-modern.btn-outline,
html body .plan:not(.plan-featured) .btn.btn-dark.btn-modern.btn-outline span,
html body div:not(.plan-featured) > .btn.btn-dark.btn-modern.btn-outline {
  color: var(--w-magenta) !important;
}

/* V6c — les headers navy .ph2 gardent leur texte blanc même dans .pricing-table
   (la règle de sécurité contraste des headers clairs ne doit pas les assombrir) */
html body .pricing-table .plan .plan-header.ph2,
html body .pricing-table .plan .plan-header.ph2 h3,
html body .pricing-table .plan .plan-header.ph2 h4,
html body .pricing-table .plan .plan-header.ph2 p,
html body .pricing-table .plan .plan-header.ph2 span:not(.plan-popular-tag),
html body .pricing-table .plan .plan-header.ph2 strong {
  color: rgba(255, 255, 255, .94) !important;
}

/* ============================================================
   V7 — PROFILS SOCIAUX, SOMMAIRE AUTO & ENCARTS IN-CONTENT
   ============================================================ */

/* Liens sociaux des profils (À propos) */
.w26-social { display: flex; gap: .55rem; }
.w26-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--w-mist);
  border: 1px solid var(--w-line);
  color: var(--w-navy) !important;
  font-size: .95rem;
  transition: background-color .15s, color .15s, transform .15s, border-color .15s;
}
.w26-social a:hover { background: var(--w-magenta); border-color: var(--w-magenta); color: #fff !important; transform: translateY(-2px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Sommaire auto des pages longues */
.w26-toc {
  background: var(--w-mist);
  border: 1px solid var(--w-line);
  border-left: 3px solid var(--w-magenta);
  border-radius: var(--w-r-lg);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0 2.2rem;
}
.w26-toc .w26-toc-title {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--w-magenta);
  margin-bottom: .7rem;
}
.w26-toc ol { margin: 0; padding: 0 0 0 1.1rem; columns: 2; column-gap: 2.2rem; }
@media (max-width: 767px) { .w26-toc ol { columns: 1; } }
.w26-toc li { margin-bottom: .4rem; break-inside: avoid; font-size: .92rem; }
.w26-toc a { color: var(--w-ink); font-weight: 500; }
.w26-toc a:hover { color: var(--w-magenta); }

/* Encart offre in-content */
.w26-inline {
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
  align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--w-navy) 0%, #2a1e56 60%, #571c56 100%);
  border-radius: var(--w-r-lg);
  padding: 1.5rem 1.8rem;
  margin: 2.4rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.w26-inline::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 48, 118, .4), transparent 70%);
}
.w26-inline .w26-inline-txt { flex: 1 1 380px; position: relative; }
.w26-inline .w26-inline-kicker {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #ff9ec9;
  margin-bottom: .3rem;
}
.w26-inline strong.w26-inline-title { display: block; font-size: 1.12rem; color: #fff; letter-spacing: -0.01em; margin-bottom: .25rem; }
.w26-inline p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 1.55; }
.w26-inline .btn { position: relative; white-space: nowrap; }

/* Anchor offset sous header sticky */
[id^="w26-s"] { scroll-margin-top: 110px; }

/* TOC : jamais coincée dans un float/colonne */
.w26-toc { clear: both; width: 100%; }

/* V7b — plans featured HORS .pricing-table (pid24 forfaits 1j/3j) :
   le gradient couvre TOUTE la card, plus de flancs blancs */
body .plan.plan-featured {
  background: linear-gradient(160deg, var(--w-navy) 0%, #232457 70%, #3a1e52 100%) !important;
  border: 1px solid rgba(209, 48, 118, .45) !important;
  box-shadow: 0 8px 40px rgba(23, 25, 64, .35);
}
body .plan.plan-featured .plan-price,
body .plan.plan-featured .plan-features,
body .plan.plan-featured .plan-footer,
body .plan.plan-featured .plan-header {
  background: transparent !important;
}
body .plan.plan-featured .plan-header { background: rgba(255, 255, 255, .06) !important; }

/* ============================================================
   V8 — FINITION « SHIADÉ » : micro-interactions & profondeur
   ============================================================ */

/* 8.1 Scrollbar custom (desktop) — signature discrète */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--w-mist); }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--w-navy), var(--w-purple));
    border-radius: 8px;
    border: 2px solid var(--w-mist);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--w-magenta); }
}

/* 8.2 Boutons primaires : balayage lumineux au hover */
body .btn-primary, body .btn.btn-dark.btn-modern:not(.btn-outline) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
body .btn-primary::after, body .btn.btn-dark.btn-modern:not(.btn-outline)::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .55s var(--w-ease);
  z-index: 1;
  pointer-events: none;
}
body .btn-primary:hover::after, body .btn.btn-dark.btn-modern:not(.btn-outline):hover::after { left: 130%; }

/* 8.3 Cards : liseré gradient au hover + icône qui respire */
body .w26-card, body .card, body .pricing-table .plan:not(.plan-featured) {
  position: relative;
}
body .w26-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(209, 48, 118, .55), rgba(64, 70, 179, .45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s var(--w-ease);
  pointer-events: none;
}
body .w26-card:hover::before { opacity: 1; }
body .w26-card .w26-ico { transition: transform .25s var(--w-ease), background-color .25s; }
body .w26-card:hover .w26-ico {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, var(--w-magenta), var(--w-purple));
  color: #fff;
}

/* 8.4 Titres de section : soulignement gradient signature */
body .w26-section-title,
body h2.text-7 {
  position: relative;
  padding-bottom: .55rem;
}
body .w26-section-title::after,
body h2.text-7::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--w-magenta), var(--w-purple));
}
body .text-center h2.text-7::after, body h2.text-7.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}
/* pas de soulignement dans les zones dark CTA */
body .w26-cta h2::after, body .w26-inline h2::after { display: none; }

/* 8.5 Prix XXL : dégradé de marque (cards claires uniquement) */
body .pricing-table .plan:not(.plan-featured) .plan-header p span[style*="25.2px"],
body .pricing-table .plan:not(.plan-featured) .plan-header strong.text-5,
body .plan:not(.plan-featured) .plan-price .price {
  background: linear-gradient(120deg, var(--w-navy) 30%, var(--w-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 8.6 Compteurs & prix : chiffres tabulaires nets */
body .counter strong, body .plan-price .price, body .plan-header strong {
  font-variant-numeric: tabular-nums;
}

/* 8.7 Nav : soulignement animé sous l'item survolé */
#header .header-nav-main nav > ul > li > a { position: relative; }
#header .header-nav-main nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--w-magenta);
  transform: translateX(-50%);
  transition: width .22s var(--w-ease);
}
#header .header-nav-main nav > ul > li > a:hover::after,
#header .header-nav-main nav > ul > li.active > a::after { width: 55%; }
#header .header-nav-main nav > ul > li > a:hover { background: transparent; }

/* 8.8 Bouton back-to-top : pastille de marque */
body .scroll-to-top, body #scrollToTop, body .top-fixed, body a[href="#top"] {
  background: linear-gradient(135deg, var(--w-magenta), var(--w-purple)) !important;
  color: #fff !important;
  border-radius: 14px !important;
  border: 0 !important;
  box-shadow: 0 6px 20px rgba(209, 48, 118, .4) !important;
}

/* 8.9 Images de contenu : arrondies et ancrées */
body .post-content-2026 img, body #w26-content img:not(.img-tiny) {
  border-radius: var(--w-r-md);
  box-shadow: var(--w-shadow-1);
}

/* 8.10 Liens du contenu : soulignement gradient au hover */
body #w26-content a:not(.btn), body .post-content-2026 a:not(.btn) {
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--w-magenta), var(--w-purple));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s var(--w-ease);
}
body #w26-content a:not(.btn):hover, body .post-content-2026 a:not(.btn):hover {
  background-size: 100% 2px;
}

/* 8.11 Barre de progression de lecture (élément injecté par head.tpl) */
#w26-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--w-magenta), var(--w-purple), var(--w-indigo));
  z-index: 2000;
  transition: width .08s linear;
  pointer-events: none;
}

/* 8.12 Footer : hairline gradient de séparation */
#footer { position: relative; }
#footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--w-magenta), var(--w-purple), transparent);
  opacity: .7;
}

/* V8b — LE vrai coupable des flancs blancs (pid24 dark cards) :
   bordures latérales grises du thème sur .plan-price / .plan-features */
body .plan .plan-price,
body .plan .plan-features,
body .plan .plan-footer {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* ============================================================
   V9 — HOMEPAGE : hero resserré, cards alignées, rythme net
   ============================================================ */

/* Hero : moins de vide vertical, lead plus présent, CTA plus costaud */
body section:has(h1.text-9) .container { padding-top: 0; }
body h1.text-9 { margin-top: 0 !important; }
body h1.text-9 + p, body section:has(h1.text-9) p.mb-4 {
  font-size: 1.08rem !important;
  color: var(--w-ink-soft) !important;
  max-width: 46ch;
}
body section:has(h1.text-9) .btn.btn-primary,
body section:has(h1.text-9) .btn-rounded {
  padding: .85rem 1.9rem !important;
  font-size: .92rem !important;
}

/* Zone cards flottantes sous le hero : décalage contrôlé, gouttière régulière */
body .custom-negative-margin-1 .card { margin-bottom: 1.4rem !important; }
body .custom-negative-margin-1 .col-md-6:nth-child(2) { transform: translateY(2.2rem); }
@media (max-width: 767.98px) {
  body .custom-negative-margin-1 .col-md-6:nth-child(2) { transform: none; }
}
body .custom-negative-margin-1 .card .card-body { padding: 1.9rem 1.5rem; }
body .custom-negative-margin-1 .card img { transition: transform .25s var(--w-ease); }
body .custom-negative-margin-1 .card:hover img { transform: scale(1.06) rotate(-2deg); }

/* Bloc "agence depuis 2007" : citation magenta plus élégante */
body .custom-negative-margin-1 .col-lg-5 h2 + p strong,
body .custom-negative-margin-1 .col-lg-5 p.text-color-primary {
  font-style: italic;
}

/* Illustration hero : cadrée, jamais écrasante */
body img[src*="123web-agence-web-pas-cher.webp"] { max-width: 78% !important; }

/* Sécurité anti-overflow horizontal global */
html, body { overflow-x: hidden; }
