/* ==========================================================
   VARIABLES CSS - FOOTER REDESIGN VIVANT
   ========================================================== */
:root {
  --primary-blue: #4E6896;
  --soft-gray: #C4CDD4;
  --light-bg: #F7F9F7;
  --text-dark: #111827;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --facebook-color: #1877F2;
  --youtube-color: #FF0000;
  --twitter-color: #000000;
  --linkedin-color: #0A66C2;
  --orange-primary: #FF6B35;
  --orange-hover: #FF8C5A;
}

body {
  overflow-x: hidden;
}

/* ==========================================================
   STRUCTURE PRINCIPALE DU FOOTER
   ========================================================== */
.footer-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 2rem 0 0 0;
}

.footer-wrapper::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(78, 104, 150, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape1 15s ease-in-out infinite;
  pointer-events: none;
}

.footer-wrapper::after {
  content: '';
  position: absolute;
  bottom: 100px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(196, 205, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape2 18s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatShape1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes floatShape2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-40px, 20px) rotate(180deg); }
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  background: linear-gradient(135deg,
    #F7F9F7 0%,
    #E8EDF2 15%,
    #F7F9F7 30%,
    #DDE5EA 50%,
    #F7F9F7 70%,
    #E8EDF2 85%,
    #F7F9F7 100%);
  border-radius: 0px;
  box-shadow:
    0 -5px 30px rgba(78, 104, 150, 0.08),
    0 10px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 10s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ==========================================================
   SECTION PRINCIPALE - 4 COLONNES
   ========================================================== */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr 1.5fr;
  gap: 2rem;
  padding: 2rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.02em;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--soft-gray));
  border-radius: 3px;
  animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
  0%, 100% { width: 40px; }
  50% { width: 55px; }
}

/* ==========================================================
   COLONNE 1: LOGO + SLOGAN
   ========================================================== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(78, 104, 150, 0.15));
  transition: all 0.5s ease;
}

.footer-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 16px rgba(78, 104, 150, 0.25));
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.3s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   COLONNE 2: NAVIGATION
   ========================================================== */
