/* ACOVIT 2027 : socle commun (tokens, verre, menu, sections) */
:root {
  --navy: #1b2f6e;
  --navy-2: #2a4bb5;
  --orange: #f26b1d;
  --orange-2: #ff8a3d;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f1b3d;
  --muted: #4a5578;
  --line: rgba(15, 27, 61, .1);

  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .78);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-hi: rgba(255, 255, 255, .85);
  --glass-shadow: 0 10px 40px -12px rgba(15, 27, 61, .28);
  --glass-blur: 22px;

  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-head); letter-spacing: -.02em; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Fond ambiant ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 28s var(--ease-out) infinite alternate; }
.ambient span:nth-child(1) { background: #cddbff; left: -15vmax; top: -20vmax; }
.ambient span:nth-child(2) { background: #ffe0cc; right: -20vmax; top: 30vh; animation-delay: -8s; }
.ambient span:nth-child(3) { background: #d9f1ff; left: 20vw; bottom: -30vmax; animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

/* ---------- Matériau verre (Liquid Glass) ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 rgba(255, 255, 255, .15), var(--glass-shadow);
  isolation: isolate;
}
/* reflet spéculaire qui suit le pointeur */
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 60%);
  opacity: .55;
  mix-blend-mode: soft-light;
  transition: opacity .3s;
  z-index: -1;
}
.glass-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 16px -6px rgba(15, 27, 61, .25);
  color: var(--text);
  text-decoration: none;
  transition: transform .25s var(--ease-spring), background .25s;
}
.glass-chip:hover { transform: translateY(-2px) scale(1.04); background: var(--glass-bg-strong); }
.glass-chip:active { transform: scale(.96); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-chip { background: var(--glass-bg-strong); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-chip { background: var(--surface) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* ---------- Topbar ---------- */
.topbar { font-size: 14px; color: var(--muted); padding: 6px 0; position: relative; z-index: 1031; }
.topbar .social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; transition: background .2s, color .2s; }
.topbar .social a:hover { background: var(--glass-bg); color: var(--orange); }
.topbar-phone { text-decoration: none; font-weight: 500; }
.topbar-phone:hover { color: var(--orange); }

/* ---------- En-tête / navigation ---------- */
.site-header { position: sticky; top: 10px; z-index: 1030; padding: 0 12px; transition: top .4s var(--ease-out); }
.glass-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h);
  padding: 0 10px 0 22px;
  border-radius: 999px;
  max-width: 1240px;
  transition: height .45s var(--ease-out), max-width .45s var(--ease-out), background .3s, box-shadow .3s;
}
.site-header.is-scrolled .glass-nav { height: 58px; max-width: 1120px; background: var(--glass-bg-strong); }
.brand img { height: 36px; width: auto; display: block; transition: height .4s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 30px; }

.nav-main { gap: 2px; }
.nav-item-g { position: relative; }
.nav-item-g > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; min-height: 44px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-item-g > a .bi { font-size: 11px; transition: transform .35s var(--ease-spring); }
.nav-item-g:hover > a, .nav-item-g:focus-within > a { background: rgba(255, 255, 255, .6); }
.nav-item-g.is-active > a { color: var(--orange); }
.nav-item-g:hover > a .bi, .nav-item-g:focus-within > a .bi { transform: rotate(180deg); }

.glass-panel {
  --glass-bg: rgba(255, 255, 255, .72);
  position: absolute; top: calc(100% + 12px); left: 50%;
  border-radius: 22px;
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px) scale(.96);
  transform-origin: top center;
  transition: opacity .22s ease, transform .35s var(--ease-spring), visibility 0s .35s;
}
.glass-panel::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* pont de survol */
.nav-item-g:hover > .glass-panel, .nav-item-g:focus-within > .glass-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity .2s ease, transform .45s var(--ease-spring), visibility 0s;
}
.dropdown-g { min-width: 240px; display: flex; flex-direction: column; }
.dropdown-g a, .mega-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; min-height: 44px;
  border-radius: 14px; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s, transform .25s var(--ease-out);
}
.dropdown-g a:hover, .mega-link:hover, .dropdown-g a:focus-visible, .mega-link:focus-visible { background: rgba(255, 255, 255, .75); transform: translateX(3px); }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 520px; padding: 14px; }
.mega-link.is-current, .dropdown-g a.is-current { background: rgba(242, 107, 29, .1); color: var(--orange); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 14px 4px; font-size: 13px; font-weight: 700; color: var(--orange); text-decoration: none; }
.mega-all:hover { gap: 10px; }
.mega-title { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin: 6px 14px 6px; }
.mega-link img { border-radius: 9px; }
.mega-dot { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-size: 14px; }

