/* Pages légales */
.page-legal {
  --header-h: 108px;
  background: #fff;
  color: #1a1a1a;
}

.legal-main {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  min-height: 70vh;
}

.legal-main .container {
  max-width: 720px;
}

.legal-main h1 {
  font-family: var(--font-display, var(--font));
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.legal-main__updated {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 2rem;
}

.legal-main h2 {
  font-family: var(--font-display, var(--font));
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.75rem;
  color: #1a1a1a;
}

.legal-main h2:first-of-type {
  margin-top: 0;
}

.legal-main p,
.legal-main li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.legal-main ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-main a {
  color: #1a1a1a;
  font-weight: 600;
}

.legal-main a:hover {
  color: var(--yellow, #f5c518);
}

.legal-main .legal-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: #f8f8f8;
  border-left: 3px solid var(--yellow, #f5c518);
  font-size: 0.88rem;
  color: #555;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #666;
}

.legal-back:hover {
  color: #1a1a1a;
}

/* Bandeau cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.97);
  border-top: 2px solid var(--yellow, #f5c518);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__text a {
  color: var(--yellow, #f5c518);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__btn {
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: filter 0.15s;
}

.cookie-banner__btn--accept {
  background: var(--yellow, #f5c518);
  color: #1a1a1a;
  border-color: var(--yellow, #f5c518);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: transparent;
  text-decoration: underline;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.cookie-banner__btn:hover {
  filter: brightness(1.08);
}

body.has-cookie-banner .fab {
  bottom: 5.5rem;
}

@media (max-width: 600px) {
  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* Carte Google — chargement différé */
.map-consent {
  position: relative;
  min-height: 280px;
  background: #e8e8e8;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.map-consent__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  padding: 1.5rem;
  text-align: center;
}

.map-consent__placeholder p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
  color: #555;
}

.map-consent__placeholder.is-hidden {
  display: none;
}

.map-consent iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 100%;
  border: 0;
}

.form-legal-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray, #666);
}

.form-legal-note a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--footer-accent, #f5c518);
}

.site-footer__legal button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-decoration: underline;
}

.site-footer__legal button:hover {
  color: var(--footer-accent, #f5c518);
}
