footer {
  background: var(--white);
  color: var(--text);
  padding: var(--sp-lg) 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border);
}

/* Ordre visuel : Zone d'intervention à gauche, logo au centre, coordonnées
   à droite — sans changer l'ordre du HTML (repris ailleurs / lecteurs d'écran). */
.footer-zone { order: 1; }
.footer-brand { order: 2; text-align: center; }
.footer-contact { order: 3; text-align: right; }

.footer-logo-img {
  height: 180px;
  width: auto;
  margin: 0 auto var(--sp-xs);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-contact p { margin-bottom: var(--sp-xs); font-size: 1rem; color: var(--text); }
.footer-contact a { color: var(--text); transition: color var(--transition); }
.footer-contact a:hover { color: var(--primary); }

.footer-zone p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }
.footer-zone p:first-child { color: var(--primary); font-weight: 700; margin-bottom: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding: var(--sp-md) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bot-link {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bot-link:hover { color: var(--primary-h); }

.contact-form-card {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  margin: var(--sp-lg) auto;
  max-width: 920px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: var(--sp-xs);
}

.cf-hint {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.cf-row--3 { grid-template-columns: 1fr 1fr 1.3fr; }

.cf-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  margin-top: var(--sp-md);
  color: var(--text);
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.1rem;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

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

.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  cursor: pointer;
  font-size: 1.05rem;
  margin-top: var(--sp-md);
  line-height: 1.5;
}

.cf-consent input { margin-top: 3px; accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }

.contact-form-card .btn { margin-top: var(--sp-md); }

.cf-confirmation-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--sp-sm);
}

#contact-form-confirmation h3 { margin-bottom: var(--sp-xs); }
#contact-form-confirmation p { color: var(--text-muted); font-size: 1.05rem; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; gap: var(--sp-xs); text-align: center; }
  .cf-row { grid-template-columns: 1fr; }
}
