/* ============================================================
   consentement.css - bandeau de consentement THERMANEX (compagnon de consentement.js)
   Adapté de _global/snippets/consentement.css, aux tokens --thx-* de style.css.
   Les deux boutons ont STRICTEMENT le même style : refuser est aussi visible et aussi
   simple qu'accepter (CNIL). Ne jamais différencier leur poids visuel.
   ============================================================ */
.consentement {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: var(--thx-white, #fff);
  color: var(--thx-ink, #0B1220);
  border: 1px solid var(--thx-mist, #CBD5E1);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(11, 18, 32, 0.18);
  font-family: var(--font-body, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.consentement[hidden] { display: none; }
.consentement__contenu { flex: 1 1 18rem; min-width: 0; }
.consentement__titre { margin: 0 0 0.25rem; font-family: var(--font-display, sans-serif); font-weight: 700; color: var(--thx-blue-800, #173677); }
.consentement__texte { margin: 0; color: var(--thx-graphite, #1F2937); }
.consentement__texte a { color: var(--thx-blue-800, #173677); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consentement__etat { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--thx-slate, #475569); }
.consentement__etat[hidden] { display: none; }
.consentement__actions { display: flex; flex: 0 0 auto; gap: 0.75rem; }
.consentement__bouton {
  min-width: 9rem;
  min-height: 44px;
  padding: 0.625rem 1.125rem;
  border: 2px solid var(--thx-blue-800, #173677);
  border-radius: 10px;
  background: var(--thx-white, #fff);
  color: var(--thx-blue-800, #173677);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.consentement__bouton:hover { background: var(--thx-blue-800, #173677); color: var(--thx-white, #fff); }
.consentement__bouton:focus-visible,
.lien-cookies:focus-visible {
  outline: 3px solid var(--thx-blue, #2A5CBA);
  outline-offset: 2px;
}
.lien-cookies {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 480px) {
  .consentement__actions { width: 100%; }
  .consentement__bouton { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consentement__bouton { transition: none; }
}
/* Carte Google Maps chargée au clic (/contact) */
.carte-au-clic { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.5rem; text-align: center; }
.carte-au-clic-adresse { margin: 0; color: var(--thx-graphite, #1F2937); line-height: 1.5; }
.carte-au-clic-info { margin: 0; max-width: 26rem; font-size: 0.875rem; color: var(--thx-slate, #475569); }
.carte-au-clic a { color: var(--thx-blue-800, #173677); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
