/* =========================
   PixelSys - Style global
   ========================= */

* { box-sizing: border-box; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
body { margin: 0; background: #f4f6f9; color: #1c1c1c; }

/* ===== Header / Hero ===== */
.hero {
  background: #fff;
  text-align: center;
  padding: 58px 20px 40px;
  position: relative;
}

.logo {
  max-width: 170px;
  margin: 10px auto 14px;
  display: block;
}

.subtitle {
  color: #555;
  font-size: 1.15em;
  margin-top: 10px;
}

/* ===== Intro ===== */
.intro {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  color: #333;
}

/* ===== Cards / Actions ===== */
.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  text-align: center;
}

.small-note {
  color: #666;
  margin-top: 10px;
  font-size: 0.95em;
}

/* ===== Buttons (CTA) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.98;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

.btn.blue { background: linear-gradient(135deg, #2a63d4, #1f4fb3); }
.btn.green { background: linear-gradient(135deg, #2e9e4c, #1f7e39); }

/* ===== Sections ===== */
.security, .about, .form-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.security ul { padding-left: 20px; color: #333; }

footer {
  background: #fff;
  padding: 30px;
  text-align: center;
  color: #666;
  margin-top: 60px;
}

/* =========================
   Formulaire
   ========================= */
.muted { color: #555; }
.small { font-size: 0.95em; }

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  margin-top: 18px;
}

.contact-form h3 { margin: 18px 0 10px; }
.contact-form label { display: block; font-weight: 700; margin: 12px 0 6px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  margin: 10px 0;
}

.honeypot { display: none !important; }

/* =========================
   Lang switch (FR/EN)
   ========================= */
.lang-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px;
  border-radius: 999px;

  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #111;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 0.92em;
  letter-spacing: 0.3px;

  cursor: pointer;
  transition: background .12s ease, transform .12s ease, color .12s ease, box-shadow .12s ease;
}

.lang-btn:hover {
  background: rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.lang-btn[aria-pressed="true"] {
  background: #2a63d4;
  color: #fff;
  box-shadow: 0 10px 18px rgba(42,99,212,0.25);
}

/* Mobile */
@media (max-width: 520px) {
  .lang-wrap { top: 10px; right: 10px; padding: 5px; }
  .lang-btn { padding: 7px 10px; font-size: 0.9em; }
  .logo { max-width: 140px; }
}

/* =========================
   PixelSys - Case de confirmation (FIX)
   ========================= */

.confirm-box label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

.confirm-box input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  margin-top: 4px !important;
  accent-color: #2a63d4 !important;
  flex-shrink: 0 !important;
}

/* =========================
   PixelSys - Case de confirmation (FIX)
   ========================= */

.confirm-box label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.confirm-box input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: #2a63d4; /* Bleu PixelSys */
  flex-shrink: 0;
}
/* ===== PixelSys Premium Inputs ===== */
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fafbff;
  border: 1px solid #d5d9e2;
  border-radius: 12px;
  padding: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2a63d4;
  box-shadow: 0 0 0 3px rgba(42,99,212,0.20);
  background: #fff;
  outline: none;
}
/* ===== PixelSys Premium Button ===== */
.btn.blue {
  background: linear-gradient(135deg, #2a63d4, #1f4fb3);
  box-shadow: 0 8px 20px rgba(42,99,212,0.25);
}

.btn.blue:hover {
  box-shadow: 0 12px 28px rgba(42,99,212,0.35);
  transform: translateY(-2px);
}
@media (max-width: 520px) {
  .contact-form {
    padding: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 14px;
    font-size: 1.05em;
  }

  .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1em;
  }
}
.confirm-box label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.confirm-box input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: #2a63d4;
  flex-shrink: 0;
}
