/* Pages intérieures : bandeau + blocs (style A « Lumière ») */

/* ---------- bandeau ---------- */
.page-hero {
  position: relative;
  margin-top: calc(-1 * (var(--nav-h) + 10px));
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(122, 162, 255, .35), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(242, 107, 29, .16), transparent 70%),
    linear-gradient(135deg, #e6ecf8 0%, #d5dff3 60%, #e9dcd6 100%);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}
.page-hero::after { /* grille de points discrète */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(27, 47, 110, .09) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.ph-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; min-height: 360px; }
.ph-copy { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.ph-logo { border-radius: 18px; box-shadow: 0 12px 30px -12px rgba(15, 27, 61, .4); margin-bottom: 18px; }
.page-hero .kicker { display: inline-block; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); margin-bottom: 4px; }
.ph-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.04; color: var(--navy); margin: 14px 0 16px; }
.ph-lead { font-size: 18.5px; color: #33406a; font-weight: 500; }
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ph-visual { position: relative; display: flex; justify-content: center; animation: ph-in 1s var(--ease-out) both .1s; }
@keyframes ph-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.ph-shot img { width: 100%; max-width: 620px; border-radius: 22px; border: 8px solid rgba(255, 255, 255, .7); box-shadow: 0 40px 80px -30px rgba(15, 27, 61, .5); background: #fff; }
.ph-product img { max-height: 420px; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(15, 27, 61, .3)); }
.ph-icon span { width: 220px; height: 220px; border-radius: 56px; display: grid; place-items: center; font-size: 96px; color: var(--navy); }

/* galerie produit du bandeau */
.ph-product { flex-direction: column; align-items: stretch; min-width: 0; }
.js-pgal { width: 100%; max-width: 520px; margin: 0 auto; }
.js-pgal .swiper-slide { display: grid; place-items: center; aspect-ratio: 1.15; }
.js-pgal .swiper-slide img { max-height: 100%; max-width: 92%; }
.js-pgal-thumbs { width: 100%; max-width: 520px; margin: 18px auto 0; }
.js-pgal-thumbs .swiper-slide { width: 76px; }
.js-pgal-thumbs button { width: 76px; height: 76px; border-radius: 18px; padding: 8px; cursor: pointer; opacity: .6; transition: opacity .25s, transform .3s var(--ease-spring); }
.js-pgal-thumbs button img { max-width: 100%; max-height: 100%; object-fit: contain; filter: none; }
.js-pgal-thumbs .swiper-slide-thumb-active button { opacity: 1; outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- éléments communs ---------- */
main > .section { padding: clamp(44px, 5.5vw, 80px) 0; }
main > .page-hero + .section { padding-top: clamp(48px, 6vw, 88px); }
main > .section.block-cta { padding-top: 0; }
.block-head { max-width: 820px; margin-bottom: 36px; }
.block-head.text-center { margin-left: auto; margin-right: auto; }
.kicker-sm { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.section.tint { background: linear-gradient(180deg, rgba(214, 223, 242, .45), rgba(214, 223, 242, 0)); }

.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(242, 107, 29, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23f26b1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.two-cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }

.media-frame { margin: 0; border-radius: 24px; overflow: hidden; }
.media-frame.shot { background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15, 27, 61, .45); }
.media-frame.shot img { border-radius: 16px; width: 100%; display: block; }
.media-frame.product { display: grid; place-items: center; }
.media-frame.product img { max-height: 420px; filter: drop-shadow(0 30px 30px rgba(15, 27, 61, .28)); }
.media-frame.plain img { width: 100%; }
.media-frame a { display: block; cursor: zoom-in; }

/* ---------- modules ---------- */
.modules-grid { columns: 3 320px; column-gap: 20px; }
.module-card { break-inside: avoid; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.module-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15, 27, 61, .4); }
.module-icon { width: 52px; height: 52px; font-size: 22px; color: var(--orange); margin-bottom: 14px; }
.module-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.module-card p { font-size: 15px; }

/* ---------- galerie ---------- */
.js-gallery { padding-bottom: 46px; }
.js-gallery .swiper-slide { width: min(640px, 86vw); }
.gal-item { position: relative; display: block; border-radius: 22px; overflow: hidden; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: 0 30px 50px -32px rgba(15, 27, 61, .5); cursor: zoom-in; }
.gal-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 14px; background: #f3f5fa; transition: transform .7s var(--ease-out); }
.gal-item:hover img { transform: scale(1.03); }
.gal-zoom { position: absolute; right: 22px; bottom: 22px; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .35s var(--ease-spring); }
.gal-item:hover .gal-zoom, .gal-item:focus-visible .gal-zoom { opacity: 1; transform: none; }
.gal-cap { font-size: 14px; margin: 12px 6px 0; }
.gal-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--navy); opacity: .25; border-radius: 8px; transition: width .35s var(--ease-out); }
.gal-pagination .swiper-pagination-bullet-active { width: 28px; opacity: 1; background: var(--orange); }

