/* =============================================================
   DJ 7P-ANK SERVICES — Design system
   Charte reprise du logo et de la bannière : bleu nuit, bleu électrique,
   orange et rouge.
   Deux identités : [data-pole="dj"]       → orange de la bannière
                    [data-pole="location"] → bleu électrique du logo
   Changer la charte = changer les variables du bloc THEME.
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
/* Charte issue du logo et de la bannière DJ 7P-ANK :
   bleu profond #004070 · bleu électrique #0078f0 · orange #f09030 · rouge #e63946 */
:root {
  /* Neutres partagés — design clair et élégant, fond blanc */
  --bg:          #f2f4f7;
  --bg-2:        #f4f7fb;
  --surface:     #ffffff;
  --surface-2:   #eef2f7;
  --line:        #e1e7ef;
  --line-soft:   #ecf1f6;
  --text:        #0a1f33;
  --text-2:      #445a70;
  --muted:       #6b8299;

  /* Identité par défaut (hub) : orange bannière + bleu logo */
  --accent:      #f59b2e;
  --accent-2:    #0d8bf2;
  --accent-ink:  #171000;
  --halo:        rgba(245, 155, 46, .12);

  --ok:          #16a34a;
  --warn:        #f5b02e;
  --danger:      #e63946;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --shadow:      0 20px 45px -20px rgba(15, 30, 50, .18);
  --maxw:        1180px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ---------- 2. THEME PAR PÔLE ---------- */
[data-pole="dj"] {
  --accent:     #f59b2e;   /* orange de la bannière */
  --accent-2:   #0d8bf2;   /* bleu électrique du logo */
  --accent-ink: #1a1000;
  --halo:       rgba(245, 155, 46, .13);
  --bg:         #f2f4f7;
  --bg-2:       #f5f8fb;
  --surface:    #ffffff;
  --surface-2:  #eef3f8;
  --line:       #e3e9f1;
  --line-soft:  #eef2f8;
}

[data-pole="location"] {
  --accent:     #0d8bf2;   /* bleu électrique du logo */
  --accent-2:   #4fc3ff;   /* bleu clair */
  --accent-ink: #04121f;
  --halo:       rgba(13, 139, 242, .13);
  --bg:         #f2f4f7;
  --bg-2:       #f2f8fc;
  --surface:    #ffffff;
  --surface-2:  #eaf4fa;
  --line:       #dde9f2;
  --line-soft:  #e9f2f8;
  --radius:     10px;      /* identité plus technique, angles plus francs */
  --radius-sm:  6px;
  --radius-lg:  14px;
}

/* ---------- 3. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {   /* halo d'ambiance */
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 12% -8%, var(--halo), transparent 65%),
    radial-gradient(700px 420px at 92% 4%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 60%);
  pointer-events: none; z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--text-2); }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
