/* =========================================================
   FALOM AI: contact section and footer in the home page's black look
   (black, a faint FALOM blue/violet glow, film grain, dark glass fields, gradient button)
   To go back: remove the css/contact.css line in index.html (and the "footer-dark" class on the footer).
   ========================================================= */
#contact.cta { position: relative; overflow: hidden; background: #000; color: #fff; }
/* A faint glow of the logo's colours behind the form */
#contact.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 38% 42% at 50% 62%, rgba(30, 107, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 26% 30% at 62% 72%, rgba(155, 92, 246, 0.12), transparent 70%),
    radial-gradient(ellipse 22% 26% at 38% 52%, rgba(25, 227, 255, 0.07), transparent 70%);
}
/* Film grain, like the hero and "About" */
#contact.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#contact .container { position: relative; z-index: 1; }
#contact .headline { color: #fff; }
#contact .lead { color: rgba(255, 255, 255, 0.6); }

/* Dark glass fields with a thin light border */
#contact .form input, #contact .form textarea, #contact .form select {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
#contact .form input::placeholder, #contact .form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
#contact .form input:hover, #contact .form textarea:hover, #contact .form select:hover { border-color: rgba(255, 255, 255, 0.22); }
#contact .form input:focus, #contact .form textarea:focus, #contact .form select:focus {
  outline: none; background: rgba(255, 255, 255, 0.06); border-color: rgba(64, 140, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.15);
}
/* The dropdown gets its own small arrow */
#contact .form select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='white' stroke-opacity='0.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 18px center;
}
#contact .form select option { background: #0b0b10; color: #fff; }

/* "Send": the one action here, in the FALOM gradient */
#contact .form button[type="submit"] {
  margin-top: 6px; border: 0; color: #fff; font-weight: 600;
  background: linear-gradient(110deg, #19e3ff 0%, #1e6bff 50%, #9b5cf6 100%); background-size: 160% 100%; background-position: 0% 50%;
  box-shadow: 0 14px 40px rgba(30, 107, 255, 0.3);
  transition: background-position 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
#contact .form button[type="submit"]:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 18px 50px rgba(110, 92, 246, 0.4); }

/* Black footer with a thin line on top */
.footer.footer-dark { background: #000; color: rgba(255, 255, 255, 0.45); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer.footer-dark a { color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.footer.footer-dark a:hover { color: #fff; }

/* Consent line under the form, linking to the privacy policy (confidentialite.html) */
#contact .form-consent { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); text-align: center; }
#contact .form-consent a { color: rgba(255, 255, 255, 0.82); text-decoration: underline; text-underline-offset: 3px; }
