/* ==========================================================================
   Urgence Repair — Composants : boutons, navigation, menu, puces, champs,
   modale de rendez-vous, bouton flottant mobile
   ========================================================================== */

/* ---------- Boutons pilule ---------- */
.btn {
  --bg: transparent;
  --fg: var(--accent-text);
  --bd: transparent;
  --fill: var(--accent-text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.016em;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--press, 1));
  transition:
    background-color .35s ease,
    color .35s ease,
    border-color .35s ease,
    transform .6s var(--ease-out);
}
.btn:active { --press: .96; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--fill { --bg: var(--accent); --fg: #fff; }
.btn--fill:hover { --bg: var(--accent-hover); }
/* reflet qui balaie le bouton au survol */
.btn--fill::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--fill:hover::after { transform: translateX(120%); }

.btn--outline { --fg: var(--accent-text); --bd: var(--accent-text); --fill: var(--accent-text); }
.btn--outline-light { --fg: var(--accent-glow); --bd: var(--accent-glow); --fill: var(--accent); }
/* remplissage circulaire qui part du point d'entrée de la souris */
.btn--outline::before,
.btn--outline-light::before {
  content: "";
  position: absolute; z-index: -1;
  left: var(--ox, 50%); top: var(--oy, 50%);
  width: 260%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s var(--ease-out);
}
.btn--outline:hover, .btn--outline-light:hover { --fg: #fff; }
.btn--outline:hover::before,
.btn--outline-light:hover::before { transform: translate(-50%, -50%) scale(1); }

.btn--sm { min-height: 32px; padding: 6px 15px; font-size: 14px; letter-spacing: -0.01em; }
.btn--lg { min-height: 50px; padding: 13px 26px; font-size: 17px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* WhatsApp : vert assombri pour un texte blanc lisible (contraste AA) */
.btn--wa { --bg: #0f7d41; --fg: #fff; }
.btn--wa:hover { --bg: #0c6b37; }
.btn--wa svg { width: 18px; height: 18px; }

@media (hover: none) {
  .btn--fill::after, .btn--outline::before, .btn--outline-light::before { display: none; }
}

/* ---------- Pastille de statut (ouvert / fermé) ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .6);
  color: var(--carbon);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: border-color .3s, background-color .3s;
}
.status-pill:hover { border-color: var(--mist); background: #fff; }
.status-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mist);
  flex: none;
}
.is-open .status-dot { background: var(--green); }
.is-open .status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green);
  animation: ping 2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
/* boutique fermée mais service d'urgence joignable : pastille bleue qui pulse */
.is-urgent .status-dot { background: var(--accent-glow); }
.is-urgent .status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent-glow);
  animation: ping 1.6s var(--ease-out) infinite;
}
/* le texte change selon l'heure : une seule ligne, pour ne pas décaler la page */
.status-pill { white-space: nowrap; max-width: 100%; }
.status-pill [data-status-text] { overflow: hidden; text-overflow: ellipsis; }

/* Note Google (relevée sur la fiche) */
.rating-pill { font-variant-numeric: tabular-nums; }
.rating-pill svg { width: 13px; height: 13px; color: #ff9f0a; }
.rating-pill__more { color: var(--ash); font-weight: 400; }
@media (max-width: 420px) { .rating-pill__more { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  color: var(--carbon);
  background: rgba(245, 245, 247, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  animation: navIn 1s var(--ease-out) .1s both;
}
@keyframes navIn { from { transform: translateY(-100%); } }
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav.nav--dark {
  color: var(--frost);
  background: rgba(22, 22, 23, .72);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit;
  font-size: 17px; letter-spacing: -0.024em; line-height: 1;
}
.brand b { font-weight: 600; color: var(--accent); }
.nav--dark .brand b { color: var(--accent-glow); }
.brand__mark { color: var(--accent); }
.brand span { font-weight: 400; }
.brand__mark { width: 22px; height: 22px; flex: none; }
.brand__plus { transform-origin: 12px 12px; transition: transform .7s var(--ease-spring); }
.brand:hover .brand__plus { transform: rotate(90deg) scale(1.1); }

.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  color: inherit;
  opacity: .8;
  font-size: 13px; letter-spacing: -0.01em;
  transition: opacity .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 1px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--accent-glow);
  transform: scale(0); transition: transform .45s var(--ease-spring);
}
.nav__links a.is-active::after { transform: scale(1); }
.nav__pill {
  position: absolute; top: 0; left: 0; z-index: 0;
  height: 100%; width: var(--pw, 0px);
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0;
  transform: translateX(var(--px, 0px));
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
  pointer-events: none;
}
.nav__links.is-hovering .nav__pill { opacity: .07; }

/* Menu déroulant « Réparations » (ordinateur) */
.nav__item { position: static; }
.nav__drop {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  color: inherit;
  opacity: .8;
  font-size: 13px; letter-spacing: -0.01em; white-space: nowrap;
  transition: opacity .3s;
}
.nav__drop:hover, .nav__item.is-open .nav__drop { opacity: 1; }
.nav__drop svg { width: 10px; height: 10px; transition: transform .45s var(--ease-out); }
.nav__item.is-open .nav__drop svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; left: 0; top: calc(100% + 12px); z-index: 2;
  display: grid; grid-template-columns: repeat(2, minmax(200px, auto)); gap: 0 20px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
  color: var(--carbon);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .4s var(--ease-out), visibility 0s linear .4s;
}
/* pont invisible : la souris peut descendre du bouton au menu sans le fermer */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__col { display: grid; align-content: start; }
.dropdown__title { margin: 12px 0 4px; padding: 0 10px; color: var(--ash); font-size: 12px; font-weight: 600; }
.dropdown__col .dropdown__title:first-child { margin-top: 0; }
.nav__links .dropdown a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--carbon);
  opacity: 1;
  font-size: 14px;
  transition: background-color .25s, color .25s;
}
.nav__links .dropdown a::after { display: none; }
.nav__links .dropdown a:hover, .nav__links .dropdown a:focus-visible { background: var(--frost); color: var(--accent-text); }
.nav__links .dropdown a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 6px;
  color: inherit; opacity: .8;
  font-size: 13px; letter-spacing: -0.01em;
  transition: opacity .3s;
}
.nav__phone:hover { opacity: 1; }
.nav__phone svg { width: 14px; height: 14px; }
.nav__phone svg path { transform-origin: 50% 50%; }
.nav__phone:hover svg path { animation: ring .6s ease-in-out 2; }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20%, 60% { transform: rotate(-14deg); }
  40%, 80% { transform: rotate(14deg); }
}

