/*!
 * Meet Your Honda — feuille de styles de l'application (design de la démo finale, charte CDC V8.1 §06).
 *
 * Toutes les règles sont préfixées par #meet-your-honda : l'application garde le même rendu
 * quel que soit le thème (Astra…), sans Shadow DOM (incompatible avec le main.js de Brevo).
 * Valeurs reprises de la démo finale après résolution de ses surcharges successives ;
 * typographie remplacée par Helvetica (CDC §06).
 */

/* ---------------------------------------------------------------- 1. Jetons */
#meet-your-honda {
  --myh-font: Helvetica, Arial, sans-serif;
  --myh-primary: #3168d5;      /* bleu principal / header quiz */
  --myh-cta: #2858cf;          /* boutons CTA */
  --myh-ink: #172f66;          /* texte principal */
  --myh-muted: #617493;        /* texte secondaire */
  --myh-link: #275dce;         /* liens */
  --myh-paper: #f4f7fc;        /* fond principal */
  --myh-backdrop: #e7edf7;     /* fond externe desktop */
  --myh-result-bg: #f6f8fc;    /* fond résultat */
  --myh-answer: #203c70;       /* texte réponses */
  --myh-option-border: #d9e3f2;
  --myh-field-border: #d4e2f1;
  --myh-active-bg: #f7faff;
  --myh-active-border: #3065d3;
  --myh-progress: #b9ea44;
  --myh-sky: #4cb6eb;
  --myh-pink: #e83c93;
  --myh-accent: #2e66d4;       /* eyebrow, puce de réponse */
  --myh-focus: #101f49;
}

/* ------------------------------------------- 2. Page dédiée (autonome / plein écran) */
body.myh-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #e7edf7;
  color: #172f66;
  font-family: Helvetica, Arial, sans-serif;
}
body.myh-page .myh-page__main { display: block; width: 100%; margin: 0; padding: 0; }

/* ------------------------------------------------------ 3. Isolation du thème */
/* Le formulaire Brevo garde ses propres modèles de boîte (sib-styles.css : champs en content-box). */
#meet-your-honda,
#meet-your-honda :where(:not(.sib-form, .sib-form *)),
#meet-your-honda :where(:not(.sib-form, .sib-form *))::before,
#meet-your-honda :where(:not(.sib-form, .sib-form *))::after { box-sizing: border-box; }

#meet-your-honda {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--myh-font);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  color: var(--myh-ink);
  direction: ltr;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Les éléments du formulaire Brevo sont exclus : sib-styles.css doit continuer à s'appliquer. */
#meet-your-honda :where(h1, h2, h3, p, figure, ul, ol, li, blockquote, label):where(:not(.sib-form, .sib-form *)) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: none;
  text-shadow: none;
}
#meet-your-honda :where(img):where(:not(.sib-form *)) {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
#meet-your-honda :where(a):where(:not(.sib-form *)) { color: inherit; text-decoration: none; box-shadow: none; }
#meet-your-honda :where(button):where(:not(.sib-form *)) {
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: normal;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  transition: none;
  cursor: pointer;
}

/* Focus clavier visible partout (CDC §06). */
#meet-your-honda :focus-visible { outline: 3px solid var(--myh-focus); outline-offset: 2px; }
#meet-your-honda [tabindex="-1"]:focus { outline: none; }

#meet-your-honda .myh-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ------------------------------------------------------- 4. Coque « téléphone » */
#meet-your-honda .myh-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 930px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--myh-paper);
  border-radius: 0 0 28px 28px;
  box-shadow: none;
}
#meet-your-honda .myh-stage {
  position: relative;
  flex: 1;
  overflow: auto;
  background: var(--myh-paper);
}
#meet-your-honda .myh-screen {
  position: relative;
  display: none;
  flex-direction: column;
  min-height: 100%;
}
#meet-your-honda .myh-screen.is-active { display: flex; }
#meet-your-honda .myh-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 5px;
  pointer-events: none;
  background: linear-gradient(90deg, #04b9f5 0 18%, #b5e837 18% 35%, #ffce41 35% 51%, #ee2a89 51% 69%, #6944c7 69% 84%, #04b9f5 84%);
}

