:root {
  --teal: #00aec2;
  --ink: #22203a;
  --tint: #eef6f8;
  --muted: #6a6a78;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============ HERO ============ */
.hero {
  background: var(--teal);
  display: flex;
  flex-direction: column;
}
.hero__inner {
  flex: 1; /* fill the hero so the middle row can center vertically */
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto 1fr auto; /* security · centered middle · bottom */
  grid-template-areas:
    "security ."
    "visuel   action"
    "bottom   bottom";
  column-gap: 1.25rem;
  row-gap: 0.2rem;
  align-items: center; /* vertically center visuel + action in the 1fr middle row */
}
.hero__security {
  grid-area: security;
  justify-self: start;
  align-self: start;
  width: 100%;
  max-width: 320px;
}
.hero__visuel {
  grid-area: visuel;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 480px;
}
.hero__action {
  grid-area: action;
  color: #fff;
  align-self: center;
  padding-top: 2rem;
}
.hero__title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 0.45rem;
}
.hero__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  opacity: 0.97;
  max-width: 18em;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 300px;
}
.cta__btn {
  display: block;
  transition: transform 0.08s ease;
}
.cta__btn:active {
  transform: translateY(1px);
}
.cta__btn img {
  width: 100%;
}

/* bottom row: bulle bottom-left, Magnard bottom-center (empty 3rd column balances) */
.hero__bottom {
  grid-area: bottom;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 1rem;
  margin-top: 1.25rem;
}
.hero__bulle {
  grid-column: 1;
  justify-self: start;
  align-self: end;
  width: 100%;
  max-width: 420px;
}
.hero__magnard {
  grid-column: 2;
  justify-self: center;
  align-self: end;
  width: 100%;
  max-width: 210px;
  margin-bottom: 0.6rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: 2.75rem 1.25rem;
  text-align: center;
}
.section--white {
  background: #fff;
}
.section--tint {
  background: var(--tint);
}
.section__title {
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 1.6rem;
  max-width: 880px;
}
.section__title em {
  font-style: italic;
  font-weight: 800;
}
.section__img {
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
}
.section__img--wide {
  max-width: 780px;
}
.section__caption {
  color: var(--muted);
  font-style: italic;
  margin: 1.1rem auto 0;
  max-width: 460px;
}

/* ============ COLLECTION ============ */
.collection {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
}
.collection img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* ============ FOOTER ============ */
.footer {
  background: #fff;
  color: #9a96a8;
  text-align: center;
  padding: 1.75rem 1.25rem;
  font-size: 0.9rem;
}

/* ============ MOBILE ============ */
@media (max-width: 760px) {
  .hero {
    background: var(--teal);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "security"
      "visuel"
      "action"
      "bottom";
    justify-items: center;
    text-align: center;
    row-gap: 1rem;
  }
  .hero__security {
    justify-self: start;
    max-width: 290px;
  }
  .hero__visuel {
    justify-self: center;
    max-width: 340px;
  }
  .hero__action {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__subtitle {
    font-size: 1.05rem;
  }
  .cta {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
  /* bottom: bulle bottom-left, Magnard bottom-right (no collision) */
  .hero__bottom {
    grid-template-columns: 1fr auto;
    column-gap: 0.75rem;
    width: 100%;
    align-items: end;
  }
  .hero__bulle {
    grid-column: 1;
    justify-self: start;
    max-width: none;
    width: 100%;
  }
  .hero__magnard {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    max-width: 110px;
    margin-bottom: 0.25rem;
  }
  .section {
    padding: 2.1rem 1rem;
  }
  .section__title {
    font-size: 1.2rem;
  }
  .collection {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__btn {
    transition: none;
  }
}
