/* ============================================================
   De Bouche à Oreille — Page "Devenez nos ambassadeurs"
   Reuses tokens, .container, .btn, .reveal, header/footer/loader
   ============================================================ */

/* ---------- HERO ---------- */
.amb-hero {
  position: relative;
  background: var(--cream);
  color: var(--text);
  padding: 188px 0 120px;
  overflow: hidden;
}
.amb-hero .pattern-wm { opacity: .42; }
.amb-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.amb-hero__eyebrow { color: var(--cherry); }
.amb-hero__title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.92;
  color: var(--ink);
  margin: 14px 0 0;
}
.amb-hero__title em { color: var(--cherry); font-style: normal; }
.amb-hero__sub {
  margin: 26px 0 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 46ch;
  font-weight: 300;
}
.amb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.amb-hero__note {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.amb-hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.amb-hero__note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cherry); }

/* hero badge/medallion on the right */
.amb-hero__badge {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.amb-hero__badge img.slot {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(30,36,38,.1);
  box-shadow: 0 30px 60px -36px rgba(20,24,26,.45);
  --slot-frame-bg: rgba(30,36,38,.05);
}
.amb-hero__stamp {
  position: absolute;
  right: -10px; top: -18px;
  z-index: 3;
  width: 138px; height: 138px;
  border-radius: 50%;
  background: var(--cherry);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-9deg);
  box-shadow: 0 18px 36px -16px rgba(0,0,0,.5);
  animation: stamp-float 6s ease-in-out infinite;
}
.amb-hero__stamp span {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.02;
  max-width: 108px;
}
@keyframes stamp-float {
  0%,100% { transform: rotate(-9deg) translateY(0); }
  50%     { transform: rotate(-6deg) translateY(-8px); }
}

/* ---------- MISSION ---------- */
.amb-mission {
  position: relative;
  background: var(--cream);
  padding: 110px 0;
  overflow: hidden;
}
.amb-mission .pattern-wm { opacity: .4; }
.amb-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.amb-head .uline { margin: 14px auto 0; }
.amb-head .lead { margin: 22px auto 0; text-align: center; }

.amb-mission__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.mission-card {
  background: #fff;
  border: 1px solid rgba(30,36,38,.08);
  border-radius: 8px;
  padding: 34px 28px 30px;
  box-shadow: 0 20px 44px -30px rgba(20,24,26,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -28px rgba(20,24,26,.45);
}
.mission-card__icon {
  width: 56px; height: 56px;
  color: var(--cherry);
  margin-bottom: 22px;
}
.mission-card__icon svg { width: 100%; height: 100%; }
.mission-card__n {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.mission-card h3 {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.mission-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 300;
}

/* ---------- PROFILE ("c'est fait pour vous si…") ---------- */
.amb-profile {
  position: relative;
  background: var(--cream-2);
  padding: 104px 0;
}
.amb-profile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.amb-profile__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 64px -36px rgba(20,24,26,.5);
}
.amb-profile__media img.slot { width: 100%; height: 420px; display: block; }
.amb-checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.amb-checklist li {
  position: relative;
  padding-left: 44px;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 300;
}
.amb-checklist li b { font-weight: 500; }
.amb-checklist li .chk {
  position: absolute;
  left: 0; top: -2px;
  width: 28px; height: 28px;
  color: var(--cherry);
}

/* ---------- PERKS (dark) ---------- */
.amb-perks {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  padding: 110px 0;
  overflow: hidden;
}
.amb-perks .amb-head .lead { color: var(--on-dark-2); }
.amb-perks__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.perk {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  border: 1px solid rgba(244,240,231,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.018);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.perk:hover { border-color: rgba(233,199,90,.4); background: rgba(255,255,255,.04); }
.perk__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  color: var(--lemon);
}
.perk__icon svg { width: 100%; height: 100%; }
.perk h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--on-dark);
  margin-bottom: 7px;
}
.perk p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--on-dark-2);
  font-weight: 300;
}

