/* Pages publiques Xpert Télécom : villes (xpert-local*.tpl) et pages de contenu (xpert-page.tpl). */
.xl { --b:#29a8e0; --n:#0f1f3d; --ink:#1d2433; --mut:#5b6670; --bg:#f4f7fa; color: var(--ink); }
.xl section { margin: 0 0 56px; }
.xl h2 { font-size: 30px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.xl .xl-lead { color: var(--mut); font-size: 17px; max-width: 820px; margin: 0 0 26px; line-height: 1.6; }
.xl-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; background: radial-gradient(600px 400px at 85% 10%, rgba(41,168,224,.14), transparent 60%), #fff;
  border: 1px solid #e5e9f0; border-radius: 22px; padding: 44px 46px; }
.xl-hero .xl-k { display: inline-block; background: var(--b); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }
.xl-hero h1 { font-size: 44px; line-height: 1.08; font-weight: 900; margin: 16px 0 14px; letter-spacing: -.015em; }
.xl-hero h1 em { font-style: normal; color: var(--b); }
.xl-hero p { font-size: 18px; color: var(--mut); line-height: 1.6; margin: 0 0 22px; }
.xl-hero img { width: 100%; height: auto; }
.xl-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.xl-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 14px 22px; font-weight: 800; font-size: 16px; text-decoration: none !important; }
.xl-btn.p { background: var(--b); color: #fff !important; box-shadow: 0 10px 24px rgba(41,168,224,.35); }
.xl-btn.s { background: #fff; color: var(--n) !important; border: 2px solid var(--n); }
.xl-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--mut); font-size: 14px; font-weight: 600; }
.xl-trust i { color: var(--b); margin-right: 5px; }
.xl-facts { background: #fff; border: 1px solid #e5e9f0; border-left: 5px solid var(--b); border-radius: 14px; padding: 18px 22px; }
.xl-facts h2 { font-size: 18px !important; margin-bottom: 8px; } .xl-facts ul { margin: 0; padding-left: 18px; line-height: 1.75; }
.xl-calc { background: #fff; border: 1px solid #e5e9f0; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: center; }
.xl-calc label { font-weight: 800; font-size: 17px; display: block; margin-bottom: 10px; }
.xl-calc input[type=range] { width: 100%; accent-color: var(--b); }
.xl-calc .n { font-size: 46px; font-weight: 900; color: var(--n); line-height: 1; margin-bottom: 8px; }
.xl-calc .res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xl-calc .res div { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.xl-calc .res small { display: block; color: var(--mut); font-weight: 600; font-size: 13px; }
.xl-calc .res b { font-size: 24px; font-weight: 900; }
.xl-calc .res .save { grid-column: 1 / -1; background: linear-gradient(120deg, #0f1f3d, #173a6b); }
.xl-calc .res .save small { color: #b9d9ec; } .xl-calc .res .save b { color: #8fd8f7; font-size: 32px; }
.xl-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.xl-price { background: #fff; border: 1px solid #e5e9f0; border-radius: 18px; padding: 28px; }
.xl-price.hl { border: 2px solid var(--b); box-shadow: 0 14px 34px rgba(41,168,224,.15); }
.xl-price h3 { font-size: 20px; font-weight: 800; margin: 0; }
.xl-price .v { font-size: 40px; font-weight: 900; color: var(--b); margin: 8px 0 2px; }
.xl-price .v small { font-size: 16px; color: var(--mut); font-weight: 600; }
.xl-price ul { padding-left: 0; list-style: none; margin: 14px 0 0; }
.xl-price li { padding: 5px 0; } .xl-price li i { color: var(--b); margin-right: 8px; }
.xl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.xl-f { background: var(--bg); border-radius: 16px; padding: 22px; }
.xl-f i { font-size: 26px; color: var(--b); }
.xl-f h3 { font-size: 17px; font-weight: 800; margin: 10px 0 6px; }
.xl-f p { margin: 0; color: var(--mut); line-height: 1.55; font-size: 15px; }
.xl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.xl-step { background: #fff; border: 1px solid #e5e9f0; border-radius: 16px; padding: 22px 22px 22px 70px; position: relative; }
.xl-step:before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--n); color: #fff; font-weight: 800; display: grid; place-items: center; }
.xl-step h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; } .xl-step p { margin: 0; color: var(--mut); line-height: 1.55; font-size: 15px; }
.xl-band { background: linear-gradient(120deg, #0f1f3d, #173a6b); color: #fff; border-radius: 20px; padding: 34px 38px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; }
.xl-band h2 { color: #fff; } .xl-band p { opacity: .88; line-height: 1.6; margin: 0; }
.xl-band .big { font-size: 46px; font-weight: 900; color: #8fd8f7; line-height: 1; }
.xl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.xl-links a { background: #fff; border: 1px solid #dbe6f0; border-radius: 30px; padding: 7px 14px; font-weight: 700; font-size: 14.5px; color: var(--n); }
.xl-links a:hover { border-color: var(--b); color: var(--b); text-decoration: none; }
.xl-faq details { background: #fff; border: 1px solid #e5e9f0; border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.xl-faq summary { font-weight: 800; font-size: 16.5px; cursor: pointer; }
.xl-faq details p { margin: 10px 0 0; color: var(--mut); line-height: 1.6; }
.xl-final { text-align: center; background: var(--bg); border-radius: 20px; padding: 40px 24px; }
.xl-final .xl-cta { justify-content: center; }
.xl-note { font-size: 12.5px; color: #7a838c; margin-top: 18px; }
@media (max-width: 991px) { .xl-hero, .xl-band, .xl-calc { grid-template-columns: 1fr; } .xl-grid, .xl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .xl-hero { padding: 26px 18px; } .xl-hero h1 { font-size: 32px; } .xl-prices, .xl-grid, .xl-steps { grid-template-columns: 1fr; } .xl-band, .xl-calc { padding: 22px 18px; } .xl-calc .res { grid-template-columns: 1fr; } }

/* ---- ajouts : pages de contenu, outils, tableaux (xpert-page.tpl) ---- */
.xl-lang { float: right; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid #dbe6f0; border-radius: 30px; padding: 6px 14px; color: var(--n); }
.xl-lang:hover { border-color: var(--b); color: var(--b); text-decoration: none; }
.xp-count { font-size: 14px; background: var(--bg); color: var(--mut); border-radius: 20px; padding: 3px 10px; vertical-align: middle; font-weight: 700; }
.xl-hero.solo { grid-template-columns: 1fr; }
.xl-hero .xl-ico { font-size: 120px; color: var(--b); text-align: center; opacity: .9; }
.xp-prose { max-width: 900px; font-size: 17px; line-height: 1.7; }
.xp-prose h2 { margin-top: 38px; } .xp-prose h3 { font-size: 20px; font-weight: 800; margin: 26px 0 8px; }
.xp-prose p, .xp-prose li { color: #2f3a48; } .xp-prose ul { padding-left: 22px; } .xp-prose li { margin: 4px 0; }
.xp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #e5e9f0; border-radius: 16px; overflow: hidden; font-size: 15.5px; margin: 10px 0 8px; }
.xp-table th, .xp-table td { padding: 12px 14px; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: top; }
.xp-table thead th { background: var(--n); color: #fff; font-weight: 800; }
.xp-table tr:last-child td { border-bottom: 0; } .xp-table td.us, .xp-table th.us { background: #eaf7fd; font-weight: 700; }
.xp-table-wrap { overflow-x: auto; }
.xp-src { font-size: 12.5px; color: #7a838c; line-height: 1.55; }
.xp-tool { background: #fff; border: 1px solid #e5e9f0; border-radius: 20px; padding: 26px; margin: 0 0 30px; }
.xp-tool .row2 { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.xp-tool label { font-weight: 800; display: block; margin-bottom: 6px; }
.xp-tool select, .xp-tool input[type=text] { border: 1px solid #cfd8e3; border-radius: 10px; padding: 11px 12px; font-size: 16px; min-width: 180px; max-width: 100%; background: #fff; }
.xp-tool button { background: var(--b); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 800; font-size: 16px; cursor: pointer; }
.xp-tool button:disabled { opacity: .6; cursor: wait; }
.xp-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 18px; }
.xp-num { border: 1px solid #dbe6f0; border-radius: 14px; padding: 14px 16px; background: var(--bg); }
.xp-num b { font-size: 21px; display: block; letter-spacing: .01em; } .xp-num small { color: var(--mut); display: block; margin-bottom: 8px; }
.xp-num a { display: inline-block; font-weight: 800; font-size: 14px; margin-right: 10px; }
.xp-msg { margin-top: 14px; color: var(--mut); }
.xp-meter { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.xp-meter div { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.xp-meter small { display: block; color: var(--mut); font-weight: 700; font-size: 13px; } .xp-meter b { font-size: 26px; font-weight: 900; }
.xp-ok { color: #17643a; } .xp-warn { color: #9a6400; } .xp-bad { color: #b3261e; }
.xp-verdict { margin-top: 16px; border-radius: 14px; padding: 16px 18px; font-weight: 700; background: var(--bg); }
.xp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.xp-card { background: #fff; border: 1px solid #e5e9f0; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.xp-card i.big { font-size: 40px; color: var(--b); } .xp-card h3 { font-size: 19px; font-weight: 800; margin: 12px 0 6px; }
.xp-card p { color: var(--mut); line-height: 1.55; flex: 1; } .xp-card .pr { font-size: 26px; font-weight: 900; color: var(--n); margin: 6px 0 10px; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; } .xp-chips span { background: var(--bg); border-radius: 20px; padding: 4px 10px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 640px) { .xp-tool { padding: 18px; } .xp-table { font-size: 14px; } .xl-hero .xl-ico { font-size: 80px; } }
.xp-table thead th.us { background: var(--b); color: #fff; }
.xp-table thead th.us { background: var(--b); color: #fff; }
