/* ==========================================================================
   WebFrance — composants propres aux pages intérieures (tarifs, réalisations,
   pages légales, 404, pages villes). Dépend de wf.css et sections.css.
   ========================================================================== */

/* ---------- Tableau comparatif ---------- */
.wf-cmp { position: relative; overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch; }
.wf-cmp:focus-visible { outline: 2px solid var(--bleu-400); outline-offset: 3px; }
.wf-cmp table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.wf-cmp--3 table { min-width: 720px; }
.wf-cmp th, .wf-cmp td { padding: 14px 18px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--ligne); }
.wf-cmp tbody tr:last-child th, .wf-cmp tbody tr:last-child td { border-bottom: 0; }
.wf-cmp thead th { padding: 20px 18px 16px; background: #fff; vertical-align: bottom; position: relative; }
.wf-cmp tbody th, .wf-cmp tfoot th { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 600; color: var(--encre); background: #fff; box-shadow: 1px 0 0 var(--ligne); }
.wf-cmp thead th:first-child { position: sticky; left: 0; z-index: 2; }
.wf-cmp tbody tr:nth-child(even) th, .wf-cmp tbody tr:nth-child(even) td { background: #fafbfe; }
.wf-cmp .is-pop { background: rgba(23, 51, 196, .045) !important; }
.wf-cmp thead .is-pop { background: var(--nuit-900) !important; border-radius: 14px 14px 0 0; }
.wf-cmp thead .is-pop .wf-cmp__n, .wf-cmp thead .is-pop .wf-cmp__p { color: #fff; }
.wf-cmp__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.015em; color: var(--encre); }
.wf-cmp__p { display: block; margin-top: 3px; font-weight: 700; color: var(--bleu); }
.wf-cmp__pill { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--rouge); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.wf-cmp__ok { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bleu-50); color: var(--bleu); }
.wf-cmp__ok svg { width: 15px; height: 15px; stroke-width: 2.8; }
.wf-cmp__no { color: #7d85aa; font-weight: 700; }
.wf-cmp tfoot th, .wf-cmp tfoot td { padding: 16px 18px 20px; border-top: 1px solid var(--ligne); border-bottom: 0; background: #fff; }
.wf-cmp tfoot .wf-btn { min-width: 118px; }
.wf-cmp--3 td { text-align: left; }
.wf-cmp--3 td.is-pop strong { color: var(--encre); font-weight: 650; }
.wf-cmp__hint { display: none; align-items: center; gap: 8px; margin: -8px 0 12px; font-size: .86rem; font-weight: 600; color: var(--gris); }
.wf-cmp__hint svg { width: 16px; height: 16px; color: var(--bleu); animation: wfNudge 1.8s var(--ease) infinite; }

/* ---------- Hébergement détaillé ---------- */
.wf-hostx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.wf-hostx__card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: radial-gradient(110% 80% at 100% 0%, rgba(33, 64, 216, .7), transparent 58%), var(--nuit-900); color: #c3caef; }
.wf-hostx__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lisere); }
.wf-hostx__card .wf-h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); }
.wf-hostx__card .wf-em { color: var(--bleu-300); }
.wf-hostx__lead { color: #c9cff1; }
.wf-hostx__price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; font-family: var(--f-display); color: #fff; }
.wf-hostx__price strong { color: #fff; font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.wf-hostx__price span { font-size: 1.1rem; color: #aab3df; font-family: var(--f-text); }
.wf-hostx__facts { display: grid; gap: 9px; margin: 6px 0 0; padding: 0; list-style: none; font-weight: 600; color: #e1e6ff; }
.wf-hostx__facts li { display: flex; align-items: center; gap: 10px; }
.wf-hostx__facts svg { width: 19px; height: 19px; color: #8ea0ff; }
.wf-hostx__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wf-hostx__list li { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.wf-hostx__list h3 { font-size: 1.05rem; padding-top: 2px; }
.wf-hostx__list p { margin-top: 5px; font-size: .92rem; color: var(--gris); }

/* ---------- Simulateur ---------- */
.wf-sim { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.wf-sim__form { display: grid; gap: 18px; }
.wf-sim__group { margin: 0; padding: 22px; border: 1px solid var(--ligne); border-radius: var(--r-lg); background: #fff; min-width: 0; }
.wf-sim__legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-family: var(--f-display); font-weight: 750; font-size: 1.15rem; color: var(--encre); letter-spacing: -.01em; float: left; width: 100%; }
.wf-sim__legend + * { clear: both; }
.wf-sim__legend span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bleu); color: #fff; font-family: var(--f-text); font-size: .85rem; font-weight: 700; }
.wf-optx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wf-optx__i { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--ligne); background: #fbfcff; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.wf-optx__i input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wf-optx__i:hover { border-color: #c2cbf1; background: #fff; }
.wf-optx__i:focus-within { box-shadow: var(--ring); }
.wf-optx__i.is-checked, .wf-optx__i.is-incl { border-color: var(--bleu); background: var(--bleu-50); }
.wf-optx__i.is-incl { cursor: default; }
.wf-optx__i.is-checked .wf-feat__box { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.wf-optx__tx { flex: 1; display: grid; gap: 2px; min-width: 0; }
.wf-optx__tx strong { font-size: .95rem; line-height: 1.3; color: var(--encre); }
.wf-optx__tx small { font-size: .82rem; line-height: 1.4; color: var(--gris); }
.wf-optx__p { flex: none; font-size: .86rem; font-weight: 700; color: var(--bleu); white-space: nowrap; }
.wf-optx__p--ok { color: #0f6b3b; }
.wf-sim__langs { margin-top: 16px; display: grid; gap: 10px; }
.wf-sim__total { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 12px; padding: 24px; border-radius: var(--r-xl); background: var(--nuit-900); color: #b8c0ea; box-shadow: var(--sh-3); overflow: hidden; }
.wf-sim__total::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lisere); }
.wf-sim__k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-300); }
.wf-sim__v { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.03em; color: #fff; }
.wf-sim__v span { display: inline-block; transition: transform .2s var(--ease), opacity .2s; }
.wf-sim__v span.is-bump { transform: scale(.94); opacity: .6; }
.wf-sim__s { font-size: .95rem; color: #dfe3ff; }
.wf-sim__lines { display: grid; gap: 0; margin: 4px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.wf-sim__lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.wf-sim__lines dd { margin: 0; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; }
.wf-sim__lines dd small { display: block; font-weight: 600; color: #7ee2a8; font-size: .78rem; }
.wf-sim__n { font-size: .8rem; color: #8b95cb; }

/* ---------- Paiement ---------- */
.wf-pay { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.wf-pay::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--bleu), #c9d1ff 50%, var(--rouge)); z-index: 0; }
.wf-pay__i { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; padding: 0 6px; text-align: left; }
.wf-pay__n { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--bleu); color: var(--bleu); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff; }
.wf-pay__i:nth-child(3) .wf-pay__n { border-color: var(--rouge); color: var(--rouge); }
.wf-pay__h { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.wf-pay__h h3 { font-size: 1.16rem; }
.wf-pay__i p { font-size: .94rem; color: var(--gris); }
.wf-pay__a { justify-self: start; padding: 4px 11px; border-radius: 999px; background: var(--bleu-50); color: var(--bleu) !important; font-weight: 700; font-size: .86rem !important; }
.wf-pay__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--ligne); font-size: .94rem; color: var(--texte); }
.wf-pay__foot p { display: inline-flex; align-items: flex-start; gap: 9px; }
.wf-pay__foot svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--bleu); }


/* ---------- Réalisations : études de cas ---------- */
.wf-case-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(36px, 5vw, 64px); }
.wf-case-nav__i { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--ligne); transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.wf-case-nav__i:hover { background: #fff; border-color: #c7d0f3; transform: translateY(-2px); }
.wf-case-nav__n { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--bleu); letter-spacing: -.02em; }
.wf-case-nav__tx { flex: 1; display: grid; min-width: 0; }
.wf-case-nav__tx strong { font-size: 1rem; color: var(--encre); }
.wf-case-nav__tx small { font-size: .84rem; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-case-nav__i > svg { width: 18px; height: 18px; color: var(--gris); }
.wf-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 4vw, 56px); scroll-margin-top: 4px; }
.wf-case + .wf-case { border-top: 1px solid var(--ligne); }
.wf-case--rev .wf-case__media { order: 2; }
.wf-case__media { position: relative; display: grid; gap: 14px; padding-right: 28px; }
.wf-case--rev .wf-case__media { padding-right: 0; padding-left: 28px; }
.wf-case__main { display: block; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px -34px rgba(11, 16, 51, .5), 0 0 0 1px rgba(11, 16, 51, .07); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.wf-case__main:hover { transform: translateY(-3px); box-shadow: 0 44px 80px -36px rgba(11, 16, 51, .55), 0 0 0 1px rgba(11, 16, 51, .07); }
.wf-case__main .wf-work__browser { border-radius: 0; }
.wf-case__main picture { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.wf-case__main img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wf-case__phone { position: absolute; right: 0; top: 18%; z-index: 2; width: 21%; min-width: 92px; max-width: 150px; aspect-ratio: 390 / 780; border-radius: 20px; overflow: hidden; border: 5px solid #0b1033; background: #fff; box-shadow: 0 28px 50px -20px rgba(11, 16, 51, .6); }
.wf-case--rev .wf-case__phone { right: auto; left: 0; }
.wf-case__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wf-case__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wf-case__thumbs figure { margin: 0; display: grid; gap: 7px; }
.wf-case__thumbs picture { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; box-shadow: 0 16px 34px -22px rgba(11, 16, 51, .45), 0 0 0 1px rgba(11, 16, 51, .07); }
.wf-case__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wf-case__thumbs figcaption { font-size: .8rem; font-weight: 600; color: var(--gris); }
.wf-case__body { display: grid; gap: 14px; justify-items: start; }
.wf-case__n { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--bleu); letter-spacing: -.04em; }
.wf-case__n span { font-size: .42em; color: #636b8f; letter-spacing: 0; margin-left: 4px; }
.wf-case__t { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.wf-case__cat { display: inline-flex; align-items: center; gap: 8px; margin-top: -6px; font-weight: 600; color: var(--gris); }
.wf-case__cat svg { width: 17px; height: 17px; color: var(--rouge); }
.wf-case__lead { font-size: 1.06rem; color: var(--texte); }
.wf-case__h { margin-top: 4px; font-family: var(--f-text); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.wf-case__done { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wf-case__done li { display: flex; align-items: flex-start; gap: 11px; font-size: .97rem; color: var(--texte); line-height: 1.45; }
.wf-case__done svg { width: 18px; height: 18px; margin-top: 2px; color: #fff; background: var(--bleu); border-radius: 50%; padding: 3px; stroke-width: 3; flex: none; }
.wf-case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-case__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 6px; }
.wf-socle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wf-socle li { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); }
.wf-socle h3 { font-size: 1.08rem; padding-top: 3px; }
.wf-socle p { margin-top: 6px; font-size: .93rem; color: var(--gris); }
@media (max-width: 1099px) {
  .wf-case, .wf-case--rev { grid-template-columns: minmax(0, 1fr); }
  .wf-case--rev .wf-case__media { order: 0; }
  .wf-socle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .wf-case-nav { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .wf-case__media, .wf-case--rev .wf-case__media { padding: 0; }
  .wf-case__phone, .wf-case--rev .wf-case__phone { top: auto; bottom: 38%; right: 8px; left: auto; width: 26%; min-width: 74px; border-width: 4px; border-radius: 14px; }
  .wf-socle { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Pages légales ---------- */
.wf-legal-tabs { position: relative; z-index: 3; margin-top: -30px; }
.wf-legal-tabs__in { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: var(--sh-2), 0 0 0 1px rgba(11, 16, 51, .06); max-width: 100%; overflow-x: auto; }
.wf-legal-tabs__in a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 650; color: var(--gris); white-space: nowrap; transition: background-color .2s, color .2s; }
.wf-legal-tabs__in a:hover { color: var(--encre); background: var(--papier); }
.wf-legal-tabs__in a.is-on { background: var(--nuit-900); color: #fff; }
.wf-legal { padding-top: clamp(40px, 5vw, 64px); }
.wf-legal__in { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.wf-legal__toc { position: sticky; top: calc(var(--bar-h) + 24px); display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--papier); border: 1px solid var(--ligne); max-height: calc(100vh - var(--bar-h) - 48px); }
.wf-legal__det { display: flex; flex-direction: column; min-height: 0; }
.wf-legal__det[open] { flex: 0 1 auto; }
.wf-legal__sum { display: flex; align-items: center; gap: 10px; list-style: none; cursor: default; }
.wf-legal__sum::-webkit-details-marker { display: none; }
.wf-legal__toc-t { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.wf-legal__n { font-size: .8rem; color: var(--gris); }
.wf-legal__chev { display: none; }
.wf-legal__toc ol { display: grid; gap: 1px; margin: 12px 0 0; padding: 0 4px 0 0; list-style: none; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ligne) transparent; }
.wf-legal__toc a { display: block; padding: 6px 10px; border-radius: 9px; font-size: .88rem; line-height: 1.35; color: var(--texte); border-left: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.wf-legal__toc a:hover { background: #fff; color: var(--bleu); }
.wf-legal__toc a.is-on { background: #fff; color: var(--bleu); font-weight: 650; border-left-color: var(--rouge); }
.wf-legal__tools { flex: none; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.wf-legal__tools .wf-btn svg { width: 16px; height: 16px; }
.wf-legal__upd { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gris); }
.wf-legal__upd svg { width: 15px; height: 15px; }
.wf-legal__body { font-size: 1.04rem; line-height: 1.75; color: var(--texte); }
.wf-legal__body > * + * { margin-top: 16px; }
.wf-legal__body h2 { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ligne); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); scroll-margin-top: 8px; }
.wf-legal__body h2:first-of-type { margin-top: 28px; }
.wf-legal__body h3 { margin-top: 26px; font-size: 1.12rem; color: var(--encre); }
.wf-legal__body ul, .wf-legal__body ol { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.wf-legal__body ul li { position: relative; padding-left: 22px; }
.wf-legal__body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--bleu); transform: rotate(45deg); }
.wf-legal__body ol { counter-reset: n; }
.wf-legal__body ol li { position: relative; padding-left: 30px; counter-increment: n; }
.wf-legal__body ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu-50); color: var(--bleu); font-size: .78rem; font-weight: 700; }
.wf-legal__body a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(23, 51, 196, .35); word-break: break-word; }
.wf-legal__intro { font-size: 1.1rem; color: var(--encre); padding: 18px 20px; border-radius: var(--r); background: var(--bleu-50); border-left: 4px solid var(--bleu); }
.wf-legal__box { padding: 18px 20px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--ligne); }
.wf-legal__warn { padding: 16px 18px; border-radius: var(--r); background: var(--rouge-100); border-left: 4px solid var(--rouge); color: #6d1020; }
.wf-legal__warn strong { color: #6d1020; }
.wf-legal__table { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--ligne); }
.wf-legal__table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.wf-legal__table th, .wf-legal__table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.wf-legal__table th { background: var(--papier); color: var(--encre); font-weight: 650; }
.wf-legal__table tr:last-child td { border-bottom: 0; }
.wf-legal__contact { display: flex; align-items: flex-start; gap: 16px; margin-top: 48px !important; padding: 22px; border-radius: var(--r-lg); background: var(--nuit-900); color: #c3caef; }
.wf-legal__contact-t { margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 1.15rem !important; color: #fff; }
.wf-legal__contact p { margin-top: 6px; }
.wf-legal__contact a { color: #fff; }
.wf-legal__contact .wf-ico { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }

/* ---------- Tarifs : repères de prix 2026 ---------- */
.wf-market { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wf-market__i { display: grid; align-content: start; gap: 10px; padding: 22px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); }
.wf-market__i.is-us { background: var(--nuit-900); border-color: transparent; color: #c3caef; box-shadow: var(--sh-2); }
.wf-market__t { display: grid; gap: 2px; }
.wf-market__t strong { font-family: var(--f-display); font-size: 1.12rem; color: var(--encre); }
.wf-market__t small { font-size: .84rem; color: var(--gris); }
.wf-market__p { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.1; color: var(--encre); }
.wf-market__p small { display: block; margin-top: 2px; font-family: var(--f-text); font-weight: 500; font-size: .82rem; letter-spacing: 0; color: var(--gris); }
.wf-market__d { font-size: .9rem; color: var(--gris); }
.wf-market__i.is-us .wf-market__t strong, .wf-market__i.is-us .wf-market__p { color: #fff; }
.wf-market__i.is-us .wf-market__t small, .wf-market__i.is-us .wf-market__p small, .wf-market__i.is-us .wf-market__d { color: #c3caef; }
.wf-market__i.is-us .wf-ico { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.wf-market__why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.wf-market__why > div { padding: 22px; border-radius: var(--r-lg); background: var(--papier); border: 1px solid var(--ligne); }
.wf-market__why h3 { font-size: 1.1rem; margin-bottom: 12px; }
.wf-market__list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .94rem; color: var(--texte); }
.wf-market__list li { display: flex; gap: 10px; align-items: flex-start; }
.wf-market__list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--bleu); stroke-width: 2.6; }
@media (max-width: 1099px) { .wf-market { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .wf-market, .wf-market__why { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pages métier / refonte : arborescence + formule conseillée ---------- */
.wf-plan-tree { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wf-plan-tree__main { display: grid; gap: 22px; }
.wf-plan-tree__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wf-plan-tree__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.wf-plan-tree__list strong { display: block; font-family: var(--f-display); font-size: 1.04rem; color: var(--encre); }
.wf-plan-tree__list small { display: block; margin-top: 3px; font-size: .9rem; line-height: 1.45; color: var(--gris); }
.wf-plan-tree__n { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bleu-50); color: var(--bleu); font-family: var(--f-display); font-weight: 800; font-size: .92rem; }
.wf-reco { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 12px; padding: 26px 24px; border-radius: var(--r-xl); color: #c3caef; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 80% at 100% 0%, rgba(33, 64, 216, .7), transparent 58%), var(--nuit-900); box-shadow: var(--sh-2); }
.wf-reco::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lisere); }
.wf-reco__k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-300); }
.wf-reco__n { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; color: #fff; line-height: 1.15; }
.wf-reco__p { font-family: var(--f-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1; color: #fff; }
.wf-reco__p small { display: block; margin-top: 6px; font-family: var(--f-text); font-size: .86rem; font-weight: 500; letter-spacing: 0; color: #c3caef; }
.wf-reco__d { font-size: .94rem; line-height: 1.55; }
.wf-reco__s { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #aab3df; }
.wf-reco__s svg { width: 16px; height: 16px; flex: none; }
.wf-seo-cities__p { margin-bottom: 12px; font-size: .94rem; color: var(--texte); }
.wf-seo-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.wf-seo-cities a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-size: .9rem; font-weight: 600; color: var(--encre); transition: border-color .2s, color .2s; }
.wf-seo-cities a:hover { border-color: var(--bleu-200); color: var(--bleu); }
.wf-seo-cities a.is-hq { background: var(--rouge-100); border-color: transparent; color: #a3162a; }
.wf-seo-cities a svg { width: 15px; height: 15px; }
/* ---------- Page agence ---------- */
.wf-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wf-story__copy { display: grid; gap: 16px; font-size: 1.04rem; line-height: 1.7; color: var(--texte); }
.wf-legalcard { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--papier); border: 1px solid var(--ligne); }
.wf-legalcard__t { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 750; font-size: 1.1rem; color: var(--encre); }
.wf-legalcard__t svg { width: 20px; height: 20px; color: var(--bleu); }
.wf-legalcard dl { display: grid; gap: 10px; margin: 0; }
.wf-legalcard dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ligne); }
.wf-legalcard dt { font-size: .82rem; color: var(--gris); }
.wf-legalcard dd { margin: 0; font-size: .92rem; font-weight: 600; color: var(--encre); }
@media (max-width: 1099px) {
  .wf-plan-tree, .wf-story { grid-template-columns: minmax(0, 1fr); }
  .wf-reco, .wf-legalcard { position: static; }
}
@media (max-width: 599px) {
  .wf-plan-tree__list { grid-template-columns: minmax(0, 1fr); }
  .wf-socle--why { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 404 ---------- */
.wf-lost__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.wf-lost__search { display: grid; gap: 16px; }
.wf-lost__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

@media print {
  .wf-top, .wf-bar, .wf-drawer, .wf-scrim, .wf-hero, .wf-legal-tabs, .wf-legal__aside, .wf-foot, .wf-legal__contact, .wf-skip { display: none !important; }
  .wf-legal { padding: 0; }
  .wf-legal__in { display: block; }
  .wf-legal__body { max-width: none; font-size: 11pt; }
  .wf-legal__body a { color: #000; }
}
@media (max-width: 1099px) {
  .wf-legal__in { grid-template-columns: minmax(0, 1fr); }
  .wf-legal__toc { position: static; max-height: none; padding: 0; gap: 0; background: #fff; }
  .wf-legal__sum { min-height: 56px; padding: 0 18px; cursor: pointer; }
  .wf-legal__sum:focus-visible { outline-offset: -3px; border-radius: var(--r-lg); }
  .wf-legal__chev { display: block; width: 18px; height: 18px; margin-left: auto; color: var(--bleu); transition: transform .25s var(--ease); }
  .wf-legal__det[open] .wf-legal__chev { transform: rotate(180deg); }
  .wf-legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; margin: 0; padding: 4px 12px 14px; overflow: visible; }
  .wf-legal__tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 12px 18px; }
  .wf-lost__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .wf-legal__toc ol, .wf-lost__links { grid-template-columns: minmax(0, 1fr); }
  .wf-legal__tools { grid-template-columns: minmax(0, 1fr); }
  .wf-legal-tabs { margin-top: -24px; }
  .wf-legal-tabs__in { display: flex; }
  .wf-legal-tabs__in a { flex: 1; justify-content: center; padding: 0 12px; font-size: .92rem; }
  .wf-legal__body { font-size: .98rem; line-height: 1.7; }
}


/* ---------- Pages villes ---------- */
.wf-local .wf-ticket__l { margin-top: 12px; padding-top: 12px; }
.wf-local .wf-ticket__l svg { color: var(--rouge); }
.wf-localx { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.wf-localx__copy { display: grid; gap: 18px; justify-items: start; }
.wf-localx__seo { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--bleu-50); color: var(--texte); font-size: .97rem; }
.wf-localx__seo svg { width: 20px; height: 20px; margin-top: 2px; color: var(--bleu); flex: none; }
.wf-localx__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wf-localx__stats li { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); }
.wf-localx__stats li:nth-child(1) { background: var(--nuit-900); border-color: transparent; }
.wf-localx__stats li:nth-child(1) .wf-localx__n { color: #fff; }
.wf-localx__stats li:nth-child(1) .wf-localx__l { color: #aab3df; }
.wf-localx__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; letter-spacing: -.03em; color: var(--encre); }
.wf-localx__n em { font-style: normal; font-size: .55em; color: var(--bleu); margin-left: 2px; }
.wf-localx__l { font-size: .9rem; line-height: 1.4; color: var(--gris); }
.wf-localx__side { display: grid; gap: 12px; align-content: start; }
.wf-localx__facts { padding: 18px 20px; border-radius: var(--r-lg); background: var(--papier); border: 1px solid var(--ligne); }
.wf-localx__facts-t { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.wf-localx__facts-t svg { width: 16px; height: 16px; flex: none; }
.wf-localx__facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.wf-localx__facts dt { font-size: .76rem; color: var(--gris); }
.wf-localx__facts dd { margin: 2px 0 0; font-weight: 650; font-size: .94rem; line-height: 1.35; color: var(--encre); }
.wf-localx__facts dd a { color: var(--bleu); text-decoration: underline; text-decoration-color: rgba(23, 51, 196, .35); text-underline-offset: 3px; }
.wf-localx__facts sup { font-size: .68em; }
@media (max-width: 1099px) { .wf-localx { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 379px) { .wf-localx__stats { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   RESPONSIVE (pages)
   ========================================================================== */
@media (max-width: 1099px) {
  .wf-hostx { grid-template-columns: minmax(0, 1fr); }
  .wf-sim { grid-template-columns: minmax(0, 1fr); }
  .wf-sim__total { position: static; }
  .wf-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
  .wf-pay::before { display: none; }
  /* Frise verticale : numéro à gauche, titre sur la même ligne, contenu en dessous. */
  .wf-pay__i { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 0; }
  .wf-pay__n { grid-row: 1 / span 3; }
  .wf-pay__i > :not(.wf-pay__n) { grid-column: 2; }
  .wf-pay__h { min-height: 44px; margin: 0; }
  .wf-pay__h .wf-ico { display: none; }
}
@media (max-width: 899px) {
  .wf-cmp__hint { display: flex; }
  .wf-cmp th, .wf-cmp td { padding: 12px 14px; font-size: .9rem; }
  .wf-cmp tbody th, .wf-cmp tfoot th { max-width: 150px; }
}
@media (max-width: 599px) {
  .wf-hostx__list, .wf-optx { grid-template-columns: minmax(0, 1fr); }
  .wf-pay { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .wf-pay__i::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -22px; width: 2px; border-radius: 2px; background: linear-gradient(var(--bleu), #c9d1ff); }
  .wf-pay__i:nth-child(2)::after { background: linear-gradient(#c9d1ff, var(--rouge)); }
  .wf-pay__i:nth-child(3)::after { background: linear-gradient(var(--rouge), #c9d1ff); }
  .wf-pay__i:last-child::after { display: none; }
  .wf-pay__foot { justify-content: flex-start; }
  .wf-sim__group { padding: 18px 16px; }
  .wf-sim__v { font-size: 2.6rem; }
}

/* ==========================================================================
   Pages département et page centrale des villes (/creation-site-internet)
   ========================================================================== */
.wf-dtop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wf-dtop__c { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 3px; height: 100%; min-height: 92px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.wf-dtop__c:hover { border-color: #c5cef3; box-shadow: var(--sh-2); transform: translateY(-2px); }
.wf-dtop__n { grid-column: 1; font-family: var(--f-display); font-weight: 750; font-size: 1.14rem; line-height: 1.2; letter-spacing: -.02em; color: var(--encre); overflow-wrap: anywhere; }
.wf-dtop__p { grid-column: 1; font-size: .88rem; color: var(--gris); }
.wf-dtop__b { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--bleu-100); color: var(--bleu-600); font-size: .75rem; font-weight: 700; }
.wf-dtop__b.is-hq { background: var(--rouge-100); color: var(--rouge-600); }
.wf-dtop__b svg { width: 12px; height: 12px; }
.wf-dtop__go { grid-column: 2; grid-row: 1 / span 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--papier); color: var(--encre); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.wf-dtop__go svg { width: 16px; height: 16px; }
.wf-dtop__c:hover .wf-dtop__go { background: var(--rouge); color: #fff; transform: translateX(2px); }
.wf-dall { margin-top: clamp(36px, 4vw, 52px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ligne); }
.wf-dall__t { margin-bottom: 20px; font-family: var(--f-display); font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; color: var(--encre); }
.wf-dall__cols { columns: 4 180px; column-gap: 32px; }
.wf-dall__g { break-inside: avoid; margin-bottom: 18px; }
.wf-dall__k { margin-bottom: 4px; font-family: var(--f-display); font-weight: 800; font-size: .95rem; color: var(--rouge); }
.wf-dall__g ul { display: grid; margin: 0; padding: 0; list-style: none; }
.wf-dall__g a { display: inline-flex; align-items: center; min-height: 32px; font-size: .93rem; color: var(--texte); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.wf-dall__g a:hover { color: var(--bleu); text-decoration-color: currentColor; }
.wf-regs { columns: 3 300px; column-gap: 16px; }
.wf-reg { display: grid; gap: 14px; margin-bottom: 16px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--sh-1); break-inside: avoid; }
.wf-reg__h h3 { font-family: var(--f-display); font-weight: 750; font-size: 1.16rem; letter-spacing: -.02em; color: var(--encre); }
.wf-reg__h p { margin-top: 3px; font-size: .84rem; color: var(--gris); }
.wf-reg__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.wf-reg__l a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 4px 0; border-bottom: 1px dashed var(--ligne); font-size: .93rem; font-weight: 600; line-height: 1.25; color: var(--encre); transition: color .2s; }
.wf-reg__l a:hover { color: var(--bleu); }
.wf-reg__l small { flex: none; font-size: .76rem; font-weight: 700; color: var(--gris); font-variant-numeric: tabular-nums; }
.wf-reg__big { font-size: .86rem; line-height: 1.55; color: var(--gris); }
.wf-reg__big a { font-weight: 600; color: var(--bleu); text-decoration: underline; text-decoration-color: rgba(23, 51, 196, .3); text-underline-offset: 3px; }
.wf-seo-cities--big { gap: 10px; }
.wf-vit__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: .95rem; line-height: 1.55; color: var(--gris); }
.wf-vit__note > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--bleu); }
.wf-seo-cities a small { font-size: .76rem; font-weight: 600; color: var(--gris); }
@media (max-width: 1099px) { .wf-dtop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .wf-dtop { gap: 10px; }
  .wf-dtop__c { min-height: 0; padding: 14px 14px 14px 16px; column-gap: 8px; }
  .wf-dtop__n { font-size: 1rem; }
  .wf-dtop__p { font-size: .8rem; }
  .wf-dtop__go { display: none; }
  .wf-dall__cols { columns: 2 130px; column-gap: 18px; }
  .wf-reg { padding: 18px 16px 16px; }
  .wf-reg__l a { font-size: .9rem; }
}
/* Tableaux à 3 colonnes (vitrine, refonte) : entiers sur téléphone. Les tableaux à 4 colonnes gardent le défilement horizontal. */
@media (max-width: 599px) {
  .wf-cmp--3:not(:has(th:nth-child(4))) table { min-width: 0; table-layout: fixed; }
  .wf-cmp--3:not(:has(th:nth-child(4))) :is(th, td) { padding: 10px 9px; font-size: .8rem; line-height: 1.4; overflow-wrap: break-word; }
  .wf-cmp--3:not(:has(th:nth-child(4))) thead th { padding: 14px 9px 12px; }
  .wf-cmp--3:not(:has(th:nth-child(4))) thead th:first-child { width: 31%; }
  .wf-cmp--3:not(:has(th:nth-child(4))) .wf-cmp__n { font-size: .9rem; }
  .wf-cmp--3:not(:has(th:nth-child(4))) tbody th { max-width: none; position: static; box-shadow: none; hyphens: auto; }
}