.lang-switch { padding: 4px; gap: 2px; min-height: 40px; }
.lang-switch a { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang-switch a.on { background: var(--navy); color: #fff; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 24px; display: grid; place-items: center; }

.offcanvas.glass-offcanvas { position: fixed; }
.glass-offcanvas { --glass-bg: rgba(255, 255, 255, .8); border-radius: 28px 0 0 28px; border-right: 0; }
.glass-offcanvas .offcanvas-body { display: flex; flex-direction: column; }
.m-link { font-family: var(--font-head); font-weight: 700; font-size: 18px; padding: 12px 6px; text-decoration: none; border-bottom: 1px solid var(--line); }
.m-group { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin: 12px 6px 2px; }
.m-sub { padding: 9px 16px; text-decoration: none; color: var(--muted); font-weight: 500; }

/* ---------- Boutons ---------- */
.btn-g {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .3s var(--ease-spring), box-shadow .3s, background .3s;
}
.btn-g:active { transform: scale(.97); }
.btn-primary-g { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 12px 30px -10px rgba(242, 107, 29, .65); }
.btn-primary-g:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(242, 107, 29, .75); }
.btn-glass { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .75); color: var(--navy); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255, 255, 255, .8); transform: translateY(-2px); color: var(--navy); }

/* ---------- Contrôles du slider principal ---------- */
.hero-controls { display: inline-flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; }
.hc-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; font-size: 18px; transition: background .2s; }
.hc-btn:hover { background: rgba(255, 255, 255, .55); }
.hc-steps { display: flex; gap: 4px; padding: 0 6px; }
.hc-steps button { border: 0; background: none; padding: 20px 3px; cursor: pointer; }
.bar { display: block; width: 34px; height: 4px; border-radius: 4px; background: rgba(15, 27, 61, .18); overflow: hidden; transition: width .4s var(--ease-out); }
.fill { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; }
.is-current .bar { width: 56px; }
.is-current .fill { animation: fill var(--dur, 6s) linear forwards; }
.is-done .fill { width: 100%; }
.is-paused .is-current .fill { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* animation d'entrée du texte des slides */
.swiper-slide [data-anim] { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.swiper-slide-active [data-anim] { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s; }
.swiper-slide-active [data-anim]:nth-child(2) { transition-delay: .12s; }
.swiper-slide-active [data-anim]:nth-child(3) { transition-delay: .24s; }
.swiper-slide-active [data-anim]:nth-child(4) { transition-delay: .36s; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 20px; text-transform: none; }
.section-title::first-letter { text-transform: uppercase; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.lead-g { font-size: 18.5px; color: var(--text); font-weight: 500; }
.section p { color: var(--muted); }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrows .glass-chip { border: 1px solid var(--line); cursor: pointer; }

/* à propos */
.about-visual { position: relative; padding: 24px; }
.about-visual > img { display: block; margin: 0 auto; max-height: 440px; filter: drop-shadow(0 40px 40px rgba(15, 27, 61, .25)); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -40px; position: relative; }
.counter { border-radius: 20px; padding: 18px 10px; text-align: center; }
.counter .num { display: block; font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.counter .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }

/* références : défilement continu */
.marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 150px; height: 84px; flex: 0 0 auto; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
.logo-tile img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sol-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s; }
.sol-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--accent) 70%, transparent); }
.sol-shot { aspect-ratio: 4 / 3; overflow: hidden; background: color-mix(in srgb, var(--accent) 14%, #fff); display: grid; place-items: center; padding: 16px; }
.sol-shot img { max-height: 100%; object-fit: contain; border-radius: 10px; transition: transform .7s var(--ease-out); }
.sol-card:hover .sol-shot img { transform: scale(1.06); }
.sol-body { padding: 0 22px 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.sol-logo { margin-top: -28px; border-radius: 14px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
.sol-body h3 { font-size: 20px; font-weight: 800; margin: 14px 0 8px; }
.sol-body p { font-size: 15px; flex: 1; }
.sol-more { font-weight: 700; font-size: 14px; color: var(--accent); }
.sol-more .bi { transition: transform .3s var(--ease-spring); display: inline-block; }
.sol-card:hover .sol-more .bi { transform: translateX(5px); }

/* produits */
.products .swiper { padding: 20px 0 40px; }
.js-products .swiper-slide { width: 270px; }
.js-products:not([data-effect="coverflow"]) { padding-left: max(16px, calc((100vw - 1296px) / 2 + 12px)); }
.prod-card { display: block; text-decoration: none; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 22px 18px 20px; transition: transform .45s var(--ease-out), box-shadow .45s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(15, 27, 61, .4); }
.prod-img { aspect-ratio: 1; display: grid; place-items: center; }
.prod-img img { max-height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.prod-card:hover .prod-img img { transform: scale(1.06) rotate(-1.5deg); }
.prod-card h3 { font-size: 16px; font-weight: 800; letter-spacing: .08em; margin: 14px 0 0; }

/* actualités */
.news .swiper { padding-bottom: 54px; }
.news-card { height: 100%; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf5; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 22px 24px 26px; }
.news-body h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 10px; }
.news-body p { font-size: 15px; margin: 0; }
.news .swiper-slide { height: auto; }
.news-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--navy); opacity: .25; transition: width .35s var(--ease-out), opacity .3s; border-radius: 8px; }
.news-pagination .swiper-pagination-bullet-active { width: 28px; opacity: 1; background: var(--orange); }

/* pourquoi */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 26px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(15, 27, 61, .35); }
.why-icon { width: 52px; height: 52px; font-size: 22px; color: var(--orange); margin-bottom: 14px; }
.why-card h3 { font-size: 15px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.why-card p { font-size: 15px; margin: 0; }

/* pied de page */
.site-footer { background: #0b1638; color: #c9d2ee; padding: 72px 0 28px; margin-top: 40px; border-radius: 36px 36px 0 0; }
.footer-text { max-width: 420px; color: #aeb9dd; }
.footer-h { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .04em; margin-bottom: 16px; }
.footer-list li { margin-bottom: 10px; display: flex; gap: 10px; }
.footer-list a { color: #fff; }
.site-footer .glass-chip { --glass-bg: rgba(255, 255, 255, .08); --glass-border: rgba(255, 255, 255, .16); --glass-hi: rgba(255, 255, 255, .2); color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin: 48px 0 0; padding-top: 22px; font-size: 14px; color: #8b97c2; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1020; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease-spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* effets saisonniers (assets/js/fetes.js) */
.fete-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1040; }
.fete-toast {
  position: fixed; z-index: 1045; left: 50%; bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  width: min(560px, calc(100% - 32px)); padding: 12px 12px 12px 14px;
  border-radius: 24px; --glass-bg: rgba(255, 255, 255, .72);
  opacity: 0; transform: translate(-50%, 30px) scale(.96);
  transition: opacity .4s ease, transform .6s var(--ease-spring);
}
.fete-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.fete-ico { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.fete-nouvel-an .fete-ico { background: linear-gradient(135deg, #ffc56b, var(--orange)); }
.fete-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.fete-txt strong { font-family: var(--font-head); font-size: 17px; color: var(--navy); }
.fete-txt span { font-size: 14px; color: var(--muted); }
.fete-act { border: 0; border-radius: 999px; padding: 0 14px; min-height: 40px; font-size: 13px; font-weight: 700; color: var(--navy); background: rgba(27, 47, 110, .08); white-space: nowrap; }
.fete-act:hover { background: rgba(27, 47, 110, .15); }
.fete-close { flex: 0 0 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.fete-close:hover { background: rgba(27, 47, 110, .08); }
.theme-b .fete-toast { --glass-bg: rgba(14, 24, 60, .8); }
.theme-b .fete-txt strong, .theme-b .fete-act { color: #fff; }
@media (min-width: 992px) {
  .fete-toast { left: 24px; width: 490px; transform: translateY(30px) scale(.96); }
  .fete-toast.show { transform: none; }
}
@media (max-width: 575.98px) { .fete-act { display: none; } }

/* ---------- cookies (assets/js/cookies.js) ---------- */
.cookie-banner {
  position: fixed; z-index: 1050; left: 50%; bottom: 20px;
  width: min(980px, calc(100% - 24px));
  display: flex; align-items: center; gap: 20px; padding: 18px 18px 18px 20px;
  border-radius: 28px; --glass-bg: rgba(255, 255, 255, .82);
  opacity: 0; transform: translate(-50%, 40px);
  transition: opacity .4s ease, transform .6s var(--ease-spring);
}
.cookie-banner.show { opacity: 1; transform: translate(-50%, 0); }
.cb-main { display: flex; gap: 14px; flex: 1; min-width: 0; }
.cb-ico { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.cb-txt strong { font-family: var(--font-head); color: var(--navy); font-size: 16.5px; }
.cb-txt p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cb-txt a { color: var(--navy-2); font-weight: 600; }
.cb-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cb-actions .btn-g, .cp-actions .btn-g { min-height: 46px; padding: 0 18px; font-size: 13.5px; }
.cookie-banner .btn-glass, .cookie-prefs .btn-glass { border-color: var(--line); background: rgba(255, 255, 255, .7); }

.cookie-prefs { border: 0; padding: 0; border-radius: 28px; width: min(620px, calc(100% - 24px)); max-height: 90vh; background: #fff; color: var(--text); box-shadow: 0 40px 100px -30px rgba(8, 15, 40, .6); }
.cookie-prefs::backdrop { background: rgba(8, 15, 40, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cookie-prefs[open] { animation: lb-in .4s var(--ease-spring); }
@keyframes lb-in { from { opacity: 0; transform: scale(.95); } }
.cp-inner { padding: 26px; }
.cp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cp-head h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0; }
.cp-intro { font-size: 14.5px; color: var(--muted); margin: 10px 0 18px; }
.cp-cat { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.cp-cat-txt p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cp-cat-txt strong { color: var(--navy); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.switch { position: relative; flex: 0 0 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch .slider { position: absolute; inset: 0; border-radius: 30px; background: #cfd6e6; transition: background .25s; }
.switch .slider::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease-spring); }
.switch input:checked + .slider { background: var(--orange); }
.switch input:checked + .slider::after { transform: translateX(22px); }
.switch input:disabled + .slider { opacity: .6; }
.switch input:focus-visible + .slider { outline: 3px solid var(--navy-2); outline-offset: 2px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; }
.footer-bottom .copyright { border: 0; margin: 0; padding: 0; }
.legal-links { display: flex; gap: 18px; margin: 0; font-size: 14px; }
.legal-links a { color: #aeb9dd; text-decoration: none; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 767.98px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; }
  .cb-actions { justify-content: stretch; }
  .cb-actions .btn-g { flex: 1 1 auto; }
}

/* apparition au défilement */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* transitions entre pages (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.98); filter: blur(8px); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.02); filter: blur(8px); } }
.site-header { view-transition-name: site-header; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; } /* évite un débordement horizontal de 12 px */
}
@media (max-width: 767.98px) {
  .topbar-phone span, .topbar .social { font-size: 13px; }
  .glass-nav { padding-left: 16px; height: 60px; }
  .solutions-grid, .why-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .hc-steps .bar { width: 18px; }
  .is-current .bar { width: 32px; }
  .logo-tile { width: 120px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  [data-reveal], .swiper-slide [data-anim] { opacity: 1; transform: none; filter: none; }
  .art .poster:not(.first), .art .poster3:not(.first) { opacity: 0 !important; }
  .art .poster.first, .art .poster3.first { opacity: 1 !important; }
}
