/* 1 — Identité visuelle */
.adq {
  --ink: #082237;
  --blue: #2878ff;
  color: var(--ink);
  background: #f2f7ff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
.adq * { box-sizing: border-box; }
.adq [hidden] { display: none !important; }
.adq-wrap { width: min(1420px, 90%); margin: auto; }
.adq .adq-hero { background: radial-gradient(ellipse at 85% 60%, #103e65, transparent 65%), #061c2d; padding: 65px 0; }
.adq .adq-kicker { color: #a7c7e9; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.adq h1 { font: 700 clamp(32px, 3.4vw, 54px)/1.15 Arial, sans-serif; letter-spacing: -.035em; color: #fff; padding: 0; margin: 16px 0 24px; }
.adq h1 span { color: #438bff; }
.adq .adq-hero p:last-child { color: #d4e0ee; max-width: 700px; font-size: 18px; }
.adq .adq-content { padding-top: 50px; padding-bottom: 65px; }
/* 2 — Formulaire et récapitulatif latéral */
.adq .adq-form { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); align-items: start; gap: 36px; }
.adq .adq-main { min-width: 0; }
.adq .adq-card { min-width: 0; margin: 0 0 25px; padding: 28px; border: 1px solid #dce6f1; border-radius: 14px; background: #fff; box-shadow: 0 10px 25px #08223705; }
.adq legend { color: #082237; background: #fff; padding: 0 10px; font-size: 20px; font-weight: 700; }
.adq label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.adq input:not([type="checkbox"]), .adq select, .adq textarea { display: block; width: 100%; max-width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #bdccdd; border-radius: 7px; background: #fbfdff; color: #082237; font: 400 16px/1.4 Arial, sans-serif; }
.adq input::placeholder, .adq textarea::placeholder { color: #526780; opacity: 1; }
.adq textarea { resize: vertical; }
.adq .adq-check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.adq input[type="checkbox"] { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; accent-color: #2878ff; }
.adq .adq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.adq .adq-hint { color: #506781; font-size: 13px; margin: 12px 0 20px; }
.adq .adq-summary { position: sticky; top: 115px; }
.adq h2 { color: #082237; font-size: 25px; padding: 0; margin: 0 0 20px; }
.adq .adq-line { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; margin: 0; border-bottom: 1px solid #e5ecf5; font-size: 14px; }
.adq .adq-line strong { flex-shrink: 0; }
.adq .adq-total { margin-top: 22px; }
.adq .adq-total p { padding: 0; margin: 10px 0; }
.adq .adq-total p:nth-child(3) { font-size: 21px; color: #1458bd; font-weight: 700; }
.adq .adq-warning { padding: 12px !important; background: #fff6e1; border-radius: 8px; color: #684600; font-size: 13px; }
.adq details { font-size: 13px; color: #506781; }
.adq summary { cursor: pointer; }
.adq .adq-button { background: #2878ff; color: #fff; border: 0; border-radius: 8px; padding: 16px 24px; font-size: 15px; font-weight: 700; cursor: pointer; }
.adq .adq-button:hover { background: #1562dc; }
.adq .adq-button:disabled { opacity: .7; cursor: wait; }
.adq :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid #2878ff; outline-offset: 3px; }
.adq a { color: #165fc5; }
.adq .adq-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.adq .adq-error { padding: 20px; background: #fff0ee; border-left: 4px solid #b73925; color: #74271c; }
.adq .adq-success { background: #fff; border: 1px solid #bfd6ca; padding: 35px; border-radius: 14px; color: #082237; }
/* 3 — Mobile */
@media (max-width: 980px) {
  .adq .adq-form { grid-template-columns: 1fr; }
  .adq .adq-summary { position: static; }
}
@media (max-width: 600px) {
  .adq .adq-fields { grid-template-columns: 1fr; }
  .adq .adq-card { padding: 20px; }
  .adq .adq-hero { padding: 45px 0; }
  .adq legend { font-size: 18px; }
  .adq .adq-line { flex-wrap: wrap; gap: 5px; }
  .adq .adq-button { width: 100%; }
}