/* Boutons communs */
#meet-your-honda .myh-btn {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--myh-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: normal;
  cursor: pointer;
  box-shadow: 0 8px 20px #2858cf25;
}
#meet-your-honda .myh-btn:active { transform: translateY(1px); }
#meet-your-honda .myh-btn:disabled {
  background: #a8bce9;
  color: #fff;
  opacity: 1;
  box-shadow: none;
  cursor: default;
  transform: none;
}
#meet-your-honda .myh-actions { padding: 14px 20px 16px; background: #fff; box-shadow: none; }
#meet-your-honda .myh-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--myh-accent);
}
/* Rangée de logos : Honda à gauche (position et taille de la démo : 112 px de large), Univers Motors
   blanc à droite. Le PNG Univers Motors (424 × 75) est recadré au ras du dessin : sa hauteur est celle
   du dessin du logo Honda de l'écran (le JPG et le PNG Honda gardent une marge autour du dessin) et sa
   largeur reste automatique, proportions d'origine conservées. Les deux dessins, centrés
   verticalement, ont ainsi le même haut, le même bas et le même axe.
   --myh-logo-w = largeur du logo Honda : 112 px, réduite (avec le logo Univers Motors, dans la même
   proportion) seulement si la rangée manque de place — écran de moins de 320 px, barre de défilement. */
#meet-your-honda .myh-brand {
  --myh-logo-w: 112px;
  position: relative;
  z-index: 1; /* au-dessus de l'anneau décoratif de l'en-tête du quiz */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 22px;
  container-type: inline-size;
}
/* Navigateurs sans unités de conteneur : réduction fixe sous 320 px. */
@media (max-width: 319px) {
  #meet-your-honda .myh-brand { --myh-logo-w: 96px; }
}
/* Largeur disponible = logo Honda + logo Univers Motors + 10 px d'écart (+ marges de l'accueil). */
@supports (width: 1cqw) {
  #meet-your-honda .myh-brand { --myh-logo-w: min(112px, (100cqw - 10px) / (1 + 29 / 112 * 46 / 54 * 424 / 75)); }
  #meet-your-honda .myh-brand--welcome { --myh-logo-w: min(112px, (100cqw - 18px) / (1 + 10 / 230 + 48 / 230 * 424 / 75)); }
}
#meet-your-honda .myh-logo-white {
  display: block;
  flex: none;
  width: var(--myh-logo-w, 112px);
  height: calc(var(--myh-logo-w, 112px) * 29 / 112);
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 1px;
}
#meet-your-honda .myh-dealer-logo {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  /* JPG Honda 218 × 54 affiché en 112 × 29 px (object-fit: cover) : dessin de 46 px sur 54 → 24,7 px. */
  height: calc(var(--myh-logo-w, 112px) * 29 / 112 * 46 / 54);
}

/* ------------------------------------------------------------- 5. Accueil */
/* Démo finale : dégradé bleu, logo Honda blanc, titre « MEET YOUR HONDA » en image, texte blanc,
   bouton rouge, illustration fondue en bas d'écran. */
#meet-your-honda .myh-screen--welcome { background: #50b0ea; }
#meet-your-honda .myh-wl-top {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 25px 0;
  background: linear-gradient(180deg, #3172d6 0%, #3172d6 8%, #3172d6 17%, #3172d6 25%, #3274d7 33%, #357cda 42%, #3a85de 50%, #3e8ee1 58%, #4297e4 67%, #469ee6 75%, #4ba5e5 83%, #4eace7 91%, #50b0ea 100%, #50b0ea 100%);
}
#meet-your-honda .myh-brand--welcome { margin: 0; }
#meet-your-honda .myh-wl-logo { display: block; flex: none; width: var(--myh-logo-w, 112px); height: auto; margin-left: 4px; }
/* PNG Honda 230 × 64 affiché sur 112 px : dessin de 48 px sur 64 → 23,4 px. Marge droite égale au
   retrait gauche du dessin Honda (4 px + 10/230 de sa largeur) : les deux logos sont symétriques. */