.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav__progress span {
  display: block; height: 100%;
  background: var(--accent-glow);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

.nav__burger {
  display: none;
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: inherit;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 21px; }
.menu-open .nav__burger span:nth-child(1) { top: 17.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 17.5px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: rgba(245, 245, 247, .96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex; flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.menu__links { margin-bottom: 24px; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .4s ease; }
.menu__links a {
  display: block;
  padding: 10px 0;
  color: var(--carbon);
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600; letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.menu-open .menu__links a {
  opacity: 1; transform: none;
  transition-delay: calc(.08s + var(--i, 0) * .05s);
}
.menu__footer {
  margin-top: auto;
  display: grid; gap: 12px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.menu-open .menu__footer { opacity: 1; transform: none; transition-delay: .4s; }
/* liste des réparations dans le menu mobile */
.menu__group {
  margin-bottom: 28px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.menu-open .menu__group { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i, 0) * .05s); }
.menu__label { margin-bottom: 10px; color: var(--ash); font-size: 14px; font-weight: 600; }
.menu__services { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__services a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 8px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--carbon);
  font-size: 15px;
}
.menu__services a[aria-current="page"] { border-color: var(--accent); color: var(--accent-text); }

.brand, .nav__links a, .nav__phone { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav__phone span { display: none; }
  .nav__links a, .nav__drop { padding-inline: 10px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__phone, .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
}
@media (min-width: 901px) { .menu { display: none; } }

/* ---------- Puces sélectionnables ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--carbon);
  font-size: 15px; letter-spacing: -0.012em;
  transition:
    background-color .35s ease, color .35s ease, border-color .35s ease,
    transform .5s var(--ease-spring);
}
.chip:hover { border-color: var(--mist); transform: translateY(-2px); }
.chip[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  animation: pop .5s var(--ease-spring);
}
.chip:disabled { opacity: .4; cursor: not-allowed; transform: none; }
@keyframes pop { 40% { transform: scale(1.07); } }
.chips--sm .chip { min-height: 34px; padding: 6px 13px; font-size: 14px; }

/* ---------- Champs de formulaire (étiquettes flottantes) ---------- */
.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 24px 16px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--frost);
  font-size: 17px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field label {
  position: absolute; left: 17px; top: 17px;
  color: var(--ash); font-size: 17px;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .35s var(--ease-out), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px) scale(.72); }
.field--select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ash); border-bottom: 1.5px solid var(--ash);
  transform: rotate(45deg); pointer-events: none;
}
.field.is-invalid input { border-color: #e30000; animation: shake .45s ease; }
@keyframes shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ---------- Modale de rendez-vous ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .45s ease;
}
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: #fff;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .45s ease, transform .7s var(--ease-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--frost); color: var(--ash);
  transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.modal__close:hover { background: var(--pebble); color: var(--carbon); transform: rotate(90deg); }
