/* PALETTE */
:root {
  --bg-dark: #0c1122;
  --bg-light: #f4f7ff;
  --text-dark: #e8ebff;
  --text-light: #1c2033;
  --accent1: #6a5cff; /* bleu-violet */
  --accent2: #8a7bff;
  --glow: 0 0 12px rgba(130, 110, 255, 0.55);
}

/* Mode sombre / clair */
html[data-theme="dark"] .add-footer {
  background: var(--bg-dark);
  color: var(--text-dark);
}
html[data-theme="light"] .add-footer {
  background: var(--bg-light);
  color: var(--text-light);
}

/* FOOTER GLOBAL */
.add-footer {
  padding: 4rem 1rem 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

/* Layout */
.footer-inner {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 220px 1fr 1fr 320px;
  gap: 3rem;

  align-items: start;
}
/* Ancien bloc brand (si besoin plus tard) */
.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  /*gap: 10px;*/
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(96,165,250,.35);
}

.brand span {
  font-size: 1.05rem;
}


.footer-col {
  max-width: 100%; 
  display: flex;
  flex-direction: column;        
}
.footer-form {
  max-width: 100px;         /* empêche le formulaire de prendre trop de place */
  max-width: 320px;
}
/* LOGO + TITRE */
.footer-logo {
  width: 190px;
  height: 90px;
  border-radius: 12px;
  /*margin-bottom: 0.8rem;*/
}

.footer-slogan {
  opacity: 0.8;
  margin: 0.5rem 0 1.2rem;
}

/* SOCIAL */
/*
.footer-social {
  display: flex;
  gap: 0.8rem;
}
*/
.footer-social {
  display: flex;
  /*flex-direction: column; */  /* <-- vertical */
  gap: 0.8rem;
}

/*
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  transition: 0.25s ease;
  position: relative;
}
*/
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  transition: 0.25s ease;
  position: relative;
}

html[data-theme="dark"] .social-btn:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

html[data-theme="light"] .social-btn:hover {
  background: rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* TITRES COLONNES */
.footer-col h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent1);
}

/* SEPARATEUR PREMIUM */
.footer-separator {
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.sep-line {
  height: 2px;
  flex-grow: 1;
  background: linear-gradient(to right, transparent, var(--accent1), transparent);
}

.sep-icons {
  display: flex;
  gap: 0.5rem;
}

.cross {
  width: 12px;
  height: 12px;
  position: relative;
}
.cross:before,
.cross:after {
  content: "";
  position: absolute;
  background: var(--accent1);
  border-radius: 2px;
}
.cross:before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}
.cross:after {
  height: 100%;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
}

/* COPYRIGHT */
.footer-bottom {
  text-align: center;
  opacity: 0.6;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* FORMULAIRE FOOTER */
.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: inherit;
  transition: 0.25s ease;
}

html[data-theme="light"] .footer-form input,
html[data-theme="light"] .footer-form textarea {
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 10px rgba(120,100,255,0.35);
  outline: none;
}

.send-btn {
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: 0.5px;
}

.send-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(120,100,255,0.55);
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  min-height: 20px;
}

.footer-contact-note {
  line-height: 1.7;
  opacity: 0.85;
}

@media (min-width: 1600px) {
  .footer-inner {
    max-width: var(--maxw-wide);
    grid-template-columns: 240px 1fr 1fr 360px;
  }
}

@media (min-width: 2200px) {
  .footer-inner {
    max-width: var(--maxw-ultra);
    grid-template-columns: 260px 1fr 1fr 380px;
  }
}








































