/* =========================================================================
   AB COMMUNICATION — Composants
   ========================================================================= */

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--text-inv);
  transition: transform .5s var(--ease), background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 12, .78);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  opacity: 0; transition: opacity .4s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { border-bottom-color: var(--line-inv); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img {
  height: 50px; width: auto;
  /* Le logo officiel (JPEG sur fond noir) se fond dans les surfaces sombres sans être modifié */
  mix-blend-mode: lighten;
}
.nav { margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font-family: var(--f-display); font-size: .9rem; font-weight: 500; color: rgba(245,245,247,.82);
  border-radius: 999px; transition: color .3s ease, background-color .3s ease;
}
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link.is-active { color: #fff; }
.nav-link.is-active { background: rgba(255,255,255,.07); }
.nav-chev { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav-item.is-open .nav-chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-actions { margin-left: 8px; }

/* Dropdowns */
.dd-wrap {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .3s;
}
.nav-item.is-open > .dd-wrap {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s;
}
.dd-wrap::before { content: ''; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.dd {
  background: rgba(17, 18, 23, .97); border: 1px solid var(--line-inv); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); padding: 10px; min-width: 300px;
}
.dd ul { display: grid; gap: 2px; }
.dd a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background-color .25s ease; }
.dd a:hover, .dd a:focus-visible, .dd a[aria-current] { background: rgba(255,255,255,.06); }
.dd-title { font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: #fff; }
.dd-desc { font-size: .8rem; color: var(--muted-inv); line-height: 1.4; }
.is-mega > .dd-wrap { position: fixed; top: calc(var(--header-h) - 6px); left: 50%; width: min(1180px, calc(100vw - 48px)); }
.dd-mega { display: grid; grid-template-columns: 1fr 280px; gap: 10px; padding: 14px; }
.dd-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px; transition: background-color .25s ease; }
.mega-link:hover, .mega-link:focus-visible { background: rgba(255,255,255,.05); }
.mega-link:hover .mega-ico { background: var(--red); border-color: var(--red); color: #fff; }
.mega-ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-inv); border-radius: 11px; color: var(--gold);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.mega-ico .icon { width: 20px; height: 20px; }
.mega-title { display: block; font-family: var(--f-display); font-weight: 600; font-size: .93rem; color: #fff; }
.mega-desc { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted-inv); margin-top: 3px; }
.dd-mega-side {
  display: flex; flex-direction: column; gap: 14px; justify-content: flex-end;
  padding: 24px; border-radius: 12px;
  background: radial-gradient(120% 100% at 100% 0%, rgba(209,10,15,.35), transparent 60%), radial-gradient(120% 100% at 0% 100%, rgba(42,63,158,.5), transparent 60%), var(--ink-3);
}
.mega-side-text { font-size: .88rem; color: var(--muted-inv); line-height: 1.55; }

/* Burger */
.burger {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-inv); display: grid; place-items: center;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (min-width: 1180px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (max-width: 1179px) { .header-cta { display: none; } }
@media (min-width: 560px) and (max-width: 1179px) { .header-cta { display: inline-flex; } }
@media (max-width: 600px) { :root { --header-h: 72px; } .brand img { height: 42px; } }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--text-inv);
  padding-top: var(--header-h);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.m-list > li { border-bottom: 1px solid var(--line-inv); opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s var(--ease); }
.mobile-menu.is-open .m-list > li { opacity: 1; transform: none; }
.mobile-menu.is-open .m-list > li:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open .m-list > li:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open .m-list > li:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open .m-list > li:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open .m-list > li:nth-child(6) { transition-delay: .25s; }
.m-link, .m-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 18px 0; font-family: var(--f-display); font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; text-align: left;
}
.m-toggle .icon { transition: transform .4s var(--ease); color: var(--gold); }
.m-toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.m-sub { padding: 0 0 18px; display: grid; gap: 4px; }
.m-sub a { display: block; padding: 8px 0 8px 16px; color: var(--muted-inv); border-left: 1px solid var(--line-inv); transition: color .2s, border-color .2s; }
.m-sub a:hover { color: #fff; border-color: var(--red); }
.mobile-menu-foot { display: grid; gap: 14px; }
.m-contact { display: flex; align-items: center; gap: 10px; color: var(--muted-inv); font-size: .95rem; overflow-wrap: anywhere; }
.m-contact .icon { width: 18px; height: 18px; color: var(--gold); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ------------------------------------------------------------- Page hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 85% 10%, rgba(42,63,158,.38), transparent 60%), radial-gradient(60% 70% at 10% 100%, rgba(209,10,15,.22), transparent 60%), var(--ink);
  color: var(--text-inv);
  padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px);
}
.page-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,93,.5), transparent);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-hero-bg .geo { position: absolute; width: min(760px, 90vw); right: max(-120px, -8vw); top: 50%; transform: translateY(-50%); opacity: .55; }
@media (max-width: 760px) { .page-hero-bg .geo { opacity: .25; right: -30%; width: 120vw; } }
.page-hero-inner { position: relative; display: grid; gap: 24px; max-width: 1100px; margin-left: 0; }
.page-title { max-width: 18ch; }
.page-lead { color: var(--muted-inv); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; margin: 0 0 8px; font-size: .82rem; color: var(--muted-inv); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--gold); }