#meet-your-honda .myh-brand--welcome .myh-dealer-logo {
  height: calc(var(--myh-logo-w, 112px) * 48 / 230);
  margin-right: calc(4px + var(--myh-logo-w, 112px) * 10 / 230);
}
#meet-your-honda .myh-wl-title {
  display: block;
  width: 232px;
  max-width: calc(100% - 4px);
  height: auto;
  margin: 62px 0 0 4px;
}
#meet-your-honda .myh-wl-copy { margin-top: auto; padding-top: 34px; }
#meet-your-honda .myh-wl-copy h1 {
  max-width: 360px;
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1.2px;
  color: #fff;
}
#meet-your-honda .myh-wl-copy p {
  max-width: 320px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #ffffffe6;
}
#meet-your-honda .myh-wl-btn {
  display: block;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: #d03526;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: normal;
  cursor: pointer;
  transition: filter .15s;
}
@media (hover: hover) {
  #meet-your-honda .myh-wl-btn:hover { filter: brightness(.93); }
}
#meet-your-honda .myh-wl-btn:active { transform: translateY(1px); }
#meet-your-honda .myh-wl-note {
  margin: 12px 0 0;
  padding-bottom: 6px;
  text-align: center;
  font-size: 11px;
  color: #ffffffb3;
}
#meet-your-honda .myh-wl-art {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24px);
  mask-image: linear-gradient(180deg, transparent, #000 24px);
}

/* ---------------------------------------------------------------- 6. Quiz */
#meet-your-honda .myh-screen--quiz { background: var(--myh-paper); }
#meet-your-honda .myh-quiz-head {
  position: relative;
  flex: none;
  min-height: 238px;
  padding: 23px 20px 19px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: var(--myh-primary);
  color: #fff;
}
/* Anneau décoratif : 190 px + bordure de 25 px, comme dans la démo (où box-sizing ne touche pas ::after). */
#meet-your-honda .myh-quiz-head::after {
  content: "";
  position: absolute;
  top: -115px;
  right: -60px;
  box-sizing: content-box;
  width: 190px;
  height: 190px;
  border: 25px solid #ffffff18;
  border-radius: 50%;
  pointer-events: none;
}
#meet-your-honda .myh-qtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(16px, 4.5vw, 21px);
  font-weight: 300;
  letter-spacing: .2px;
  text-transform: uppercase;
}
#meet-your-honda .myh-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  opacity: .92;
}
#meet-your-honda .myh-track {
  height: 4px;
  margin: 14px 0 17px;
  border-radius: 8px;
  background: #5381d9;
}
#meet-your-honda .myh-track__bar {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 9px;
  background: var(--myh-progress);
  transition: width .25s;
}
#meet-your-honda .myh-quiz-head h2 {
  max-width: 340px;
  margin: 0 0 7px;
  font-size: clamp(24px, 6.8vw, 30px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.55px;
  color: #fff;
}
#meet-your-honda .myh-quiz-head p { margin: 0; font-size: 13px; line-height: 1.35; opacity: .9; }
#meet-your-honda .myh-choices {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px 20px;
  background: var(--myh-paper);
}
#meet-your-honda .myh-choice {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 11px 13px;
  border: 1.5px solid var(--myh-option-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--myh-answer);
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: .16s;
}
#meet-your-honda .myh-choice:hover { border-color: #77a7ec; }
#meet-your-honda .myh-choice.is-selected {
  border-color: var(--myh-active-border);
  background: var(--myh-active-bg);
  box-shadow: 0 0 0 1px #3065d31a;
}
#meet-your-honda .myh-choice__dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 12px;
  border: 1.5px solid #b8c7dd;
  border-radius: 50%;
}
#meet-your-honda .myh-choice.is-selected .myh-choice__dot { border-color: var(--myh-active-border); }
#meet-your-honda .myh-choice.is-selected .myh-choice__dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--myh-accent);
}
#meet-your-honda .myh-actions--nav { padding: 14px 19px 17px; background: #fff; }
#meet-your-honda .myh-nav { display: flex; align-items: center; gap: 9px; }
#meet-your-honda .myh-back {
  flex: none;
  width: 42px;
  height: 48px;
  padding: 0;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  background: #fff;
  color: #50678b;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
