/* Logo & favicon */
.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-brand__logo,
.site-footer-logo {
  display: block;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-brand__logo {
  height: 3.5rem;
  width: auto;
  max-width: 12rem;
}
.site-brand:hover .site-brand__logo {
  opacity: 0.92;
  transform: scale(1.01);
}
@media (max-width: 480px) {
  .site-brand__logo {
    height: 2.85rem;
    max-width: 10rem;
  }
}
.site-footer-logo {
  height: 4.25rem;
  width: auto;
  max-width: 15rem;
  margin-bottom: 0.75rem;
}
footer .site-footer-logo {
  border-radius: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

[data-mobile-nav] {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(245, 240, 232, 0.95);
}
[data-mobile-nav].is-open {
  display: flex;
}
@media (min-width: 768px) {
  [data-mobile-nav] {
    display: none !important;
  }
}

/* Formulaire contact */
.contact-field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #b42318;
}
.contact-input--invalid {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.25);
}
.contact-form-error {
  color: #b42318;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(180, 35, 24, 0.08);
}
.contact-submit--loading {
  opacity: 0.85;
  pointer-events: none;
}
.contact-panel--shake {
  animation: contact-shake 0.45s ease;
}
@keyframes contact-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.contact-success {
  text-align: center;
  padding: 0.5rem 0 1rem;
}
.contact-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: rgba(161, 98, 34, 0.12);
  color: var(--accent, #a16222);
}
.contact-success__lead {
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-foreground, #6b5d52);
}
.contact-success__ref {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #a16222);
}
.contact-success__steps {
  margin: 1.75rem auto 0;
  max-width: 28rem;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--foreground, #3d2f28);
  list-style: disc;
  padding-left: 1.25rem;
}
.contact-success__steps li + li {
  margin-top: 0.5rem;
}
.contact-success__again {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border, #e5ddd3);
  background: transparent;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.contact-success__again:hover {
  border-color: var(--accent, #a16222);
  background: rgba(161, 98, 34, 0.06);
}
