/* Urino — formulaire de commande (états) + page de confirmation */

.field.is-invalid .field__group input,
.field.is-invalid .field__icon { border-color: #dc2626; }
.field.is-invalid .field__group input { box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }

.order-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; line-height: 1.5; }
.order-msg--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.order-msg--info { background: #eff8ff; color: #123b4f; border: 1px solid #c9edf7; }
.order-msg a { color: inherit; font-weight: 700; text-decoration: underline; }

.order-btn.is-loading { opacity: .75; cursor: progress; }
.order-btn.is-loading svg { animation: urino-pulse 1s ease-in-out infinite; }
@keyframes urino-pulse { 50% { opacity: .3; } }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Confirmation ---------- */
.confirmation { background: var(--soft-bg); padding: 64px 0 24px; }
.confirmation__card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 40px 36px; text-align: center; box-shadow: 0 10px 30px rgba(18, 20, 43, .06); }
.confirmation__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); box-shadow: 0 10px 24px rgba(46, 143, 224, .3); }
.confirmation__title { font-size: 28px; line-height: 1.25; }
.confirmation__lead { margin-top: 12px; color: rgba(43, 47, 66, .8); }
.confirmation__ref { margin-top: 18px; display: inline-block; background: var(--chip); color: var(--chip-ink); border-radius: 999px; padding: 6px 16px; font-size: 14.4px; }
.confirmation__recap { margin: 24px 0 0; text-align: left; border: 1px solid var(--line); border-radius: 12px; }
.confirmation__recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.confirmation__recap div + div { border-top: 1px solid var(--line); }
.confirmation__recap dt { color: rgba(43, 47, 66, .7); font-size: 14.4px; }
.confirmation__recap dd { margin: 0; text-align: right; font-weight: 600; }
.confirmation__steps { margin: 24px 0 0; padding-left: 22px; text-align: left; font-size: 14.4px; color: rgba(43, 47, 66, .85); }
.confirmation__steps li + li { margin-top: 8px; }
.confirmation__actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.confirmation__wa { background: #25d366; color: #fff; }

@media (max-width: 749px) {
  .confirmation { padding-top: 32px; }
  .confirmation__card { padding: 28px 18px; }
  .confirmation__title { font-size: 22px; }
  .confirmation__recap div { flex-direction: column; gap: 2px; }
  .confirmation__recap dd { text-align: left; }
  .confirmation__actions .btn { width: 100%; }
}

/* ---------- Newsletter + contact : états ---------- */
.order-msg--success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.newsletter input.is-invalid,
.contact__form input.is-invalid,
.contact__form textarea.is-invalid { outline: 2px solid #dc2626; outline-offset: 0; }
.newsletter .btn.is-loading,
.contact__form button.is-loading { opacity: .7; cursor: progress; }
.contact__form .order-msg { margin-top: 0; }

/* ---------- Photo « infos médicales » (remplace l'encadré provisoire) ---------- */
.source-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #fff; }

/* ---------- Photos réelles : recadrage au format des emplacements (comme l'original) ---------- */
.imgacc__media img { aspect-ratio: 448 / 560; object-fit: cover; }

/* ---------- Aide sous le champ Téléphone ---------- */
.field__help { grid-column: 2; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #5b5f6b; }
@media (max-width: 749px) { .field__help { grid-column: 1; } }
/* Texte grisé du téléphone : affiché en entier (la taille ne baisse que là où le champ est étroit) */
#of-tel::placeholder { font-size: 14px; }
#of-tel { padding-left: 12px; padding-right: 10px; }
@media (min-width: 990px) and (max-width: 1199px) {   /* tablette paysage : formulaire en colonne étroite */
  #of-tel::placeholder { font-size: 11px; }
  #of-tel { padding-left: 6px; padding-right: 4px; }
  .field__group:has(#of-tel) .field__icon { flex-basis: 36px; }
}
@media (max-width: 430px) {                           /* téléphones */
  #of-tel::placeholder { font-size: 12px; }
  #of-tel { padding-left: 9px; padding-right: 6px; }
}
@media (max-width: 374px) {                           /* petits téléphones */
  #of-tel::placeholder { font-size: 11px; }
  .field__group:has(#of-tel) .field__icon { flex-basis: 36px; }
}

/* ===================== Améliorations marketing ===================== */
.mk-h1 { display: block; }
.mk-h1__sub { display: block; margin-top: 8px; font-size: 16px; line-height: 1.45; font-weight: 600; color: #5b5f6b; letter-spacing: 0; }
.offer--best { box-shadow: 0 6px 18px rgba(220, 38, 38, .18); }
.offer__tag--best { background: #dc2626; }
.offer__tag--best::before { border-color: transparent #991b1b transparent transparent; }
.offer__tag--best::after { border-color: transparent transparent transparent #991b1b; }
.offer__save { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 700; color: #15803d; white-space: nowrap; }
.mk-reassure { list-style: none; margin: 14px 0 0; padding: 12px 14px; border: 1px dashed #d1d5db; border-radius: 10px; background: #fafafa; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; color: #2b2f42; }
.mk-how { padding: 56px 0 40px; text-align: center; }
.mk-how h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.mk-steps { list-style: none; padding: 0; margin: 28px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mk-steps li { background: #fff; border-radius: 14px; padding: 22px 18px; box-shadow: 0 6px 20px rgba(18, 20, 43, .07); }
.mk-steps__n { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-weight: 800; font-size: 18px; }
.mk-steps strong { display: block; font-size: 17px; margin-bottom: 6px; }
.mk-steps p { font-size: 14px; line-height: 1.55; color: #4b5060; }
.mk-box { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.mk-box > div { background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 24px; }
.mk-box h3 { font-size: 17px; margin-bottom: 10px; color: var(--cyan); }
.mk-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.5; }
.mk-box li::before { content: '✓  '; color: var(--cyan); font-weight: 800; }
.mk-parents { padding: 56px 0; }
.mk-parents__grid { max-width: 760px; margin: 0 auto; text-align: center; }
.mk-parents h2 { margin-top: 14px; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.mk-parents p { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.mk-parents__list { list-style: none; padding: 0; margin: 18px auto 22px; display: grid; width: fit-content; gap: 8px; text-align: left; font-weight: 600; }
.mk-parents__list li { display: flex; align-items: center; gap: 10px; }
.mk-parents__save { font-size: 13.5px !important; color: #fff; font-weight: 700; margin-top: 10px !important; opacity: .95; }
.mk-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: #6b7080; font-style: italic; }
.mk-review-cta { margin-top: 22px; font-size: 14px; }
.mk-review-cta a { color: var(--pink); font-weight: 700; text-decoration: underline; }
.mk-initials { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.mk-sticky { display: none; }
@media (max-width: 749px) {
  .mk-steps, .mk-box { grid-template-columns: 1fr; }
  .mk-h1__sub { font-size: 14px; }
  .mk-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 999px;
    background: #dc2626; color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; line-height: 1.25; box-shadow: 0 10px 28px rgba(220, 38, 38, .4);
    transition: transform .25s ease, opacity .25s ease; }
  .mk-sticky small { font-size: 11.5px; font-weight: 600; opacity: .9; }
  .mk-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body:has(.mk-sticky) .site-footer { padding-bottom: 84px; }
}

/* Formulaire : petits textes de même taille, alignés sur les champs */
.order-form__check span { font-size: 13px; line-height: 1.5; color: #5b5f6b; }
.order-form__check { align-items: flex-start; gap: 10px; }
.order-form__check input { margin-top: 2px; flex: 0 0 auto; }
@media (min-width: 750px) { .order-form__check { margin-left: 133px; } }
@media (max-width: 749px) { .mk-tag-more { display: none; } }
.mk-hero-cta { margin-top: 16px; }
.mk-story-cta { margin-top: 26px; text-align: center; }
.stats__title .hand { display: inline; }
.compare-table { width: min(460px, 100%); }
.compare-table td:first-child { white-space: normal; }

/* ===================== Couleurs (harmonisées avec le bleu nuit du site) =====================
   Formulaire et boutons de commande : ROUGE (comme l'origine) · Accents et titres : ROSE d'origine
   Sur les fonds bleus en dégradé : bouton blanc, texte bleu nuit (sobre, pas d'orange) */
.order-btn { background: #dc2626; font-weight: 700; }
.order-btn:hover { background: #b91c1c; }
.order-btn:disabled { background: #f0a3a3; }
.mk-hero-cta, .mk-story-cta .btn { background: #dc2626; color: #fff; }
.mk-hero-cta:hover, .mk-story-cta .btn:hover { background: #b91c1c; }
.mk-parents .btn--pink { background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(18, 20, 43, .18); }
.mk-parents .btn--pink:hover { background: var(--navy); color: #fff; }
.mk-persona { display: inline-block; margin: 8px 0 2px; padding: 3px 10px; border-radius: 999px; background: #eef6fd; color: var(--navy); font-size: 12px; font-weight: 700; }
.mk-parents h2 .text-pink { color: var(--navy); }
/* Accueil : 1re section équilibrée */
.mk-hero-price { margin-top: 12px; font-size: 15px; color: var(--ink); }
.mk-hero-price strong { color: var(--navy); }
.mk-hero-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-hero-trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft-bg); }
.mk-hero-trust span { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.mk-hero-trust strong { font-size: 13px; line-height: 1.3; color: var(--navy); }
.mk-hero-trust small { font-size: 11.5px; line-height: 1.3; color: var(--ink-75); }
@media (min-width: 990px) { .product-hero:not(.product-page) .product-info { align-self: center; } }
/* Page produit : la galerie accompagne le formulaire pendant le défilement (plus de vide sous les photos) */
@media (min-width: 990px) { .product-hero .gallery { position: sticky; top: 80px; align-self: start; } }

/* ===================== Téléphones : rien ne doit dépasser de l'écran ===================== */
/* (petits écrans ou « grande taille de texte » activée dans le téléphone) */
.field { grid-template-columns: 110px minmax(0, 1fr); }
.field > *, .field__group, .offers, .offer, .offer__name { min-width: 0; }
.field__group input { width: 100%; }
@media (max-width: 749px) { .field { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) {
  .offer__badge { white-space: normal; }
  .offer__price { font-size: 16px; }
  .offer__tag { right: 8px; }
}
html, body { max-width: 100%; overflow-x: clip; }

/* ===================== Avis : défilement continu, sans images ===================== */
.mk-marquee { overflow: hidden; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mk-marquee__track { display: flex; gap: 20px; width: max-content; padding: 6px 0 14px; animation: mk-avis 45s linear infinite; }
.mk-marquee:hover .mk-marquee__track, .mk-marquee:focus-within .mk-marquee__track { animation-play-state: paused; }
.mk-marquee .review-card { flex: 0 0 320px; display: flex; flex-direction: column; }
.mk-marquee .review-card__body { padding: 20px 22px 22px; }
@keyframes mk-avis { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 749px) {
  .mk-marquee { margin-top: 28px; }
  .mk-marquee .review-card { flex-basis: 270px; }
  .mk-marquee__track { animation-duration: 35s; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-marquee { overflow-x: auto; }
  .mk-marquee__track { animation: none; }
}
.mk-marquee .verified > span { white-space: nowrap; }