#meet-your-honda .myh-nav .myh-btn { flex: 1; height: 48px; font-size: 15px; }

/* ------------------------------------------------------------ 7. Résultat */
#meet-your-honda .myh-screen--result { overflow-y: auto; background: var(--myh-result-bg); }
#meet-your-honda .myh-result-art-wrap {
  position: relative;
  flex: none;
  width: 100%;
  margin: 0;
  background: var(--myh-result-bg);
  container-type: inline-size; /* unités cqw : le bouton suit la largeur du visuel */
}
#meet-your-honda .myh-result-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Le bouton « Participer au Day Drive » est dessiné dans les visuels de la démo finale (864 × 1536 px :
   x 140–762, y 1368–1446, Jazz 1370–1449). Un vrai bouton HTML le recouvre entièrement, dans la
   couleur du visuel (--myh-result-cta, posée par app.js), avec quelques px de marge pour masquer
   l'ancien texte. */
#meet-your-honda .myh-result-cta {
  position: absolute;
  z-index: 2;
  left: 15.86%;
  top: 88.93%;
  width: 72.8%;
  height: 5.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  border-radius: 1cqw;
  background: var(--myh-result-cta, #3256c7);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-size: clamp(11px, 3.6cqw, 15px);
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .15s, transform .1s;
}
@media (hover: hover) {
  #meet-your-honda .myh-result-cta:hover:not(:disabled) { filter: brightness(.9); }
}
#meet-your-honda .myh-result-cta:active:not(:disabled) { transform: translateY(1px); }
#meet-your-honda .myh-result-cta:disabled { opacity: .65; cursor: not-allowed; }
/* « Refaire le test » (absent de la démo finale, conservé du CDC) : discret, dans la marge basse du visuel. */
#meet-your-honda .myh-retry {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 94.75%;
  width: max-content;
  min-height: 25px;
  margin: 0 auto;
  padding: 0 6px;
  border: 0;
  background: none;
  color: #35568b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* --------------------------------------------------------- 8. Formulaire */
#meet-your-honda .myh-screen--lead { background: var(--myh-paper); }
#meet-your-honda .myh-lead-head {
  padding: 22px 23px 27px;
  border-radius: 18px 18px 0 0;
  background: var(--myh-primary);
  color: #fff;
}
#meet-your-honda .myh-lead-head .myh-brand { margin-bottom: 20px; }
#meet-your-honda .myh-step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #d4e7ff;
}
#meet-your-honda .myh-lead-head h2 {
  margin: 9px 0 6px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.03;
  color: #fff;
}
#meet-your-honda .myh-lead-head p { margin: 0; font-size: 13px; line-height: 1.45; color: #f1f5ff; }
#meet-your-honda .myh-lead-wrap { flex: 1; padding: 8px 17px 32px; }
#meet-your-honda .myh-lead-match {
  margin-bottom: 15px;
  padding: 13px 15px;
  border: 1px solid #d8e6f9;
  border-radius: 12px;
  background: #fff;
  color: #1b477d;
  font-size: 12px;
  font-weight: 800;
}
#meet-your-honda .myh-lead-match strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  font-weight: 900; /* « bolder » sur un parent en 800, comme en V8 */
  color: #235ed5;
}
#meet-your-honda .myh-pickup-info,
#meet-your-honda .myh-pickup-confirm {
  margin: 0 0 17px;
  padding: 15px 17px;
  border: 1px solid #b9cff4;
  border-radius: 14px;
  background: #edf4ff;
  text-align: left;
  color: var(--myh-ink);
}
#meet-your-honda .myh-pickup-label {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #426ca9;
}
#meet-your-honda .myh-pickup-info strong,
#meet-your-honda .myh-pickup-confirm strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: #173c73;
}
#meet-your-honda .myh-pickup-info span,
#meet-your-honda .myh-pickup-confirm span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--myh-cta);
}
#meet-your-honda .myh-brevo-stall {
  margin: 8px auto;
  padding: 12px;
  border: 1px solid #efd9ad;
  border-radius: 10px;
  background: #fff6e6;
  color: #825a1f;
  font: 13px/1.5 var(--myh-font);
  text-align: center;
}
#meet-your-honda .myh-brevo-stall[hidden] { display: none; }
#meet-your-honda .myh-brevo-fallback {
  padding: 12px 9px 3px;
  font: 700 12px/1.5 var(--myh-font);
  text-align: center;
}
#meet-your-honda .myh-brevo-fallback a { color: var(--myh-link); text-decoration: underline; }
#meet-your-honda .myh-back-link {
  display: block;
  width: auto;
  margin: 10px auto 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #5d7394;
  font: 700 12px var(--myh-font);
  cursor: pointer;
}
#meet-your-honda .myh-back-link:hover { text-decoration: underline; }