/* ---------- socle technique ---------- */
.tech-panel { border-radius: 32px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(80% 120% at 100% 0%, #3a5bd0, transparent 60%), var(--navy); color: #dfe6ff; }
.tech-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; }
.tech-panel .check-list li { color: #dfe6ff; }
.tech-panel .check-list li::before { background-color: rgba(255, 255, 255, .14); }
.tech-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tech-logos span { --glass-bg: rgba(255, 255, 255, .92); border-radius: 20px; height: 96px; display: grid; place-items: center; padding: 14px; }
.tech-logos img { max-height: 62px; width: auto; }

/* ---------- liste à icônes ---------- */
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.feature-list.cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature-list li { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; font-weight: 500; transition: transform .3s var(--ease-out), border-color .3s; }
.feature-list li:hover { transform: translateX(4px); border-color: rgba(242, 107, 29, .35); }
.fl-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-size: 18px; }

/* ---------- appel à l'action ---------- */
.cta-card { display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: 28px; text-decoration: none; background: linear-gradient(135deg, #fff, #eef2fb); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(15, 27, 61, .45); transition: transform .4s var(--ease-out), box-shadow .4s; }
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -30px rgba(15, 27, 61, .55); }
.cta-card img { border-radius: 20px; flex: 0 0 auto; }
.cta-card > div { flex: 1; }
.cta-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); margin: 0; }
.cta-text { margin: 4px 0 0; }
.block-cta { padding-top: 0; }

/* ---------- cartes solutions ---------- */
.solcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solcard { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease-out), box-shadow .45s; }
.solcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.solcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 70%, transparent); }
.solcard-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.solcard-top img { border-radius: 16px; }
.solcard h3 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0; }
.solcard p { font-size: 15.5px; }
.solcard .sol-more { margin-top: auto; padding-top: 18px; text-decoration: none; }