.modal__close svg { width: 14px; height: 14px; }

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
}
.modal__sub { margin-top: 8px; color: var(--ash); font-size: 15px; }
.modal__promo { color: var(--accent-text); font-weight: 600; }
.modal__urgent { margin-top: 6px; color: var(--ash); font-size: 14px; }

.booking { display: grid; gap: 12px; margin-top: 26px; }
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking__label { margin: 6px 0 8px; font-size: 14px; font-weight: 600; color: var(--carbon); }
.booking__slots { min-height: 34px; }
.booking__empty { font-size: 14px; color: var(--ash); }
.booking__note { font-size: 12px; line-height: 1.4; color: var(--ash); }
.booking__error { color: #d70015; font-size: 14px; }
.booking__legend { margin-top: 8px; color: var(--ash); font-size: 12px; }
.chip.is-taken { text-decoration: line-through; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking .btn--block { margin-top: 8px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.done { padding: 20px 0 8px; text-align: center; }
.done__check { width: 88px; height: 88px; margin: 0 auto 24px; }
.done__check circle {
  fill: none; stroke: var(--accent-glow); stroke-width: 3;
  stroke-dasharray: 252; stroke-dashoffset: 252;
  transform: rotate(-90deg); transform-origin: 50% 50%;
}
.done__check path {
  fill: none; stroke: var(--accent-glow); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60;
}
.done.is-play .done__check circle { animation: draw .8s var(--ease-out) forwards; }
.done.is-play .done__check path { animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done p { margin: 12px auto 26px; max-width: 380px; color: var(--ash); }

@media (max-width: 600px) {
  .modal { place-items: end center; padding: 0; }
  .modal__panel {
    width: 100%;
    max-height: 92svh;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(100%);
    transition: transform .6s var(--ease-out);
    opacity: 1;
  }
  .booking__row { grid-template-columns: 1fr; }
}

/* ---------- Bouton flottant (mobile) ---------- */
.fab {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  gap: 4px; padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translate(-50%, 160%);
  transition: transform .7s var(--ease-out);
}
.fab.is-visible { transform: translate(-50%, 0); }
.fab .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.fab__call { --fg: #fff; }
/* sans numéro WhatsApp : lien « Tarifs » à la place */
.has-wa .fab__quote { display: none; }
@media (max-width: 900px) { .fab { display: flex; } }
@media (max-width: 380px) {
  .fab .btn { padding-inline: 12px; font-size: 14px; gap: 6px; }
}
@media (max-width: 340px) { .fab .btn svg { display: none; } }

/* ---------- Fil d'Ariane ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--ash); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before {
  content: ""; width: 5px; height: 5px; margin: 0 10px;
  border-top: 1.3px solid currentColor; border-right: 1.3px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.crumbs a { color: var(--smoke); }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ash); }

/* ---------- Bandeau d'accord (statistiques) ---------- */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  width: min(440px, calc(100vw - 40px));
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .7s var(--ease-out);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .1); color: var(--accent);
}
.consent__icon svg { width: 18px; height: 18px; }
.consent__title { font-size: 16px; font-weight: 600; letter-spacing: -0.016em; }
.consent__text { margin-top: 4px; color: var(--smoke); font-size: 13.5px; line-height: 1.45; }
.consent__actions { grid-column: 1 / -1; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* les deux choix ont exactement la même apparence : refuser est aussi simple qu'accepter */
.consent__btn { --bg: var(--carbon); --fg: #fff; --bd: var(--carbon); min-height: 38px; }
.consent__btn:hover { --bg: #3a3a3c; }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
}

/* ---------- Réseaux sociaux ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.socials li + li { margin-top: 0; }
.social {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--white);
  color: var(--carbon);
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .6s var(--ease-spring);
}
.social svg { width: 19px; height: 19px; }
.social:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px) rotate(-8deg);
}
.socials--sm .social { width: 34px; height: 34px; }
.socials--sm .social svg { width: 15px; height: 15px; }
.menu__socials { justify-content: center; margin-top: 8px; }