/* Géométrie de marque */
.geo { overflow: visible; }
.geo-grid path { stroke: rgba(255,255,255,.045); stroke-width: 1; fill: none; }
.geo-orbit { fill: none; stroke-width: 1.2; stroke-dasharray: 2 12; }
.geo-orbit-g { transform-origin: 400px 400px; transform-box: view-box; }
.geo-ring { fill: none; stroke: rgba(200,164,93,.22); stroke-width: 1; }
.geo-draw { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.geo-a { stroke: var(--red); }
.geo-line { stroke: rgba(200,164,93,.55); stroke-width: 1; }
.geo-dots circle { fill: var(--gold); }

/* ------------------------------------------------------------- Cartes */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s ease;
}
/* Bordure animée en dégradé de marque */
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), var(--red), var(--blue-400), var(--gold), var(--red));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s ease;
}
/* Halo qui suit le curseur */
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(209,10,15,.07), transparent 45%);
  opacity: 0; transition: opacity .5s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before, .card:hover::after, .card:focus-within::before { opacity: 1; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.card:hover::before { animation: spin-border 4s linear infinite; }
@keyframes spin-border { to { --angle: 360deg; } }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-num { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--muted); }
.card-ico {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--mist); color: var(--red);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .6s var(--ease);
}
.card:hover .card-ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-title { font-family: var(--f-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card-text { color: var(--muted); font-size: .97rem; line-height: 1.6; flex: 1; }
.card .link-arrow { color: var(--ink); margin-top: 4px; }
.card-stretch::after { content: none; }
.card a.card-cover-link::before { content: ''; position: absolute; inset: 0; z-index: 1; }

.card-dark { background: var(--ink-3); border-color: var(--line-inv); color: var(--text-inv); }
.card-dark .card-text { color: var(--muted-inv); }
.card-dark .card-ico { background: rgba(255,255,255,.06); color: var(--gold); }
.card-dark .link-arrow { color: #fff; }
.card-dark::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200,164,93,.10), transparent 45%); }

/* Liste à puces premium */
.list-check { display: grid; gap: 14px; list-style: none; padding: 0; }
.list-check li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.list-check li::before {
  content: ''; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bg-dark .list-check li::before, .bg-blue .list-check li::before, .bg-dark-2 .list-check li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.list-dash { display: grid; gap: 0; list-style: none; padding: 0; }
.list-dash li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.list-dash li::before { content: ''; width: 18px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
.bg-dark .list-dash li, .bg-dark-2 .list-dash li { border-color: var(--line-inv); }

/* Tags / chips */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; background: var(--mist); color: var(--ink);
}
.tag-red { background: rgba(209,10,15,.1); color: var(--red-600); }
.tag-gold { background: rgba(200,164,93,.16); color: #7A5E24; }
.bg-dark .tag, .bg-dark-2 .tag { background: rgba(255,255,255,.08); color: #fff; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--f-display); font-size: .88rem; font-weight: 500; color: var(--ink);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-count { opacity: .55; margin-left: 4px; font-size: .8em; }

.empty-state {
  display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 4vw, 48px);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper);
}
.empty-state .icon { color: var(--gold); width: 32px; height: 32px; }
.empty-state p { color: var(--muted); max-width: 60ch; }

/* Accordéon */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); letter-spacing: -.01em;
}
.acc-btn .acc-ico {
  position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none;
  transition: background-color .35s ease, border-color .35s ease, transform .5s var(--ease);
}
.acc-ico::before, .acc-ico::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .45s var(--ease); }
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--red); border-color: var(--red); color: #fff; }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-content { padding: 0 0 26px; color: var(--muted); max-width: 72ch; }
.no-js .acc-panel { grid-template-rows: 1fr; }
.bg-dark .accordion, .bg-dark .acc-item { border-color: var(--line-inv); }
.bg-dark .acc-content { color: var(--muted-inv); }
.bg-dark .acc-btn .acc-ico { border-color: var(--line-inv); }

