/* =====================================================================
   PANIX SOLUTIONS — design 2026 (composants)
   Les couleurs et tailles viennent de theme.css. Mobile d'abord.
   ===================================================================== */

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hauteur-entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1rem/1.65 var(--font-texte); color: var(--encre); background: var(--blanc); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-titre); color: var(--encre); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--bleu); text-underline-offset: .18em; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: .6rem 1rem; background: var(--nuit); color: #fff; border-radius: var(--rayon); }
.skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ boutons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7rem 1.3rem; border: 2px solid transparent; border-radius: var(--rayon-pill); font: 600 1rem/1.2 var(--font-texte); text-decoration: none; cursor: pointer; transition: background var(--anim), color var(--anim), border-color var(--anim), transform var(--anim), box-shadow var(--anim); }
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-cyan { background: var(--cyan); color: var(--nuit); box-shadow: 0 6px 20px rgb(56 198 244 / .28); }
.btn-primary:hover, .btn-cyan:hover { background: #63d4f8; color: var(--nuit); }
.btn-dark { background: var(--nuit); color: #fff; }
.btn-dark:hover { background: var(--nuit-2); color: #fff; }
.btn-ghost, .btn-outline { background: transparent; color: var(--encre); border-color: var(--ligne); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--encre); color: var(--encre); }
.btn-ghost-light, .btn-outline-white { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-ghost-light:hover, .btn-outline-white:hover { background: rgb(255 255 255 / .12); border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .93rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ en-tête */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--anim), box-shadow var(--anim); }
.site-header.is-scrolled { border-color: var(--ligne); box-shadow: 0 6px 24px rgb(7 22 43 / .06); }
.header-in { display: flex; align-items: center; gap: 1rem; height: var(--hauteur-entete); }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { display: block; width: auto; height: 38px; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: .6rem .8rem; border-radius: var(--rayon-pill); color: var(--encre); font-weight: 500; font-size: .96rem; text-decoration: none; }
.main-nav a:hover { background: var(--fond); color: var(--encre); }
.main-nav a[aria-current="page"] { color: var(--bleu); }
.main-nav a.nav-star { background: var(--nuit); color: #fff; }
.main-nav a.nav-star:hover { background: var(--nuit-2); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.call-btn .call-num { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ligne); border-radius: 50%; background: #fff; color: var(--encre); cursor: pointer; }
.nav-toggle .ico { width: 22px; height: 22px; }
.header-login { display: none; }

/* panneau de menu mobile */
.mobile-nav { position: fixed; inset: var(--hauteur-entete) 0 0; z-index: 95; padding: 1rem var(--gouttiere) calc(2rem + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--ligne); color: var(--encre); font: 600 1.15rem var(--font-titre); text-decoration: none; }
.mobile-nav .btn { width: 100%; margin-bottom: .7rem; }
body.nav-open { overflow: hidden; }

@media (min-width: 1040px) {
  .main-nav { display: block; }
  .header-actions { margin-left: .5rem; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .call-btn .call-num { display: inline; }
  .header-login { display: inline-flex; }
  .brand img { height: 44px; }
}
/* Menu à 6 entrées (téléphonie 3CX) : sur les écrans moyens, le bouton d'appel n'affiche que « Appeler » */
@media (min-width: 1040px) and (max-width: 1439px) {
  .call-btn .call-num { display: none; }
  .main-nav a { padding: .6rem .65rem; }
}
@media (min-width: 1040px) and (max-width: 1239px) {
  .header-in { gap: .6rem; }
  .header-login { padding-inline: .7rem; }
  .header-login .login-label { display: none; }
  .main-nav a { padding: .6rem .5rem; font-size: .93rem; }
}

/* ------------------------------------------------------------ sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--fond); }
.section-dark { background: var(--nuit); color: #d5e0ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 1rem; color: var(--bleu); font: 600 .8rem/1 var(--font-texte); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); }
.section-dark .eyebrow { color: var(--cyan-clair); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--gris); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9c7d8; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--gris); }

/* ------------------------------------------------------------ héros */
.hero { position: relative; overflow: hidden; background: var(--nuit); color: #c9d6e6; padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 9vw, 120px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 10%, rgb(56 198 244 / .22), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, rgb(11 92 173 / .35), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .eyebrow { color: var(--cyan-clair); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { max-width: 54ch; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #c9d6e6; }
.hero-offer { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin: .4rem 0 1.6rem; padding: .9rem 1.1rem; border: 1px solid rgb(56 198 244 / .35); border-radius: var(--rayon-lg); background: rgb(56 198 244 / .08); color: #e6f1fa; }
.hero-offer strong { color: #fff; font: 700 1.25rem var(--font-titre); }
.hero-offer span { font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5em; }
.hero-points .ico { color: var(--cyan); }
.hero-visual { position: relative; display: none; }
.hero-visual .mock { position: relative; border-radius: var(--rayon-lg); background: linear-gradient(160deg, #10294a, #0a1d36); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 40px 80px rgb(0 0 0 / .4); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-line { height: 12px; border-radius: 6px; background: rgb(255 255 255 / .1); }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w40 { width: 40%; }
.mock-hero { height: 120px; border-radius: 12px; background: linear-gradient(120deg, rgb(56 198 244 / .55), rgb(11 92 173 / .6)); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 70px; border-radius: 10px; background: rgb(255 255 255 / .07); }
.mock-phone { position: absolute; right: -18px; bottom: -26px; width: 132px; padding: 10px; border-radius: 24px; background: #0e2645; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 24px 50px rgb(0 0 0 / .5); display: grid; gap: 8px; }
.mock-phone .mock-hero { height: 70px; }
.mock-tag { position: absolute; left: -16px; top: 40%; display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: var(--rayon); background: #fff; color: var(--encre); font: 600 .9rem var(--font-titre); box-shadow: var(--ombre-lg); }
.mock-tag .ico { color: var(--succes); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { display: block; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ------------------------------------------------------------ cartes de services */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--ligne); border-radius: var(--rayon-lg); background: #fff; transition: border-color var(--anim), box-shadow var(--anim), transform var(--anim); }
.card:hover { border-color: #b8cde2; box-shadow: var(--ombre-lg); transform: translateY(-2px); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--gris); margin-bottom: 0; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 14px; background: linear-gradient(140deg, #e3f6fd, #d5e8fa); color: var(--bleu); font-size: 1.3rem; }
.card-icon .ico { width: 26px; height: 26px; }
.card-link { margin-top: auto; padding-top: 1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (min-width: 700px) { .cards-services .card-featured { grid-column: span 2; } }
@media (min-width: 1100px) { .cards-services { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) {
  .cards-services .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; padding: 1.2rem; }
  .cards-services .card-icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .cards-services .card > :not(.card-icon) { grid-column: 2; }
  .cards-services .card-badge { position: static; justify-self: start; margin-bottom: .5rem; }
}
.card-featured { background: var(--nuit); border-color: var(--nuit); color: #c9d6e6; }
.card-featured h3 { color: #fff; }
.card-featured p { color: #c9d6e6; }
.card-featured .card-icon { background: rgb(56 198 244 / .15); color: var(--cyan); }
.card-featured .card-link { color: var(--cyan-clair); }
.card-badge { position: absolute; top: 1.2rem; right: 1.2rem; padding: .25rem .7rem; border-radius: var(--rayon-pill); background: var(--cyan); color: var(--nuit); font-size: .78rem; font-weight: 700; }

/* ------------------------------------------------------------ bandeau maintenance */
.maint { display: grid; gap: 2rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); border-radius: var(--rayon-lg); background: linear-gradient(135deg, #eaf7fd, #f4f8fc 60%); border: 1px solid #d3e9f5; }
.maint ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.maint li { display: flex; gap: .6rem; align-items: flex-start; }
.maint li .ico { color: var(--bleu); margin-top: .25em; }
.maint-cta { display: flex; flex-direction: column; gap: .7rem; }
@media (min-width: 860px) { .maint { grid-template-columns: 1.3fr 1fr; } .maint-cta { align-items: flex-start; } }

/* ------------------------------------------------------------ pourquoi */
.why { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.why-item { display: flex; gap: 1rem; padding: 1.3rem; border-radius: var(--rayon-lg); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.why-item .card-icon { flex: none; margin: 0; width: 46px; height: 46px; background: rgb(56 198 244 / .14); color: var(--cyan); }
.why-item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.why-item p { margin: 0; color: #b9c7d8; font-size: .97rem; }

/* ------------------------------------------------------------ avis */
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { margin: 0; padding: 1.5rem; border-radius: var(--rayon-lg); background: #fff; border: 1px solid var(--ligne); }
.review .stars { display: flex; gap: 2px; color: #f5a524; margin-bottom: .7rem; }
.review .stars .ico { fill: currentColor; stroke: none; }
.review blockquote { margin: 0 0 1rem; color: var(--encre); }
.review figcaption { color: var(--gris); font-size: .92rem; }
.review figcaption strong { color: var(--encre); }
.rating-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: var(--rayon-pill); background: #fff; border: 1px solid var(--ligne); font-weight: 600; }

/* ------------------------------------------------------------ zone d'intervention */
.zone { display: grid; gap: 2rem; align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.towns li { padding: .5rem .95rem; border-radius: var(--rayon-pill); background: #fff; border: 1px solid var(--ligne); font-weight: 500; }
.towns li.main { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.zone-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--rayon-lg); background: radial-gradient(circle at 50% 50%, rgb(56 198 244 / .25) 0 18%, transparent 18.5%), radial-gradient(circle at 50% 50%, rgb(56 198 244 / .12) 0 38%, transparent 38.5%), radial-gradient(circle at 50% 50%, rgb(56 198 244 / .06) 0 60%, transparent 60.5%), var(--nuit); overflow: hidden; }
.zone-map span { position: absolute; transform: translate(-50%, -50%); padding: .25rem .6rem; border-radius: var(--rayon-pill); background: rgb(255 255 255 / .1); color: #dbe7f3; font-size: .82rem; white-space: nowrap; }
.zone-map span.main { background: var(--cyan); color: var(--nuit); font-weight: 700; }
@media (min-width: 860px) { .zone { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ blog */
.posts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post { position: relative; display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--rayon-lg); border: 1px solid var(--ligne); background: #fff; transition: box-shadow var(--anim), transform var(--anim); }
.post:hover { box-shadow: var(--ombre-lg); transform: translateY(-2px); }
.post time { color: var(--gris); font-size: .88rem; }
.post h3 { margin: .4rem 0 .5rem; font-size: 1.12rem; }
.post h3 a { color: var(--encre); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--gris); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------------ contact / formulaires */
.contact { display: grid; gap: 2rem; }
.contact-list { display: grid; gap: .8rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: .8rem; min-height: 44px; color: #e6eef7; text-decoration: none; font-weight: 500; }
.contact-list .ico { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgb(56 198 244 / .14); color: var(--cyan); }
.form-card { padding: clamp(1.3rem, 4vw, 2rem); border-radius: var(--rayon-lg); background: #fff; color: var(--encre); box-shadow: var(--ombre-lg); }
.form-card h3 { margin-bottom: 1rem; }
.form-card h2, .form-card h3, .section-dark .form-card h3 { color: var(--encre); }
.fgrid { display: grid; gap: .9rem; }
@media (min-width: 640px) { .fgrid.two { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .93rem; color: var(--encre); }
.field .opt { font-weight: 400; color: var(--gris); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid #c3d2e1; border-radius: var(--rayon); background: #fff; color: var(--encre); font: inherit; transition: border-color var(--anim), box-shadow var(--anim); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgb(56 198 244 / .3); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--gris); }
.check input { flex: none; width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--bleu); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--gris); margin: .2rem 0 0; }
.notice { padding: .9rem 1.1rem; border-radius: var(--rayon); margin-bottom: 1rem; font-weight: 500; }
.notice-ok { background: #e6f6ee; color: var(--succes); }
.notice-err { background: #fdecea; color: var(--erreur); }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; align-items: start; } }

/* fenêtre « Demander un devis » */
dialog.devis { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--rayon-lg); box-shadow: 0 30px 80px rgb(7 22 43 / .4); }
dialog.devis::backdrop { background: rgb(7 22 43 / .6); backdrop-filter: blur(3px); }
dialog.devis .form-card { box-shadow: none; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--fond); color: var(--encre); cursor: pointer; }

/* ------------------------------------------------------------ bande d'appel */
.cta-band { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); border-radius: var(--rayon-lg); background: linear-gradient(120deg, var(--nuit) 0%, #0c3260 100%); color: #c9d6e6; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; }
.cta-band .hero-actions { justify-content: flex-start; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ------------------------------------------------------------ pied de page */
.site-footer2 { background: var(--nuit); color: #aebdd0; padding: clamp(48px, 7vw, 80px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: .96rem; }
.footer-grid2 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-logo { display: inline-block; padding: 12px 16px; border-radius: var(--rayon); background: #fff; margin-bottom: 1rem; }
.footer-logo img { display: block; height: 40px; width: auto; }
.site-footer2 h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-texte); }
.site-footer2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.site-footer2 a { color: #d5e0ec; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; min-height: 36px; }
.site-footer2 a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: .5rem; margin-top: .8rem; }
.footer-social a { justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); }
.footer-bottom2 { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.footer-bottom2 p { margin: 0; }
.footer-bottom2 a { min-height: 0; }

/* barre d'actions fixe sur mobile */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem var(--gouttiere) calc(.6rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--ligne); backdrop-filter: blur(10px); }
.action-bar .btn { min-height: 48px; padding-inline: .6rem; font-size: .97rem; }
body.has-action-bar { padding-bottom: 76px; }
@media (min-width: 1040px) { .action-bar { display: none; } body.has-action-bar { padding-bottom: 0; } }

/* ------------------------------------------------------------ page « Votre site internet » */
.page-head { position: relative; overflow: hidden; background: var(--nuit); color: #c9d6e6; padding: clamp(44px, 8vw, 96px) 0 clamp(44px, 7vw, 80px); isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 90% 0%, rgb(56 198 244 / .2), transparent 70%); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .lead { color: #c9d6e6; max-width: 60ch; }
.plans { display: grid; gap: 1.2rem; align-items: stretch; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; max-width: 940px; margin-inline: auto; } }
@media (min-width: 1080px) { .plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1200px; } }
.plan-extra { margin-top: .2rem; padding-top: .7rem; border-top: 1px dashed var(--ligne); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 2.2rem); border-radius: var(--rayon-lg); border: 1px solid var(--ligne); background: #fff; }
.plan-featured { border: 2px solid var(--cyan); box-shadow: 0 24px 60px rgb(56 198 244 / .18); }
.plan .card-badge { top: -14px; right: auto; left: 1.5rem; }
.plan h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.plan-price { display: flex; align-items: baseline; gap: .35rem; margin: 1rem 0 .1rem; }
.plan-price strong { font: 700 clamp(2.6rem, 8vw, 3.4rem)/1 var(--font-titre); letter-spacing: -.03em; color: var(--encre); }
.plan-price span { color: var(--gris); font-weight: 500; }
.plan-ttc { color: var(--gris); font-size: .95rem; margin-bottom: 1.2rem; }
.plan-facts { display: grid; gap: .1rem; margin: 0 0 1.2rem; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.plan-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--ligne); font-size: .96rem; }
.plan-facts li span:first-child { color: var(--gris); }
.plan-facts li strong { text-align: right; }
.plan-incl { display: grid; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.plan-incl li { display: flex; gap: .6rem; }
.plan-incl .ico { color: var(--succes); margin-top: .2em; }
.plan .btn { margin-top: auto; }
.steps { display: grid; gap: 1rem; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding: 1.4rem; border-radius: var(--rayon-lg); background: #fff; border: 1px solid var(--ligne); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .9rem; border-radius: 50%; background: var(--nuit); color: var(--cyan); font: 700 1.1rem var(--font-titre); }
.steps h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.steps p { color: var(--gris); margin: 0; font-size: .96rem; }
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--ligne); border-radius: var(--rayon); background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .8rem 1.1rem; cursor: pointer; font: 600 1.04rem var(--font-titre); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fond); font-size: 1.2rem; transition: transform var(--anim); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.1rem 1.1rem; color: var(--gris); }
.faq .faq-a p:last-child { margin: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.table-scroll table { width: 100%; min-width: 520px; border-collapse: collapse; }
.table-scroll th, .table-scroll td { padding: .75rem 1rem; border-bottom: 1px solid var(--ligne); text-align: left; }
.table-scroll th { background: var(--fond); font-size: .9rem; }

/* pages de texte (mentions légales, confidentialité) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }

/* ------------------------------------------------------------ anciennes pages (support, blog, connexion…) */
/* On garde leur structure, on les recolore aux couleurs de la nouvelle charte. */
body.legacy { background: var(--fond); --primary: var(--bleu); --primary-dark: var(--bleu-fonce); --secondary: var(--cyan); --dark: var(--nuit); --dark-secondary: var(--nuit-2); --text: var(--encre); --text-light: var(--gris); --border: var(--ligne); --bg: var(--fond); }
body.legacy .page-hero { background: var(--nuit) !important; padding: clamp(40px, 7vw, 80px) 0; }
body.legacy .page-hero h1 { font-family: var(--font-titre); }
body.legacy .container { padding-inline: var(--gouttiere); }
body.legacy .form-control { min-height: 48px; border-radius: var(--rayon); }
body.legacy .card, body.legacy .contact-info-card, body.legacy .support-option-card, body.legacy .blog-card, body.legacy .kb-category-card { border-radius: var(--rayon-lg); }

/* ------------------------------------------------------------ apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ souscription */
.sub-steps { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.sub-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem; border-radius: var(--rayon-pill); background: rgb(255 255 255 / .06); color: #b9c7d8; font-size: .92rem; }
.sub-steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .1); font-weight: 700; }
.sub-steps li.is-current { background: var(--cyan); color: var(--nuit); font-weight: 600; }
.sub-steps li.is-current::before { background: var(--nuit); color: var(--cyan); }
.sub-steps li.is-done::before { content: "✓"; background: var(--succes); color: #fff; }
.plan-pick { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; }
.plan-pick legend { margin-bottom: .4rem; font-weight: 600; font-size: .93rem; }
.plan-pick label { display: flex; gap: .7rem; align-items: center; min-height: 52px; padding: .6rem .9rem; border: 1px solid #c3d2e1; border-radius: var(--rayon); cursor: pointer; }
.plan-pick label:has(input:checked) { border-color: var(--bleu); background: #eef6fd; box-shadow: 0 0 0 2px rgb(56 198 244 / .35); }
.plan-pick input { width: 20px; height: 20px; accent-color: var(--bleu); flex: none; }
.siret-row { display: flex; gap: .5rem; }
.siret-row input { flex: 1; min-width: 0; letter-spacing: .04em; }
.contract-box { max-height: 60vh; overflow-y: auto; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond); font-size: .95rem; }
.contract-box h2 { font-size: 1.25rem; }
.contract-box h3 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; color: var(--bleu); }
.contract-box table { background: #fff; }
.contract-box .table-scroll table { min-width: 0; }
.contract-box ul { padding-left: 1.2rem; }
.pay-recap { display: grid; margin: .4rem 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.pay-recap li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
.pay-recap li:last-child { font-size: 1.05rem; }
.pay-recap li span { color: var(--gris); }

.cf-box { min-height: 65px; }
/* ------------------------------------------------------------ téléphonie 3CX (/telephonie-3cx et accueil) */
.tel-head-grid { display: grid; gap: 2rem; align-items: center; }
.tel-head h1 { max-width: 18ch; }
.tel-badge { justify-self: center; }
.tel-head .tel-badge { order: -1; }
.tel-badge img { display: block; width: 140px; height: auto; filter: drop-shadow(0 0 1px rgb(255 255 255 / .55)) drop-shadow(0 18px 40px rgb(0 0 0 / .45)); }
@media (min-width: 960px) { .tel-head-grid { grid-template-columns: 1fr auto; gap: 4rem; } .tel-head .tel-badge { order: 0; } .tel-badge img { width: 260px; } }
.tel-list { display: grid; gap: .45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tel-list li { display: flex; gap: .55em; align-items: flex-start; }
.tel-list .ico { flex: none; margin-top: .3em; color: var(--bleu); }
.tel-intro { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .tel-intro { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
.tel-shot { margin: 0; border-radius: var(--rayon-lg); overflow: hidden; border: 1px solid var(--ligne); background: #1f2329; box-shadow: var(--ombre-lg); }
.tel-shot img { display: block; width: 100%; height: auto; }
.tel-shot-plain { border: 0; background: none; box-shadow: none; border-radius: 0; }
.tel-rows { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.tel-row { display: grid; gap: 1.4rem; align-items: center; }
.tel-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.tel-row p { color: var(--gris); margin: 0; }
@media (min-width: 860px) {
  .tel-row { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .tel-row:nth-child(even) .tel-shot { order: 2; }
}
@media (min-width: 700px) { .tel-why { grid-template-columns: repeat(2, 1fr); } }
.tel-tm { text-align: center; margin-top: 1.2rem; font-size: .8rem; }
.tel-promo { display: grid; gap: 1.6rem; align-items: center; padding: clamp(1.6rem, 5vw, 2.8rem); border-radius: var(--rayon-lg); background: linear-gradient(120deg, var(--nuit) 0%, #0c3260 100%); color: #c9d6e6; }
.tel-promo h2 { color: #fff; margin-bottom: .4rem; }
.tel-promo .eyebrow { color: var(--cyan-clair); }
.tel-promo p { margin: 0; }
.tel-promo .tel-badge img { width: 150px; }
.tel-promo .tel-list .ico { color: var(--cyan); }
@media (min-width: 860px) { .tel-promo { grid-template-columns: auto 1fr auto; gap: 2.4rem; } .tel-promo .tel-badge img { width: 170px; } }