.footer-nav {
  display: flex;
  flex-direction: column;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-medium);
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(78, 104, 150, 0.1), rgba(196, 205, 212, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav-link:hover {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(78, 104, 150, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(78, 104, 150, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-link:hover::before { opacity: 1; }

.nav-link:nth-child(1) { animation: slideInLeft 0.5s ease 0.1s both; }
.nav-link:nth-child(2) { animation: slideInLeft 0.5s ease 0.2s both; }
.nav-link:nth-child(3) { animation: slideInLeft 0.5s ease 0.3s both; }
.nav-link:nth-child(4) { animation: slideInLeft 0.5s ease 0.4s both; }
.nav-link:nth-child(5) { animation: slideInLeft 0.5s ease 0.5s both; }
.nav-link:nth-child(6) { animation: slideInLeft 0.5s ease 0.6s both; }
.nav-link:nth-child(7) { animation: slideInLeft 0.5s ease 0.7s both; }
.nav-link:nth-child(8) { animation: slideInLeft 0.5s ease 0.8s both; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================
   COLONNE 3: CONTACT
   ========================================================== */
.footer-contact {
  display: flex;
  flex-direction: column;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(196, 205, 212, 0.3);
  transition: all 0.4s ease;
  animation: fadeInRight 0.6s ease both;
}

.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.4s; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(78, 104, 150, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78, 104, 150, 0.12);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 0.875rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 500;
}

.contact-link {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--soft-gray));
  transition: width 0.4s ease;
}

.contact-link:hover { color: var(--primary-blue); }
.contact-link:hover::after { width: 100%; }

/* ==========================================================
   COLONNE 4: RÉSEAUX SOCIAUX + BOUTON CONNEXION
   ========================================================== */
.footer-social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.social-icon {
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.social-svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(8px);
}

.social-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: rotateBrilliance 3s linear infinite;
  z-index: 1;
  opacity: 0;
}

@keyframes rotateBrilliance {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.social-icon:hover::after { opacity: 1; }

.social-facebook { background: linear-gradient(135deg, #1877F2, #4267B2); color: #fff; }
.social-facebook::before { background: radial-gradient(circle, rgba(24, 119, 242, 0.6), transparent 70%); }
.social-facebook:hover { transform: translateY(-8px) scale(1.2) rotate(5deg); box-shadow: 0 15px 40px rgba(24, 119, 242, 0.5), 0 8px 20px rgba(24, 119, 242, 0.3); }
.social-facebook:hover::before { opacity: 1; animation: pulseGlow 1.5s ease-in-out infinite; }

.social-youtube { background: linear-gradient(135deg, #FF0000, #CC0000); color: #fff; }
.social-youtube::before { background: radial-gradient(circle, rgba(255, 0, 0, 0.6), transparent 70%); }
.social-youtube:hover { transform: translateY(-8px) scale(1.2) rotate(-5deg); box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5), 0 8px 20px rgba(255, 0, 0, 0.3); }
.social-youtube:hover::before { opacity: 1; animation: pulseGlow 1.5s ease-in-out infinite; }

.social-twitter { background: linear-gradient(135deg, #000000, #1a1a1a); color: #fff; }
.social-twitter::before { background: radial-gradient(circle, rgba(0, 0, 0, 0.6), transparent 70%); }
.social-twitter:hover { transform: translateY(-8px) scale(1.2) rotate(5deg); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4); }
.social-twitter:hover::before { opacity: 1; animation: pulseGlow 1.5s ease-in-out infinite; }

.social-linkedin { background: linear-gradient(135deg, #0A66C2, #004182); color: #fff; }
.social-linkedin::before { background: radial-gradient(circle, rgba(10, 102, 194, 0.6), transparent 70%); }
.social-linkedin:hover { transform: translateY(-8px) scale(1.2) rotate(-5deg); box-shadow: 0 15px 40px rgba(10, 102, 194, 0.5), 0 8px 20px rgba(10, 102, 194, 0.3); }
.social-linkedin:hover::before { opacity: 1; animation: pulseGlow 1.5s ease-in-out infinite; }

.social-icon:hover .social-svg { transform: rotateY(360deg) scale(1.15); }

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.social-facebook { animation: bounceIn 0.7s ease 0.3s both; }
.social-youtube  { animation: bounceIn 0.7s ease 0.5s both; }
.social-twitter  { animation: bounceIn 0.7s ease 0.7s both; }
.social-linkedin { animation: bounceIn 0.7s ease 0.9s both; }

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.3) translateY(30px); }
  50%  { opacity: 1; transform: scale(1.1) translateY(-10px); }
  70%  { transform: scale(0.95) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.social-invite {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.3rem;
  margin-bottom: 1.2rem;
  animation: fadeInUp 1s ease 1.2s both;
}

/* ==========================================================
   BOUTON SE CONNECTER
   ========================================================== */
.footer-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-hover));
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: bounceIn 0.7s ease 1.4s both;
}

.footer-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.footer-login-btn:hover::before { left: 100%; }

.footer-login-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5), 0 6px 18px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, var(--orange-hover), #FFB399);
}

.footer-login-btn i { transition: transform 0.3s ease; font-size: 1rem; }
.footer-login-btn:hover i { transform: translateX(3px); }

/* ==========================================================
   VAGUE DE SÉPARATION
   ========================================================== */
.wave-separator {
  width: 100%;
  height: 50px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.wave-separator svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: waveFlow 8s ease-in-out infinite;
}

@keyframes waveFlow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
}

/* ==========================================================
   LIGNE COPYRIGHT
   ========================================================== */
.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, rgba(78, 104, 150, 0.05), rgba(196, 205, 212, 0.08));
  position: relative;
  z-index: 2;
}