/* ------------------------------------------- 9. Formulaire Brevo (natif, restylé) */
/* Repris du code officiel Brevo (bloc <style> de form.docx), sans les @font-face Roboto (CDC §06). */
:where(.sib-form-message-panel) { display: none; }
:where(.sib-form-message-panel .sib-notification__icon) { width: 20px; height: 20px; }
#sib-container input:-ms-input-placeholder { font-family: Helvetica, Arial, sans-serif; text-align: left; color: #c0ccda; }
#sib-container input::placeholder { font-family: Helvetica, Arial, sans-serif; text-align: left; color: #c0ccda; }
#sib-container textarea::placeholder { font-family: Helvetica, Arial, sans-serif; text-align: left; color: #c0ccda; }
#sib-container a { text-decoration: underline; color: #275dce; }

/* Habillage du formulaire (cosmétique uniquement : action, champs et validation restent ceux de Brevo). */
#meet-your-honda .sib-form,
#meet-your-honda .sib-form * { font-family: var(--myh-font) !important; }
#meet-your-honda .sib-form {
  margin: 0;
  padding: 4px 0 8px !important;
  background: transparent !important;
  text-align: left !important;
}
#meet-your-honda .sib-form-container { max-width: none !important; margin: 0 !important; padding: 0 !important; }
#meet-your-honda #sib-container {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 6px 4px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
}
#meet-your-honda #sib-container .form__label-row { text-align: left !important; }
#meet-your-honda #sib-container .entry__label {
  display: block;
  margin: 0 0 6px !important;
  padding: 0;
  font-size: 13px !important;
  line-height: normal;
  text-align: left !important;
  text-transform: none;
  letter-spacing: normal;
  color: var(--myh-ink) !important;
}
#meet-your-honda #sib-container .entry__field {
  border: 1px solid var(--myh-field-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
}
#meet-your-honda #sib-container .entry__field input,
#meet-your-honda #sib-container .entry__field select {
  display: block;
  box-sizing: content-box;
  width: 100% !important;
  height: 38px;
  min-height: 40px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  outline-offset: 2px;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--myh-ink) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
}
#meet-your-honda #sib-container .sib-sms-tooltip { display: none !important; }
/* Champ téléphone avant amélioration par main.js (ou si countries.json est indisponible). */
#meet-your-honda #sib-container .sib-sms-input {
  display: grid !important;
  grid-template-columns: minmax(96px, 115px) minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: stretch !important;
}
#meet-your-honda #sib-container .sib-sms-input > .entry__field { width: 100% !important; min-width: 0; }
#meet-your-honda #sib-container .sib-sms-input .entry__field input { width: 100% !important; }
/* Champ téléphone amélioré par main.js : valeurs de sib-styles.css réaffirmées face au thème. */
#meet-your-honda #sib-container .sib-sms-select__number-input input {
  -webkit-appearance: none;
  appearance: none;
  min-height: 0;
  margin: 0;
  box-shadow: none;
  background: #fff;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: none;
}
#meet-your-honda #sib-container .sib-sms-select__calling-code {
  width: auto; /* Astra : input { width: 100% } */
  height: 100%;
  max-width: 70px;
  padding: 8px;
  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: #c0ccda;
  border-radius: 3px 0 0 3px;
  line-height: 1.8em;
  text-align: center;
  font-size: inherit;
  color: inherit;
  outline: none;
}
#meet-your-honda #sib-container .sib-sms-select__phone-number {
  width: calc(100% - 70px);
  height: 100%;
  padding: 8px;
  border: 0;
  border-radius: 3px;
  outline: 0;
  color: #000;
  font-size: inherit;
  line-height: normal;
}
/* Case « politique de confidentialité » : la vraie case de Brevo (#OPT_IN) est affichée et stylée, et
   son état vient de :checked. Brevo la masquait au profit d'un carré voisin (.checkbox) qui ne reflète
   la coche que s'il suit immédiatement la case : un <br> inséré par wpautop (widget texte Elementor)
   le figeait, d'où une case qui semblait ne pas réagir. */