/* ---------- STEPS ---------- */
.amb-steps {
  position: relative;
  background: var(--cream);
  padding: 108px 0;
  overflow: hidden;
}
.amb-steps .pattern-wm { opacity: .35; }
.amb-steps__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 14px;
}
/* dashed connector */
.step::after {
  content: "";
  position: absolute;
  top: 34px; right: -15px;
  width: 30px; height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 60%, transparent 0);
  background-size: 11px 2px;
  opacity: .5;
}
.step:last-child::after { display: none; }
.step__num {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.9rem;
  box-shadow: 0 16px 30px -16px rgba(20,24,26,.6);
}
.step:nth-child(2) .step__num { background: var(--cherry); }
.step h3 {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 300;
  max-width: 22ch;
  margin: 0 auto;
}

/* ---------- REGIONS ---------- */
.amb-regions {
  position: relative;
  background: var(--cream-2);
  padding: 100px 0;
}
.amb-regions__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.amb-regions .uline { margin: 14px auto 0; }
.region-label {
  margin: 40px 0 16px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 400;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  cursor: default;
}
.chip--prov {
  background: var(--ink);
  color: var(--cream);
}
.chip--prov:hover { background: var(--cherry); transform: translateY(-3px); }
.chip--city {
  background: #fff;
  border: 1px solid rgba(30,36,38,.12);
  color: var(--text);
}
.chip--city:hover { border-color: var(--cherry); color: var(--cherry); transform: translateY(-3px); }
.amb-regions__note {
  margin-top: 38px;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--cherry);
}

/* ---------- FORM ---------- */
.amb-form-sec {
  position: relative;
  background: var(--cream);
  padding: 104px 0 90px;
  overflow: hidden;
}
.amb-form-sec .pattern-wm { opacity: .3; }
.amb-form-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid rgba(30,36,38,.08);
  border-radius: 12px;
  box-shadow: 0 44px 90px -54px rgba(20,24,26,.5);
  padding: 56px 56px 50px;
  overflow: hidden;
}
.amb-form-card__head { text-align: center; margin-bottom: 34px; }
.amb-form-card__head .uline { margin: 12px auto 0; }
.amb-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.amb-form .field { display: flex; flex-direction: column; }
.amb-form .field--full { grid-column: 1 / -1; }
.amb-form label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 8px;
}
.amb-form input,
.amb-form select,
.amb-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream-2);
  border: 1.5px solid transparent;
  border-bottom: 1.5px solid rgba(30,36,38,.16);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.amb-form textarea { resize: vertical; min-height: 110px; }
.amb-form input:focus,
.amb-form select:focus,
.amb-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cherry);
  box-shadow: 0 6px 18px -10px rgba(122,15,24,.4);
}
.amb-form input::placeholder,
.amb-form textarea::placeholder { color: var(--text-mute); }
.amb-form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.amb-form__err { color: var(--cherry); font-size: 0.85rem; }
.amb-form__ok {
  text-align: center;
  padding: 30px 10px 6px;
}
.amb-form__ok .big {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--cherry);
  line-height: 1;
}
.amb-form__ok p { margin-top: 14px; color: var(--text-2); font-weight: 300; line-height: 1.6; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .amb-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .amb-hero__badge { max-width: 380px; }
  .amb-mission__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .amb-profile__grid { grid-template-columns: 1fr; gap: 40px; }
  .amb-profile__media { order: 2; }
  .amb-perks__grid { grid-template-columns: 1fr 1fr; }
  .amb-steps__grid { grid-template-columns: 1fr 1fr; gap: 44px 20px; }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .amb-hero { padding: 150px 0 84px; }
  .amb-mission__grid { grid-template-columns: 1fr; }
  .amb-perks__grid { grid-template-columns: 1fr; }
  .amb-steps__grid { grid-template-columns: 1fr; }
  .amb-form { grid-template-columns: 1fr; }
  .amb-form-card { padding: 36px 24px 32px; }
  .amb-hero__stamp { width: 100px; height: 100px; }
}
