/* ============================================================
   ARIS — Formulaire de contact (labels/champs) + bandeau cookies
   ============================================================ */

/* --- Formulaire de contact --- */
.contact-form .field {
  display: grid;
  gap: 0.35rem;
}

.contact-form .field > label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text, #0a0e59);
}

.contact-form .field > label span[aria-hidden="true"] {
  color: #d10d58;
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  margin-top: 0.25rem;
}

.contact-form-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text, #0a0e59);
}

/* --- Bandeau cookies --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  background: rgba(10, 14, 89, 0.97);
  color: #fff;
  box-shadow: 0 -10px 34px rgba(10, 14, 89, 0.35);
  animation: cookieRise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 420px;
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

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

.cookie-banner [data-consent="denied"] {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cookie-banner [data-consent="denied"]:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner [data-consent="granted"] {
  background: #d10d58;
  border: 1px solid #d10d58;
  color: #fff;
}

.cookie-banner [data-consent="granted"]:hover {
  background: #b70b4b;
  border-color: #b70b4b;
}

@keyframes cookieRise {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}

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

  .cookie-banner__actions .btn {
    flex: 1 1 0;
    text-align: center;
  }
}