#meet-your-honda #sib-container .sib-optin .entry__choice {
  margin: 0;
  padding-left: 0;
  text-indent: 0;
  text-align: left !important;
}
#meet-your-honda #sib-container .sib-optin .entry__choice label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 4px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#meet-your-honda #sib-container .sib-optin .checkbox { display: none !important; }
#meet-your-honda #sib-container .sib-optin input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: auto;
  display: grid;
  flex: none;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  padding: 0;
  border: 1.5px solid #b8c7dd;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  opacity: 1;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
#meet-your-honda #sib-container .sib-optin input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transition: transform .12s ease-in-out;
}
#meet-your-honda #sib-container .sib-optin input[type="checkbox"]:checked {
  border-color: var(--myh-cta);
  background: var(--myh-cta);
}
#meet-your-honda #sib-container .sib-optin input[type="checkbox"]:checked::before { transform: scale(1); }
#meet-your-honda #sib-container .sib-optin .entry_errored input[type="checkbox"]:not(:checked) { border-color: #ff4949; }
@media (hover: hover) {
  #meet-your-honda #sib-container .sib-optin label:hover input[type="checkbox"]:not(:checked) { border-color: #77a7ec; }
}
#meet-your-honda #sib-container .sib-optin p { display: inline; margin: 0; line-height: 1.6; }
#meet-your-honda #sib-container a { color: var(--myh-link) !important; }
#meet-your-honda .sib-sms-tooltip__box { font-size: 12px; }
#meet-your-honda #sib-form .input--hidden {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}
/* Bouton d'envoi Brevo, aligné sur les boutons de l'application (hauteur, rayon, couleur, ombre) :
   contenu centré en flex, quoi qu'insère la page, et états survol / focus / appui / désactivé / envoi. */
#meet-your-honda #sib-container .sib-form-block__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--myh-cta) !important;
  box-shadow: 0 8px 20px #2858cf25;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .2px;
  text-align: center !important;
  text-transform: none;
  text-shadow: none;
  white-space: normal;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s, box-shadow .15s, transform .1s;
}
/* Survol réservé aux souris : sur mobile, l'état survol restait « collé » après le toucher. */
@media (hover: hover) {
  #meet-your-honda #sib-container .sib-form-block__button:hover:not(:disabled) {
    background: #1f4cc0 !important;
    box-shadow: 0 10px 24px #2858cf38;
  }
}
#meet-your-honda #sib-container .sib-form-block__button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 12px #2858cf25;
}
#meet-your-honda #sib-container .sib-form-block__button:disabled {
  background: #a8bce9 !important;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