/* ---------- points forts ---------- */
.hl-panel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; border-radius: 32px; padding: clamp(28px, 4vw, 52px); background: linear-gradient(135deg, #fff3ea, #ffe2cf); }
.hl-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hl-item { border-radius: 24px; padding: 24px; --glass-bg: rgba(255, 255, 255, .7); }
.hl-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 20px; margin-bottom: 12px; }
.hl-big { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.hl-item p { margin: 0; font-weight: 700; color: var(--navy); font-size: 15px; letter-spacing: .02em; }

/* ---------- fiche technique ---------- */
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.spec-card h2 { font-size: 20px; font-weight: 800; color: var(--navy); }

/* ---------- vignettes produits ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prod-sub { font-size: 14px; margin: 4px 0 0; }
.prod-card.is-hidden { display: none; }

/* ---------- rangées alternées ---------- */
.frow { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.frow:last-child { border-bottom: 0; }
.frow.reverse .frow-copy { order: 2; }
.frow-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.frow-icon { width: 100%; aspect-ratio: 16 / 10; border-radius: 28px; display: grid; place-items: center; font-size: 96px; color: var(--navy); --glass-bg: rgba(255, 255, 255, .55); }
.js-mini { border-radius: 24px; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15, 27, 61, .45); padding-bottom: 34px; }
.js-mini img { width: 100%; border-radius: 16px; display: block; }
.js-mini a { cursor: zoom-in; display: block; }
.js-mini .swiper-pagination { bottom: 10px; }
.js-mini .swiper-pagination-bullet-active { background: var(--orange); }

/* ---------- onglets ---------- */
.tabs-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.tabs-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 24px; position: sticky; top: 100px; }
.tab-btn { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; text-align: left; padding: 12px 14px; min-height: 48px; border-radius: 16px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.tab-btn .bi { font-size: 18px; }
.tab-btn:hover { background: rgba(255, 255, 255, .6); color: var(--text); }
.tab-btn.active { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(27, 47, 110, .7); }
.tab-panel-inner { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.tab-panel-inner h3 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.list-title { font-weight: 700; color: var(--navy) !important; margin: 18px 0 0; }

/* ---------- pastilles ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 10px 18px; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.chips li .bi { color: var(--orange); }

/* ---------- partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partners .logo-tile { width: 180px; height: 100px; }
.partners .logo-tile img { filter: none; opacity: 1; max-height: 64px; }

/* ---------- catalogue ---------- */
.filters { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; margin-bottom: 30px; }
.filter-btn { border: 0; background: transparent; border-radius: 999px; padding: 0 20px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.filter-btn.on { background: var(--navy); color: #fff; }
.js-catalog .prod-card { animation: pop .45s var(--ease-spring) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- contact ---------- */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(15, 27, 61, .4); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea { width: 100%; border: 1.5px solid #d3dbec; border-radius: 16px; padding: 13px 16px; font: inherit; font-size: 16px; background: #f8faff; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; box-shadow: 0 0 0 4px rgba(42, 75, 181, .14); }
.field.has-error input, .field.has-error textarea { border-color: #c62828; }
.field-err { color: #c62828; font-size: 14px; margin: 6px 0 0; }
.field-help { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.field-captcha { padding: 16px 18px; border-radius: 18px; background: #f3f6fd; border: 1px dashed #c4cfe8; }
.field-captcha input { max-width: 120px; background: #fff; }
.hp { position: absolute; left: -9999px; }
.form-ok, .form-ko { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 16px; font-weight: 600; margin-bottom: 20px; }
.form-ok { background: #e6f6ec; color: #1d6b3a; }
.form-ko { background: #fdecec; color: #a12121; }
.coords { display: grid; gap: 14px; }
.coord { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; text-decoration: none; --glass-bg: rgba(255, 255, 255, .75); }
.coord strong { display: block; font-size: 13px; letter-spacing: .08em; color: var(--muted); }

/* ---------- agrandissement des images ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 15, 40, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] { animation: lb-in .4s var(--ease-spring); }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 18px; display: block; background: #fff; }
.lightbox .lb-cap { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox .lb-close { position: absolute; top: -18px; right: -18px; color: var(--navy); }

/* ---------- identité Acovit Santé (logo gris, accent bleu) ---------- */
.page-sante { --orange: #1b87c9; --orange-2: #3fb0ea; }
.page-sante .glass-nav { --glass-bg: rgba(14, 38, 72, .66); --glass-bg-strong: rgba(14, 38, 72, .86); --glass-border: rgba(255, 255, 255, .16); --glass-hi: rgba(255, 255, 255, .22); }
.page-sante .nav-item-g > a { color: #e8eefc; }
.page-sante .nav-item-g.is-active > a { color: #6cc6f2; }
.page-sante .nav-item-g:hover > a, .page-sante .nav-item-g:focus-within > a { background: rgba(255, 255, 255, .12); }
.page-sante .glass-panel { color: var(--text); }
.page-sante .lang-switch { --glass-bg: rgba(255, 255, 255, .12); --glass-border: rgba(255, 255, 255, .2); }
.page-sante .lang-switch a { color: #c9d6f0; }
.page-sante .lang-switch a.on { background: var(--orange); color: #fff; }
.page-sante .page-hero { background: radial-gradient(60% 80% at 85% 30%, rgba(63, 176, 234, .38), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(27, 135, 201, .2), transparent 70%), linear-gradient(135deg, #e3eef8 0%, #cfe1f2 60%, #d9e8f0 100%); }
.page-sante .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%231b87c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-color: rgba(27, 135, 201, .14); }
.page-sante .btn-primary-g { box-shadow: 0 12px 30px -10px rgba(27, 135, 201, .6); }

/* ---------- illustrations SVG hors slider (services, AcoXibo, contact) ---------- */
.ph-art { justify-content: center; }
.ph-art .art, .frow-art .art { width: 100%; max-width: 600px; height: auto; display: block; overflow: visible; }
.frow-art { border-radius: 28px; padding: 18px; background: linear-gradient(135deg, #eef2fb, #fdf1ea); }
.art-wrap .art .enter { animation: art-in .9s var(--ease-spring) both; animation-delay: var(--d, 0s); }
.art-wrap .art .bob { animation: art-in .9s var(--ease-spring) both, art-bob 6s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + 1s); }
.art-wrap .art .bob.b2 { animation-duration: .9s, 7s !important; }
.art-wrap .art .bob.b3 { animation-duration: .9s, 6.5s !important; }
.art-wrap .art .bob.b4 { animation-duration: .9s, 7.5s !important; }
@keyframes art-in { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }

/* affiches qui se succèdent sur les écrans */
.art .poster, .art .poster3 { opacity: 0; transform-box: fill-box; transform-origin: center; }
.art .poster { animation: poster4 12s infinite; animation-delay: var(--d); }
.art .poster3 { animation: poster3 9s infinite; animation-delay: var(--d); }
.art .poster.first, .art .poster3.first { opacity: 1; }
@keyframes poster4 { 0% { opacity: 0; transform: scale(1.06); } 3%, 24% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: none; } }
@keyframes poster3 { 0% { opacity: 0; transform: scale(1.06); } 4%, 31% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: none; } }
.art .ticker { animation: ticker 14s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- carte ---------- */
.map-card { border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15, 27, 61, .45); }
.map-frame { position: relative; aspect-ratio: 16 / 7; min-height: 340px; background: #e8edf7; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 49.5%, transparent 49.5%) 0 0 / 100% 100%,
    linear-gradient(20deg, transparent 58%, #fff 58%, #fff 60%, transparent 60%) 0 0 / 100% 100%,
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, .7) 58px 62px),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, .7) 74px 78px),
    radial-gradient(60% 80% at 0% 0%, #bcd3ff, transparent 70%), #e6ebf5; }
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); font-size: 64px; color: var(--orange); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .25)); animation: art-bob 4s ease-in-out infinite; }
.map-consent { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(620px, calc(100% - 32px)); border-radius: 24px; padding: 18px 20px; --glass-bg: rgba(255, 255, 255, .82); }
.map-consent p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-actions .btn-g { min-height: 46px; padding: 0 20px; }
.map-frame.is-loaded .map-placeholder, .map-frame.is-loaded .map-consent { display: none; }

/* ---------- puzzle anti-spam ---------- */
.field-captcha { border: 1px dashed #c4cfe8; border-radius: 20px; padding: 16px 18px; background: #f3f6fd; }
.field-captcha legend { float: none; width: auto; font-size: 15px; font-weight: 600; color: var(--navy); margin: 0 0 12px; padding: 0; }
.field-captcha legend strong { color: var(--orange); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; }
.cap-tile { position: relative; cursor: pointer; }
.cap-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cap-face { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: #fff; border: 2px solid #dbe2f1; font-size: 30px; transition: transform .3s var(--ease-spring), border-color .2s, background .2s, box-shadow .2s; }
.cap-face .bi { transform: rotate(var(--r)); }
.cap-tile[data-hue="0"] .cap-face { color: #2a4bb5; }
.cap-tile[data-hue="1"] .cap-face { color: #e85a10; }
.cap-tile[data-hue="2"] .cap-face { color: #1b9e77; }
.cap-tile[data-hue="3"] .cap-face { color: #8a5cc8; }
.cap-tile[data-hue="4"] .cap-face { color: #c41f3a; }
.cap-tile[data-hue="5"] .cap-face { color: #1b2f6e; }
.cap-tile:hover .cap-face { transform: translateY(-2px); border-color: #b5c3e3; }
.cap-tile input:checked + .cap-face { background: rgba(242, 107, 29, .1); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 107, 29, .18); transform: scale(.96); }
.cap-tile input:checked + .cap-face::after { content: "\F26E"; font-family: bootstrap-icons; position: absolute; top: 6px; right: 8px; font-size: 16px; color: var(--orange); }
.cap-tile input:focus-visible + .cap-face { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.field-captcha.has-error { border-color: #c62828; background: #fdf1f1; }

/* les sliders dans une grille ne doivent pas l'élargir */
.ph-inner > *, .frow > *, .tabs-wrap > *, .hl-panel > * { min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .ph-inner, .frow, .hl-panel, .tabs-wrap { grid-template-columns: 1fr; }
  .frow.reverse .frow-copy { order: 0; }
  .specs-grid, .solcards { grid-template-columns: 1fr; }
  .tabs-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .tab-btn { flex: 0 0 auto; }
  .page-hero { padding-bottom: 48px; }
}
@media (max-width: 575.98px) {
  .map-frame { aspect-ratio: auto; min-height: 460px; }
  .check-list.two-cols, .hl-items { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .lightbox .lb-close { right: 4px; top: 4px; }
}
