:root {
  --atlox-blue: #0e4194;
  --atlox-orange: #f59c00;
  --atlox-orange-dark: #d88200;
  --text: #1a1f36;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --stroke: #e5e7eb;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --focus-ring: 0 0 0 4px rgba(245,156,0,0.18);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.atlox-contact {
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(14,65,148,0.03); /* bleu très léger partout */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.atlox-hero {
  text-align: center;
  padding: 28px 28px 16px;
  background: transparent !important; /* plus de gris */
  border-bottom: none;                /* supprime la ligne grise */
}

.atlox-hero h2 {
  color: var(--atlox-blue);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.atlox-hero .subtitle {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

.atlox-hero .reassurance {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* Formulaire (peut rester bleu très léger si tu veux la continuité) */
.atlox-form {
  padding: 22px 22px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.atlox-form .form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 14px;
}

.atlox-form .col {
  display: grid;
  gap: 12px;
}

.atlox-form input,
.atlox-form select,
.atlox-form textarea,
.atlox-message {
  width: 100%;
  appearance: none;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, transform .04s ease;
}

.atlox-form input::placeholder,
.atlox-form textarea::placeholder,
.atlox-message::placeholder {
  color: #9aa1ad;
}

.atlox-form input:focus,
.atlox-form select:focus,
.atlox-form textarea:focus,
.atlox-message:focus {
  outline: none;
  border-color: var(--atlox-orange);
  box-shadow: var(--focus-ring);
}

.atlox-form input:hover,
.atlox-form select:hover,
.atlox-form textarea:hover,
.atlox-message:hover {
  border-color: #d6dae1;
}

.field-group {
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #fafafa;
}

.field-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.field-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  resize: vertical;
}

.atlox-message {
  margin: 12px 0;
  min-height: 120px;
}

.atlox-row { margin: 10px 0; }

.recaptcha-box { margin: 12px 0 18px; }

/* Bouton principal sans halo marqué */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--atlox-orange), var(--atlox-orange-dark));
  color: #fff;
  border: none;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 10px rgba(245,156,0,0.2);
}

.btn-submit:hover {
  filter: brightness(1.03);
  box-shadow: 0 6px 14px rgba(245,156,0,0.24);
}

.btn-submit:active {
  transform: translateY(1px);
}

.cta-alt {
  text-align: center;
  margin: 18px 0 6px;
}

.cta-alt a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.cta-alt a:hover { filter: brightness(1.04); }
.cta-alt a:active { transform: translateY(1px); }

.btn-whatsapp { background: #25D366; }
.btn-messenger { background: #0084FF; }

.reassurance-list {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.success-message {
  margin-top: 18px;
  text-align: center;
  color: #059669;
  font-weight: 700;
}

.atloxc-alert {
  margin: 16px auto;
  max-width: 920px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}

.atloxc-alert.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.atloxc-alert.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
}

/* States et accessoires */
.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.12) !important;
}

.helper {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .atlox-contact { margin: 28px 16px; }
}

@media (max-width: 720px) {
  .atlox-form .form-columns { grid-template-columns: 1fr; }
  .atlox-hero { padding: 22px 16px 12px; }
  .atlox-hero h2 { font-size: 26px; }
}