/* Envoi en cours (classe posée par main.js) : bouton bleu atténué et icône de chargement de Brevo. */
#meet-your-honda #sib-container .sib-form-block__button.sib-form-block__button-disabled {
  background: var(--myh-cta) !important;
  opacity: .85;
  cursor: progress;
}
#meet-your-honda #sib-container .sib-form-block__button svg {
  flex: none;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  fill: #fff !important;
}
#meet-your-honda .sib-form-message-panel { width: 100%; max-width: 100% !important; margin: 0 auto 12px; padding: 7px; }
#meet-your-honda #success-message,
#meet-your-honda #error-message { width: 100%; max-width: none !important; }
#meet-your-honda .sib-form-message-panel__text { padding: 8px; }
#meet-your-honda .sib-form-message-panel .sib-notification__icon { width: 20px; height: 20px; margin-right: 15px; }

/* Valeurs « rem » de sib-styles.css figées en px : un thème qui change la taille racine
   (Astra : html à 93,75 %) ne doit pas modifier le formulaire. */
#meet-your-honda .sib-form .entry__field { margin: 4px 0; }
#meet-your-honda .sib-form .entry__error { line-height: 16px; }
#meet-your-honda .sib-form .entry__error + .entry__error { margin-top: 8px; }
#meet-your-honda .sib-form .sib-flag { min-width: 32px; }

/* Liste des pays : main.js l'ajoute directement dans <body>, hors de l'application. */
.sib-sms-select__list { font-family: Helvetica, Arial, sans-serif; }

/* ---------------------------------------------------------- 10. Confirmation */
#meet-your-honda .myh-screen--done { background: var(--myh-paper); }
#meet-your-honda .myh-done {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  text-align: center;
}
#meet-your-honda .myh-check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #e4f5c3;
  color: #386300;
  font-size: 27px;
}
#meet-your-honda .myh-done .myh-eyebrow { margin-bottom: 9px; }
#meet-your-honda .myh-done h2 {
  margin: 0 0 9px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}
#meet-your-honda .myh-done p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #61748f;
}
#meet-your-honda .myh-pickup-confirm {
  width: 100%;
  max-width: 340px;
  margin: 18px 0 0;
  background: #f1f6ff;
  text-align: center;
}
#meet-your-honda .myh-reference {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid #d9e3f2;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  line-height: 1.7;
  color: #3c5884;
}
#meet-your-honda .myh-reference strong {
  display: block;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #173c73;
}
#meet-your-honda .myh-done-status {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #2d5b9e;
}
#meet-your-honda .myh-done .myh-btn { margin-top: 15px; }
#meet-your-honda .myh-legal {
  margin-top: 15px;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  color: #8797ab;
}

/* ------------------------------------------------------------- 11. Responsive */
@media (min-width: 500px) {
  #meet-your-honda .myh-phone {
    height: min(900px, 96vh);
    height: min(900px, 96svh);
    min-height: 760px;
    border-radius: 20px;
  }
}
/* Shortcode dans une page du thème : sur mobile, pleine largeur comme la V8 malgré les marges du conteneur. */
@media (max-width: 499px) {
  body:not(.myh-page) #meet-your-honda {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}
@media (max-width: 410px) {
  #meet-your-honda .myh-lead-wrap { padding: 8px 12px 24px; }
  #meet-your-honda #sib-container { padding: 0 2px !important; }
}
@media (max-width: 375px) {
  #meet-your-honda .myh-pickup-confirm { padding: 12px; }
  #meet-your-honda .myh-pickup-info strong,
  #meet-your-honda .myh-pickup-confirm strong { font-size: 17px; }
}
@media (max-width: 360px) {
  #meet-your-honda .myh-lead-head h2 { font-size: 25px; }
}@media (prefers-reduced-motion: reduce) {
  #meet-your-honda *,
  #meet-your-honda *::before,
  #meet-your-honda *::after { transition: none !important; animation-duration: .01ms !important; }
}
