:root {
  --navy: #061534;
  --blue: #0a5cff;
  --green: #8ed21f;
  --ink: #10203e;
  --muted: #64718a;
  --line: #dce4ef;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  transition: 0.2s ease;
}
a {
  color: inherit;
  text-decoration: none;
}
.hidden {
  display: none !important;
}
.topbar {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: #fff;
  border-bottom: 1px solid #edf1f6;
  position: relative;
  z-index: 10;
}
.brand {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--navy);
}
.brand b {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 52px;
  font-weight: 650;
}
nav a:hover {
  color: var(--blue);
}
.outlineButton {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 14px 20px;
  border-radius: 9px;
  font-weight: 700;
}
.outlineButton:hover {
  background: var(--blue);
  color: #fff;
}
.hero {
  min-height: 780px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(620px, 1.18fr);
  gap: 4vw;
  padding: 64px 6vw 70px;
  background: linear-gradient(135deg, #fdfefe 0%, #f5f9fe 62%, #e7f0fb 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(32deg, transparent 46%, #c9d7e9 47%, transparent 48%),
    linear-gradient(148deg, transparent 48%, #d6e1ef 49%, transparent 50%);
  background-size:
    165px 120px,
    220px 170px;
}
.mapLines i {
  position: absolute;
  width: 360px;
  height: 2px;
  background: #3f86ff;
  opacity: 0.65;
  transform: rotate(38deg);
}
.mapLines i:after {
  content: "";
  position: absolute;
  right: 22%;
  top: -6px;
  width: 11px;
  height: 11px;
  border: 3px solid white;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #acd761;
}
.mapLines i:nth-child(1) {
  top: 28%;
  left: -8%;
}
.mapLines i:nth-child(2) {
  top: 72%;
  left: 12%;
  transform: rotate(-52deg);
}
.mapLines i:nth-child(3) {
  top: 23%;
  right: -9%;
  transform: rotate(-38deg);
}
.mapLines i:nth-child(4) {
  top: 77%;
  right: 7%;
  transform: rotate(21deg);
}
.heroCopy,
.bookingCard {
  position: relative;
  z-index: 2;
}
.heroCopy {
  align-self: center;
  padding-bottom: 30px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 800;
}
.heroCopy h1 {
  font-size: clamp(58px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin: 16px 0 28px;
  color: var(--navy);
}
.heroCopy h1 em {
  font-style: normal;
  color: var(--blue);
}
.lead {
  max-width: 570px;
  font-size: 21px;
  line-height: 1.55;
  color: #44536f;
}
.reassurance {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 38px;
  font-weight: 700;
  font-size: 14px;
}
.bookingCard {
  align-self: start;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(212, 221, 233, 0.9);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 22px 55px rgba(26, 52, 88, 0.16);
}
.cardHeading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.cardHeading h2 {
  font-size: 30px;
  margin: 4px 0;
  color: var(--navy);
}
.step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.secure {
  font-size: 12px;
  color: #65728a;
  background: #f2f6fb;
  padding: 8px 10px;
  border-radius: 99px;
}
.fieldGrid {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.fieldGrid.two {
  grid-template-columns: repeat(2, 1fr);
}
.fieldGrid.three {
  grid-template-columns: repeat(3, 1fr);
}
.fieldGrid.four {
  grid-template-columns: repeat(4, 1fr);
}
label,
legend {
  font-size: 12px;
  font-weight: 750;
  color: #263552;
}
input,
select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 12px;
  border: 1px solid #ccd6e3;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.11);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.zoneChoice {
  display: flex;
  gap: 9px;
  margin: 8px 0 18px;
}
.zoneChoice legend {
  margin-bottom: 8px;
}
.zoneChoice label {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.zoneChoice label.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #f2f6ff;
}
.zoneChoice input {
  width: auto;
  margin: 0 7px 0 0;
}
.parcelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 0 8px;
}
.parcelHeader button {
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.parcelRow {
  display: grid;
  grid-template-columns: 30px 1.5fr 1fr 28px;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
.parcelNumber {
  align-self: center;
  margin-top: 18px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  font-weight: 800;
}
.remove {
  border: 0;
  background: #fff1f1;
  color: #bd2f2f;
  border-radius: 8px;
  height: 43px;
  cursor: pointer;
  font-size: 22px;
}
.detailsPanel {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 8px;
}
.detailsPanel h3 {
  font-size: 15px;
  margin: 17px 0 10px;
  color: var(--navy);
}
.consent {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.consent input {
  width: auto;
  margin: 0;
}
.totalBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 20px;
}
.totalBar div {
  display: grid;
}
.totalBar small {
  color: var(--muted);
}
.totalBar strong {
  font-size: 24px;
  color: var(--navy);
}
.totalBar span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.primary {
  border: 0;
  border-radius: 9px;
  padding: 15px 30px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(10, 92, 255, 0.2);
}
.primary:hover {
  transform: translateY(-1px);
  background: #004cdf;
}
.primary:disabled {
  background: #9ba9bd;
  cursor: not-allowed;
  box-shadow: none;
}
.notice,
.error {
  font-size: 13px;
  padding: 11px;
  border-radius: 8px;
  margin: 12px 0 0;
}
.notice {
  background: #fff7df;
  color: #705500;
}
.error {
  background: #fff0f0;
  color: #9a2020;
}
.how {
  padding: 90px 7vw;
  max-width: 1400px;
  margin: auto;
}
.how h2,
.infoBand h2 {
  font-size: 42px;
  letter-spacing: -0.04em;
  margin: 8px 0 35px;
  color: var(--navy);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.steps b {
  color: var(--green);
  font-size: 24px;
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  color: var(--muted);
  line-height: 1.6;
}
.infoBand {
  margin: 0 5vw 60px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--navy);
  border-radius: 22px;
  color: #fff;
}
.infoBand h2 {
  color: #fff;
  margin-bottom: 0;
}
.infoBand > p {
  font-size: 18px;
  line-height: 1.7;
  color: #ced7e7;
}
.infoBand strong {
  color: var(--green);
}
footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer .brand {
  margin-right: auto;
  font-size: 30px;
}
footer a:hover {
  color: var(--blue);
}
.confirmation {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #f8fbff, #e8f2ff);
}
.confirmation > div {
  max-width: 620px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 24px 60px rgba(17, 45, 83, 0.14);
}
.confirmation .check {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 35px auto 20px;
  border-radius: 50%;
  background: #edfbd8;
  color: #5f9800;
  font-size: 36px;
}
.confirmation h1 {
  font-size: 38px;
  color: var(--navy);
}
.confirmation p {
  color: var(--muted);
  line-height: 1.7;
}
.confirmation small {
  display: block;
  margin: 20px;
}
.confirmation .primary {
  display: inline-block;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }
  .heroCopy {
    max-width: 700px;
  }
  .bookingCard {
    width: 100%;
  }
  .fieldGrid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 76px;
    padding: 0 20px;
  }
  .brand {
    font-size: 33px;
  }
  .outlineButton {
    padding: 10px 12px;
  }
  .hero {
    display: block;
    padding: 42px 16px;
  }
  .heroCopy h1 {
    font-size: 56px;
  }
  .lead {
    font-size: 18px;
  }
  .reassurance {
    gap: 12px;
    margin-bottom: 32px;
  }
  .bookingCard {
    padding: 20px;
  }
  .secure {
    display: none;
  }
  .fieldGrid.two,
  .fieldGrid.three,
  .fieldGrid.four {
    grid-template-columns: 1fr;
  }
  .parcelRow {
    grid-template-columns: 28px 1fr 1fr 25px;
  }
  .primary {
    padding: 14px 16px;
  }
  .steps,
  .infoBand {
    grid-template-columns: 1fr;
  }
  .how {
    padding: 65px 20px;
  }
  .infoBand {
    margin: 0 16px 40px;
    padding: 28px;
  }
  .how h2,
  .infoBand h2 {
    font-size: 34px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  footer .brand {
    margin: 0;
  }
}

/* Identité visuelle officielle ASP74 */
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 0;
  letter-spacing: 0;
}
.brand img {
  display: block;
  width: 178px;
  height: 76px;
  object-fit: contain;
}
footer .brand {
  margin-right: auto;
}
footer .brand img {
  width: 142px;
  height: 62px;
}
.confirmation .brand img {
  width: 190px;
  height: 92px;
  margin: auto;
}
@media (max-width: 700px) {
  .topbar .brand img {
    width: 138px;
    height: 60px;
  }
}