/* --------------------------------------------------------- Formulaires */
.form { display: grid; gap: 22px; }
.form-title { font-size: var(--fs-h3); }
.form-intro { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field { grid-column: 1 / -1; } .field.is-half { grid-column: auto; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper);
  font-size: 1rem; color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field.is-select select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; padding-right: 46px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10,10,12,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(42,63,158,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(209,10,15,.1); }
.field-err { font-size: .82rem; color: var(--red-600); min-height: 0; }
.field-err:empty { display: none; }
.field-consent { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.field-consent input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; border-radius: 6px; accent-color: var(--red); -webkit-appearance: checkbox; appearance: auto; }
.field-consent label { font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.field-consent label a { color: var(--red); text-decoration: underline; }
.field-consent .field-err { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(200,164,93,.08); border-radius: 0 10px 10px 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-legend { font-size: .82rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--mist); display: grid; gap: 12px; }
.form-status.is-success { border-color: rgba(26, 127, 75, .35); background: rgba(26, 127, 75, .07); }
.form-status.is-error { border-color: rgba(209,10,15,.35); background: rgba(209,10,15,.05); }
.form-status strong { font-family: var(--f-display); }
.form-status p { color: var(--muted); font-size: .92rem; }
.form-status .btn-row { gap: 10px; }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }

/* --------------------------------------------------------- Bandeau CTA */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--text-inv); text-align: center;
  padding-block: clamp(96px, 13vw, 190px);
}
.cta-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 110%, rgba(209,10,15,.55), transparent 70%), radial-gradient(40% 50% at 15% 0%, rgba(42,63,158,.45), transparent 70%), radial-gradient(30% 40% at 90% 10%, rgba(200,164,93,.18), transparent 70%);
}
.cta-inner { display: grid; justify-items: center; gap: 26px; }
.cta-title { max-width: 18ch; }
.cta-band .lead { color: var(--muted-inv); margin-inline: auto; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--muted-inv); padding-top: clamp(72px, 9vw, 120px); font-size: .94rem; border-top: 1px solid var(--line-inv); }
.footer-top { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: 64px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-logo img { height: 92px; width: auto; mix-blend-mode: lighten; }
.footer-legal-name { margin-top: 18px; font-family: var(--f-display); font-weight: 600; color: #fff; font-size: .95rem; }
.footer-desc { margin-top: 10px; max-width: 42ch; line-height: 1.65; }
.footer-motto { margin-top: 18px; font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.footer-title { font-family: var(--f-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { transition: color .25s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact address { display: grid; gap: 14px; }
.footer-contact address a, .footer-social a { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-social { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { align-items: center; padding: 8px 14px; border: 1px solid var(--line-inv); border-radius: 999px; transition: border-color .25s, color .25s; }
.footer-social a:hover { border-color: var(--gold); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-inv); font-size: .84rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------- Boutons flottants */
.fab-stack { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: grid; gap: 10px; justify-items: end; }
.fab {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px;
  border-radius: 999px; color: #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,.45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.fab:hover { transform: translateY(-3px); }
.fab .icon { width: 24px; height: 24px; }
.fab-wa { background: #128C4B; }
.fab-wa:hover { background: #0E7A40; }
.fab-assistant { height: 46px; padding: 0 14px; background: var(--ink-3); border: 1px solid var(--line-inv); font-family: var(--f-display); font-size: .82rem; font-weight: 600; }
.fab-assistant .icon { width: 20px; height: 20px; color: var(--gold); }
.fab-assistant em { font-style: normal; color: var(--gold); font-weight: 500; }
@media (max-width: 600px) { .fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fab { padding: 0; width: 54px; justify-content: center; } .fab-assistant { width: 46px; } }

/* Assistant (démo) */
.assistant {
  position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 32px)); max-height: min(620px, calc(100svh - 32px));
  display: flex; flex-direction: column;
  background: var(--ink-2); color: var(--text-inv); border: 1px solid var(--line-inv); border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
  transform-origin: bottom right;
  animation: pop-in .5s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.assistant-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line-inv); }
.assistant-title { font-family: var(--f-display); font-weight: 600; }
.assistant-badge { display: inline-block; margin-top: 6px; font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(200,164,93,.15); color: var(--gold-300); }
.assistant-close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-inv); flex: none; }
.assistant-close .icon { width: 18px; height: 18px; }
.assistant-log { flex: 1; overflow-y: auto; padding: 18px; display: grid; gap: 10px; align-content: start; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; animation: pop-in .4s var(--ease); }
.msg-bot { background: var(--ink-4); border-bottom-left-radius: 4px; }
.msg-user { justify-self: end; background: var(--red); border-bottom-right-radius: 4px; }
.assistant-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.assistant-options button, .assistant-options a {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-inv); font-size: .84rem; text-align: left;
  transition: background-color .25s, border-color .25s;
}
.assistant-options button:hover, .assistant-options a:hover { background: rgba(255,255,255,.06); border-color: var(--gold); }
.assistant-options .is-primary { background: #128C4B; border-color: #128C4B; }
.assistant-foot { padding: 12px 18px 16px; font-size: .72rem; color: var(--muted-inv); border-top: 1px solid var(--line-inv); }

/* Marquee (piste clippée — aucun impact sur la largeur du document) */
.marquee { position: relative; overflow: hidden; contain: paint; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); font-weight: 500; color: rgba(245,245,247,.6); white-space: nowrap; }
.marquee-item::after { content: ''; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Notice / bannière d'information */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(42,63,158,.07); border: 1px solid rgba(42,63,158,.2); font-size: .92rem; color: var(--text); }
.notice .icon { color: var(--blue-500); margin-top: 1px; }
.bg-dark .notice, .bg-blue .notice { background: rgba(255,255,255,.05); border-color: var(--line-inv); color: var(--text-inv); }
.bg-dark .notice .icon, .bg-blue .notice .icon { color: var(--gold); }