small { font-size: .82rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-tight { padding: clamp(32px, 4vw, 52px) 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 14px; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- 4. EN-TÊTE ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 80px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { height: 40px; width: auto; display: block; }
.site-footer .brand .logo { height: 52px; }

/* Logo + slogan empilés, le slogan calé sur la largeur du logo */
.brand-marque { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.brand-slogan {
  display: block; text-align: center; white-space: nowrap;
  font-size: .5rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Logo animé ---------- */
.logo-anime {
  position: relative; display: block;
  animation: logo-entree .9s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), filter .3s ease;
}
/* Reflet qui balaie la forme du logo (masque = alpha du PNG) */
.logo-anime::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../img/logo-blanc.png) no-repeat center / contain;
          mask: url(../img/logo-blanc.png) no-repeat center / contain;
  background: linear-gradient(100deg,
    transparent 42%, rgba(255,255,255,.9) 50%, transparent 58%);
  background-size: 300% 100%; background-position: 130% 0;
  animation: logo-reflet 7s ease-in-out 1.2s infinite;
}
.brand:hover .logo-anime { transform: translateY(-1px) scale(1.04); filter: drop-shadow(0 0 12px var(--halo)); }

@keyframes logo-entree {
  from { opacity: 0; transform: translateX(-14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes logo-reflet {
  0%, 65% { background-position: 130% 0; }
  92%, 100% { background-position: -60% 0; }
}

/* ---------- Égaliseur (barres qui dansent) ---------- */
.egaliseur { display: none; align-items: flex-end; gap: 3px; height: 20px; padding-bottom: 2px; }
@media (min-width: 900px) { .egaliseur { display: flex; } }
.egaliseur i {
  display: block; width: 3px; height: 6px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: eq .9s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.egaliseur i:nth-child(1) { animation-duration: .62s; }
.egaliseur i:nth-child(2) { animation-duration: .94s; animation-delay: .12s; }
.egaliseur i:nth-child(3) { animation-duration: .74s; animation-delay: .28s; }
.egaliseur i:nth-child(4) { animation-duration: 1.08s; animation-delay: .06s; }
@keyframes eq { from { height: 5px; opacity: .55; } to { height: 18px; opacity: 1; } }
.name-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-2); font-size: .92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 9px;
}
/* Liens simples du menu (Accueil, Services DJ, Location matériel, Infos pratiques)
   en gras — les boutons Playlist / MC / Devis gardent leur propre style. */
.nav a:not(.btn) { font-weight: 700; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a.active { color: var(--accent); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #ffffff)); }

/* Onglet Playlist — identité verte volontairement à part, pour se distinguer
   du reste (qui suit la couleur du pôle DJ/location) */
.btn-playlist, .btn-playlist:hover {
  color: #052e14;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: playlist-pulse 2.2s ease-in-out infinite;
}
.btn-playlist.active { outline: 2px solid #052e14; outline-offset: -2px; }
.btn-playlist .tag-gratuit {
  margin-left: 5px; padding: 2px 8px; border-radius: 999px;
  background: rgba(5, 46, 20, .16); font-size: .66rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
}
@keyframes playlist-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Onglet MC — identité violette/or, distincte du vert Playlist et de
   l'orange/bleu des boutons Devis */
.btn-mc, .btn-mc:hover {
  color: #fff7e0;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(124, 58, 237, .5);
  animation: mc-pulse 2.2s ease-in-out infinite;
}
.btn-mc.active { outline: 2px solid #fff7e0; outline-offset: -2px; }
@keyframes mc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, .55); }
  50%      { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0); }
}

/* Bouton doré métallique animé — chant d'ouverture de bal sur mesure
   (page playlist.html) : reflet qui balaie un dégradé or, pour signaler
   une option premium « sur demande », distincte des cases à cocher. */
.btn-or {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: left; cursor: pointer; font: inherit;
  padding: 14px 16px; margin-bottom: 9px; border: 1px solid transparent; border-radius: var(--radius-sm);
  color: #3a2a06;
  background: linear-gradient(120deg, #b8860b, #f5d67e, #fff6da, #d4af37, #b8860b);
  background-size: 320% 100%;
  animation: or-scintille 6s linear infinite;
  box-shadow: 0 10px 26px -14px rgba(212, 175, 55, .7);
  transition: transform .15s ease;
}
.btn-or:hover { transform: translateY(-1px); }
.btn-or.on { outline: 2px solid #fff6da; outline-offset: -2px; }
.btn-or .ico { font-size: 1.3rem; flex: none; }
.btn-or .txt { flex: 1; min-width: 0; }
.btn-or .txt b { display: block; font-size: .95rem; }
.btn-or .txt small { display: block; font-size: .78rem; color: #4a370c; margin-top: 2px; }
.btn-or .etat {
  flex: none; font-size: .78rem; font-weight: 800; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 999px; background: rgba(58, 42, 6, .14); white-space: nowrap;
}
@keyframes or-scintille {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .btn-or { animation: none; } }

/* Lecteur d'ambiance en boucle (page playlist.html) */
.lecteur-ambiance { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.pochette-ambiance { width: 72px; height: 72px; border-radius: var(--radius-sm); flex: none;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); border: 1px solid var(--line); }
.lecteur-ambiance-corps { flex: 1; min-width: 200px; }
.lecteur-titre { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.lecteur-controles { display: flex; align-items: center; gap: 10px; }
.lecteur-controles .btn { border-radius: 999px; width: 38px; height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex: none; }
.lecteur-jauge { flex: 1; min-width: 120px; display: flex; align-items: center; gap: 10px; }
.lecteur-barre { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lecteur-progression { height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .18s linear; }
.lecteur-temps { font-size: .74rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 8px 11px; font-size: 1.1rem; cursor: pointer; }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; margin: 0;
  }
  .nav:not(.open) { display: none; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- 5. BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 650; font-size: .95rem; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #ffffff));
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -14px var(--accent);
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-soft { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-soft:hover { border-color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------- 6. CARTES & SURFACES ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card-pad-lg { padding: clamp(22px, 3vw, 34px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow-verte { color: #16a34a; }
.eyebrow-mc { color: #7c3aed; }

.tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}
.tag-neutral { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }

/* ---------- 7. FORMULAIRES ---------- */
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field { margin-bottom: 16px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="time"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 13px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--muted) 50%),
  linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.error-msg { color: #dc2626; font-size: .82rem; margin-top: 6px; }
input.invalid, select.invalid, textarea.invalid { border-color: #f87171; }

/* Choix segmenté (oui/non) */
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; }
.seg button {
  border: 0; background: none; color: var(--text-2); cursor: pointer;
  padding: 8px 18px; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 600;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* Ligne d'élément cochable */
.opt {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); cursor: pointer; margin-bottom: 9px;
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-2)); }
.opt input[type="checkbox"], .opt input[type="radio"] { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.opt .opt-body { flex: 1; min-width: 0; }
.opt .opt-title { display: block; font-weight: 600; font-size: .93rem; }
.opt .opt-detail { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.opt .opt-title .tag { vertical-align: middle; margin-left: 4px; }
.opt .opt-price { display: flex; flex-direction: column; align-items: flex-end;
  font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--accent); }
.opt .opt-price .ttc { font-weight: 500; font-size: .72rem; color: var(--muted); }
.opt.locked { opacity: .75; cursor: default; }
.inclus-tag { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ok); }
.line.incluse .val { color: var(--muted); font-weight: 500; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .06em; }
.line.incluse .lbl { color: var(--muted); }
.line.offerte .val { color: var(--ok); font-weight: 800; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .08em; }
.line.offerte .lbl { color: var(--text); font-weight: 600; }

/* Mise en avant « offert » */
.chip-offert {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; line-height: 1.25;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 38%, transparent);
}
.chip-offert small { display: block; font-weight: 500; color: var(--text-2); font-size: .72rem; }

/* Compteur quantité */
.qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.qty button {
  width: 30px; height: 30px; border: 0; background: none; color: var(--text);
  font-size: 1.1rem; line-height: 1; cursor: pointer; border-radius: 999px;
}
.qty button:hover { color: var(--accent); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: .9rem; }

/* ---------- 8. RÉCAP / TOTAUX ---------- */
.totals { position: sticky; top: 88px; }
.line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line .lbl { color: var(--text-2); }
.line .val { font-weight: 600; white-space: nowrap; }
.line.neg .val { color: var(--ok); }
.line.total { border-top: 1px solid var(--line); border-bottom: 0; margin-top: 8px; padding-top: 14px; font-size: 1.02rem; }
.line.total .val { font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.line.subtotal .val, .line.subtotal .lbl { font-weight: 700; color: var(--text); }

/* ---------- 9. ÉTAPES ---------- */
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.steps li { list-style: none; display: flex; align-items: center; gap: 9px; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--muted); background: var(--bg-2); }
.steps li b { width: 21px; height: 21px; border-radius: 999px; background: var(--surface-2); color: var(--muted);
  display: grid; place-items: center; font-size: .76rem; }
.steps li.on { border-color: var(--accent); color: var(--text); }
.steps li.on b { background: var(--accent); color: var(--accent-ink); }
.steps li.done b { background: var(--ok); color: #06210f; }

/* ---------- 10. PIED DE PAGE ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); margin-top: 60px; padding: 44px 0 30px; }
.site-footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer a { color: var(--text-2); font-size: .9rem; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }

/* ---------- 11. UTILITAIRES ---------- */
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 20px; }
.divider { height: 1px; background: var(--line-soft); margin: 22px 0; }

.notice {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; color: var(--text-2);
}
.notice strong { color: var(--text); }

/* Variantes — disponibilité d'une date */
.notice-ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--line));
  background: color-mix(in srgb, var(--ok) 7%, var(--surface)); }
.notice-info { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.notice-attention { border-color: color-mix(in srgb, var(--warn) 45%, var(--line));
  background: color-mix(in srgb, var(--warn) 9%, var(--surface)); color: var(--text); }
.notice-bloque { border-color: #f87171;
  background: color-mix(in srgb, #f87171 10%, var(--surface)); color: var(--text); }

/* Rappel : un devis préparé n'a pas été envoyé */
.rappel-bar {
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-2));
}
.rappel-bar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 11px; font-size: .9rem;
}
.rappel-bar b { color: var(--accent); }
.rappel-bar .fermer {
  border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 6px;
}
.rappel-bar .fermer:hover { color: var(--text); }

/* Invitation à installer l'application */
.install-chip {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.install-chip.in { opacity: 1; transform: none; }
.install-chip .ico { font-size: 1.5rem; line-height: 1; }
.install-chip .txt { display: flex; flex-direction: column; min-width: 0; }
.install-chip b { font-size: .92rem; }
.install-chip small { font-size: .76rem; color: var(--muted); }
.install-chip .oui {
  border: 0; cursor: pointer; font: inherit; font-weight: 650; font-size: .86rem;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
}
.install-chip .non {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 4px 2px;
}
.install-chip .non:hover { color: var(--text); }
@media (max-width: 560px) {
  .install-chip { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .install-chip small { display: none; }
}

/* Tableaux scrollables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 480px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* Apparition douce */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Respect du réglage « animations réduites » du système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