.copyright-left,
.copyright-right {
  font-size: 0.8rem;
  color: var(--text-medium);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.copyright-icon,
.copyright-heart { font-size: 0.95rem; transition: transform 0.3s ease; }

.copyright-left:hover,
.copyright-right:hover {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.copyright-left:hover .copyright-icon { transform: rotate(360deg); }

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ==========================================================
   RESPONSIVE - TABLETTES
   ========================================================== */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    padding: 1.8rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-social-section {
    grid-column: 1 / -1;
  }

  .nav-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   RESPONSIVE - MOBILE (retravaillé)
   ========================================================== */
@media (max-width: 768px) {
  .footer-wrapper {
    padding: 0;
  }

  .footer-container {
    border-radius: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  /* Chaque bloc devient une section bien délimitée */
  .footer-brand,
  .footer-nav,
  .footer-contact,
  .footer-social-section {
    padding: 1.2rem 1.2rem;
    border-bottom: 1px solid rgba(196, 205, 212, 0.4);
    text-align: center;
    align-items: center;
  }

  .footer-social-section {
    border-bottom: none;
  }

  /* Logo centré et plus petit */
  .footer-logo {
    height: 2.5rem;
    margin: 0 auto 0.5rem;
  }

  .footer-tagline {
    font-size: 0.82rem;
    text-align: center;
    max-width: 280px;
  }

  /* Titre de section centré */
  .footer-title {
    font-size: 0.9rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Navigation en grille 2 colonnes compacte */
  .nav-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    background: rgba(78, 104, 150, 0.06);
    border: 1px solid rgba(78, 104, 150, 0.1);
  }

  .nav-link:hover {
    transform: none;
  }

  /* Contact compact */
  .contact-items {
    gap: 0.6rem;
    width: 100%;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0.7rem;
    gap: 0.3rem;
  }

  .contact-label { font-size: 0.65rem; }
  .contact-value { font-size: 0.82rem; }

  /* Réseaux sociaux bien espacés */
  .footer-social {
    gap: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .social-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .social-invite {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  /* Bouton connexion full width */
  .footer-login-btn {
    font-size: 0.88rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    justify-content: center;
    max-width: 260px;
  }

  /* Vague plus petite */
  .wave-separator {
    height: 30px;
  }

  /* Copyright empilé */
  .footer-copyright {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    padding: 0.8rem 1rem;
  }

  .copyright-left,
  .copyright-right {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    justify-content: center;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .footer-brand,
  .footer-nav,
  .footer-contact,
  .footer-social-section {
    padding: 1rem;
  }

  .nav-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .nav-link {
    font-size: 0.75rem;
    padding: 0.45rem 0.5rem;
  }

  .social-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .footer-login-btn {
    font-size: 0.82rem;
    padding: 0.7rem 1.2rem;
    max-width: 230px;
  }

  .footer-title {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
}





/* Chaque item prend toute la largeur du conteneur */
.webform-submission-plainte-des-usagers-form .form-item {
  width: 100%;
}

/* Tous les champs occupent 100% du conteneur */
.webform-submission-plainte-des-usagers-form input,
.webform-submission-plainte-des-usagers-form textarea,
.webform-submission-plainte-des-usagers-form select {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Le formulaire devient le repère */
.webform-submission-plainte-des-usagers-form {
  position: relative;
}

.webform-submission-plainte-des-usagers-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -340px; /* image à gauche */
  width: 300px;
  height: 100%;
  background-image: url("/sites/default/files/2026-02/depot%20%281%29.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .webform-submission-plainte-des-usagers-form {
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
  }

  .webform-submission-plainte-des-usagers-form::before {
    display: none;
  }
}







/* Conteneur principal du formulaire */
.webform-submission-plainte-des-usagers-form {
  max-width: 700px;
  margin: 40px auto;
  padding: 25px;
  background-color: #F7F9F7; /* fond doux clair */
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;
  border: 1px solid #C4CDD4; /* bordure légère */
}
.webform-submission-plainte-des-usagers-form {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  transform: translateX(170px); /* 300px / 2 + espace */
}


/* Tous les labels */
.webform-submission-plainte-des-usagers-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #4E6896; /* label principal */
}

/* Champs texte, email, tel, number, date, textarea */
.webform-submission-plainte-des-usagers-form input[type="text"],
.webform-submission-plainte-des-usagers-form input[type="email"],
.webform-submission-plainte-des-usagers-form input[type="tel"],
.webform-submission-plainte-des-usagers-form input[type="number"],
.webform-submission-plainte-des-usagers-form input[type="date"],
.webform-submission-plainte-des-usagers-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C4CDD4; /* bordure légère */
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #4E6896;
  background-color: #fff; /* champs blancs */
}

.webform-submission-plainte-des-usagers-form input:focus,
.webform-submission-plainte-des-usagers-form textarea:focus {
  border-color: #557196; /* accent au focus */
  outline: none;
}

/* Textarea resize vertical seulement */
.webform-submission-plainte-des-usagers-form textarea {
  resize: vertical;
}

/* Radios et checkboxes : flex pour alignement horizontal */
.webform-submission-plainte-des-usagers-form .js-webform-radios,
.webform-submission-plainte-des-usagers-form .js-form-type-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.webform-submission-plainte-des-usagers-form .js-webform-radios label,
.webform-submission-plainte-des-usagers-form .js-form-type-checkbox label {
  font-weight: normal;
  color: #4E6896;
}

/* Boutons */
.webform-submission-plainte-des-usagers-form .form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 20px;
}

.webform-submission-plainte-des-usagers-form .button {
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.webform-submission-plainte-des-usagers-form .button--primary {
  background-color: #4E6896; /* couleur principale */
  color: #F7F9F7;
}

.webform-submission-plainte-des-usagers-form .button--primary:hover {
  background-color: #557196; /* accent foncé */
}

.webform-submission-plainte-des-usagers-form .button:not(.button--primary) {
  background-color: #7B8CA0; /* couleur secondaire */
  color: #F7F9F7;
}

.webform-submission-plainte-des-usagers-form .button:not(.button--primary):hover {
  background-color: #4E6896;
}



/* FIX FINAL : checkbox & radio sur une seule ligne */
.webform-submission-plainte-des-usagers-form
.js-form-type-checkbox,
.webform-submission-plainte-des-usagers-form
.js-form-type-radio {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

/* Empêche Drupal de forcer le label en block */
.webform-submission-plainte-des-usagers-form
.js-form-type-checkbox label,
.webform-submission-plainte-des-usagers-form
.js-form-type-radio label {
  display: inline !important;
  margin: 0 0 0 8px !important;
  line-height: 1.4;
}

/* L’input ne bouge pas */
.webform-submission-plainte-des-usagers-form
.js-form-type-checkbox input,
.webform-submission-plainte-des-usagers-form
.js-form-type-radio input {
  margin: 0 !important;
}



/* Radios sur UNE SEULE LIGNE */
.webform-submission-plainte-des-usagers-form
.webform-options-display-one-column {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}

/* Chaque radio = largeur auto (pas 100%) */
.webform-submission-plainte-des-usagers-form
.js-form-type-radio {
  width: auto;
  margin: 0;
}

/* Label radio aligné avec l’input */
.webform-submission-plainte-des-usagers-form
.js-form-type-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}


/* ============================================================
   DESIGN COMMUN : PLAINTE + CONTACT
   ============================================================ */

.webform-submission-plainte-des-usagers-form,
.webform-submission-contact-form {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding: 25px;
  background-color: #F7F9F7;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border: 1px solid #C4CDD4;
  box-sizing: border-box;
  transform: translateX(170px); /* centrage avec image */
}

/* Image décorative à gauche */
.webform-submission-plainte-des-usagers-form::before,
.webform-submission-contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -340px;
  width: 300px;
  height: 100%;
  background-image: url("/sites/default/files/2026-02/depot%20%281%29.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* Mobile : image cachée + formulaire recentré */
@media (max-width: 1024px) {
  .webform-submission-plainte-des-usagers-form,
  .webform-submission-contact-form {
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
  }

  .webform-submission-plainte-des-usagers-form::before,
  .webform-submission-contact-form::before {
    display: none;
  }
}


/* Chaque item pleine largeur */
.webform-submission-contact-form .form-item {
  width: 100%;
}

/* Inputs / textarea / select full width */
.webform-submission-contact-form input,
.webform-submission-contact-form textarea,
.webform-submission-contact-form select {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Labels */
.webform-submission-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #4E6896;
}

/* Champs */
.webform-submission-contact-form input[type="text"],
.webform-submission-contact-form input[type="email"],
.webform-submission-contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #C4CDD4;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #4E6896;
  background-color: #ffffff;
}

.webform-submission-contact-form input:focus,
.webform-submission-contact-form textarea:focus {
  border-color: #557196;
  outline: none;
}

.webform-submission-contact-form textarea {
  resize: vertical;
}


.webform-submission-contact-form .form-actions {
  margin-top: 20px;
}

.webform-submission-contact-form .button--primary {
  background-color: #4E6896;
  color: #F7F9F7;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.webform-submission-contact-form .button--primary:hover {
  background-color: #557196;
}


/* ============================================================
   DESIGN COMMUN : PLAINTE / CONTACT / DECLARATION ACCIDENT
   ============================================================ */

.webform-submission-plainte-des-usagers-form,
.webform-submission-contact-form,
.webform-submission-declaration-accident-form {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding: 25px;
  background-color: #F7F9F7;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border: 1px solid #C4CDD4;
  box-sizing: border-box;
  transform: translateX(170px);
}

/* Image décorative à gauche */
.webform-submission-plainte-des-usagers-form::before,
.webform-submission-contact-form::before,
.webform-submission-declaration-accident-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -340px;
  width: 300px;
  height: 100%;
  background-image: url("/sites/default/files/2026-02/depot%20%281%29.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 1024px) {
  .webform-submission-plainte-des-usagers-form,
  .webform-submission-contact-form,
  .webform-submission-declaration-accident-form {
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
  }

  .webform-submission-plainte-des-usagers-form::before,
  .webform-submission-contact-form::before,
  .webform-submission-declaration-accident-form::before {
    display: none;
  }
}


