/* ==========================================================
   ELECTRODIX - couche "premium" (chargée après site.css)
   Pour revenir à l'ancien design : retirer la ligne premium.css
   dans Pages/Shared/_Layout.cshtml.
   Palette : encre #0B1220 · marine #1F3A5F · or #C9A24B · ciel #84CAFF · chaleur #FF7A2F
   ========================================================== */
:root {
    --font-display: "Bricolage Grotesque", "Open Sans", "Segoe UI", system-ui, sans-serif;
    --heat: #FF7A2F;
    --gold-light: #F0D791;
}
html[lang="ar"] { --font-display: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; }

.rm-hero h1, .rm-h2, .rm-pick-head h2, .bt h3, .rm-final h2, .rm-flow-steps b {
    font-family: var(--font-display);
}

/* ---------- En-tête : se resserre au défilement ---------- */
.rm-header { transition: box-shadow .3s, background .3s; }
.rm-header .navbar { transition: padding .3s; }
.rm-header.is-scrolled { background: rgba(11, 18, 32, .985); box-shadow: 0 10px 30px -14px rgba(0,0,0,.7); }
.rm-header.is-scrolled .navbar { padding: .4rem 0; }
.rm-header .rm-brand-mark, .rm-header .rm-brand-name { transition: transform .3s; }
.rm-header.is-scrolled .rm-brand-mark { transform: scale(.88); }
.rm-header.is-scrolled .rm-brand-name { transform: scale(.92); transform-origin: left center; }
[dir="rtl"] .rm-header.is-scrolled .rm-brand-name { transform-origin: right center; }

/* ==========================================================
   1. HERO
   ========================================================== */
.rm-hero.rm-hero2 { padding: 4.2rem 0 9rem; }
.rm-hero2 h1 {
    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -1px; margin: 0;
}
html[lang="ar"] .rm-hero2 h1 { line-height: 1.35; font-weight: 900; }

/* boutons d'action : demander / appeler / WhatsApp */
.rm-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; }
.btn-rm-gold.btn-xl { padding: 1.05rem 1.9rem; font-size: 1.06rem; border-radius: 16px; gap: .7rem; }
.btn-rm-gold.btn-xl svg { width: 22px; height: 22px; flex: none; }
.rm-act {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: .55rem 1.15rem .55rem .85rem; border-radius: 16px; text-decoration: none; color: #fff;
    background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.2);
    transition: background .2s, border-color .2s, transform .2s;
}
.rm-act svg { width: 22px; height: 22px; flex: none; }
.rm-act > span { display: flex; flex-direction: column; line-height: 1.25; }
.rm-act small { color: #AFC0DA; font-size: .72rem; font-weight: 600; }
.rm-act bdi { font-weight: 800; font-size: 1.02rem; letter-spacing: .3px; white-space: nowrap; }
.rm-act.call svg { color: var(--gold-light); }
.rm-act.wa svg { color: #25D366; }
.rm-act.wa > span { justify-content: center; }
.rm-act.wa small { color: #fff; font-size: .95rem; font-weight: 700; }
.rm-act b { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.rm-act.track svg { color: var(--gold-light); }
.rm-act.rec svg { color: #FFA066; }
.rm-act.rec svg { width: 24px; height: 24px; }
.rm-act.rec:hover { border-color: #FFA066; }
.rm-act:hover { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
.rm-act.wa:hover { border-color: #25D366; }

.rm-hero-note { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0 0; max-width: 520px; color: #AFC0DA; font-size: .84rem; line-height: 1.55; }
.rm-hero-note svg { width: 17px; height: 17px; flex: none; margin-top: .15rem; color: var(--gold-light); }
.rm-hero2 .rm-hero-note { animation: rmUp .8s .46s both; }
html.rm-intro-on .rm-hero2 .rm-hero-note { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rm-hero2 .rm-hero-note { animation: none; } }

.rm-live { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; }
.rm-live-h { color: #AFC0DA; font-size: .86rem; }
.rm-live-h bdi { color: #fff; font-weight: 700; }

.rm-hero2 .rm-actions { animation: rmUp .8s .4s both; }
.rm-hero2 .rm-live { animation: rmUp .8s .52s both; }
html.rm-intro-on .rm-hero2 .rm-actions, html.rm-intro-on .rm-hero2 .rm-live { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rm-hero2 .rm-actions, .rm-hero2 .rm-live { animation: none; } }

/* ==========================================================
   2. CHOIX DE L'APPAREIL (chevauche le hero)
   ========================================================== */
.rm-pick { position: relative; z-index: 6; margin-top: -5.6rem; padding-bottom: .5rem; }
.rm-pick::before { content: ""; position: absolute; inset: 5.6rem 0 0; background: #fff; z-index: -1; }
.rm-pick-panel {
    background: #fff; border-radius: 30px; padding: 2rem 2rem 2.1rem;
    box-shadow: 0 34px 70px -28px rgba(11,18,32,.55), 0 0 0 1px rgba(16,24,40,.06);
}
.rm-pick-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.5rem; }
.rm-pick-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.4px; margin: 0; }
.rm-pick-head p { margin: 0; color: var(--muted); max-width: 440px; font-size: .95rem; }
.rm-pick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .85rem; }
.rm-pick-tile {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .9rem;
    padding: 1.5rem .6rem 1.2rem; border-radius: 20px; text-align: center; text-decoration: none;
    color: var(--text); font-size: .93rem; font-weight: 700; line-height: 1.3;
    background: var(--bg); border: 1.5px solid transparent;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, box-shadow .25s;
    -webkit-tap-highlight-color: transparent;
}
.rm-pick-tile .ic {
    width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--navy); box-shadow: 0 6px 16px -8px rgba(16,24,40,.35);
    transition: background .25s, color .25s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.rm-pick-tile .ic svg { width: 32px; height: 32px; }
.rm-pick-tile .go { width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
[dir="rtl"] .rm-pick-tile .go { transform: scaleX(-1) translateY(6px); }
@media (hover: hover) and (pointer: fine) {
    .rm-pick-tile:hover { transform: translateY(-6px); background: var(--navy-950); color: #fff; box-shadow: 0 22px 36px -18px rgba(11,18,32,.7); }
    .rm-pick-tile:hover .ic { background: var(--gold); color: var(--navy-950); transform: rotate(-8deg) scale(1.08); }
    .rm-pick-tile:hover .go { opacity: 1; transform: none; }
    [dir="rtl"] .rm-pick-tile:hover .go { transform: scaleX(-1); }
}
.rm-pick-tile:active { transform: scale(.96); background: var(--navy-950); color: #fff; }
.rm-pick-tile:active .ic { background: var(--gold); color: var(--navy-950); }
.rm-pick-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rm-pick-tile .go { margin-top: -.2rem; }

/* ==========================================================
   3. COMMENT ÇA MARCHE (séquence : la ligne se trace)
   ========================================================== */
.rm-flow { background: #fff; padding: 4.2rem 0 4.6rem; }
.rm-h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.6px; color: var(--text); margin: 0; text-align: center; }
.rm-flow-steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.rm-flow-steps::before, .rm-flow-steps::after { content: ""; position: absolute; top: 29px; inset-inline: 16.66%; height: 3px; border-radius: 3px; }
.rm-flow-steps::after { background: repeating-linear-gradient(90deg, var(--edge) 0 8px, transparent 8px 16px); }
.rm-flow-steps::before {
    z-index: 1; background: linear-gradient(90deg, var(--gold), var(--sky));
    transform: scaleX(0); transform-origin: left center; transition: transform 1.6s cubic-bezier(.6,0,.2,1) .2s;
}
[dir="rtl"] .rm-flow-steps::before { transform-origin: right center; background: linear-gradient(270deg, var(--gold), var(--sky)); }
.rm-flow-steps.go::before { transform: scaleX(1); }
.rm-flow-steps li { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 0 .6rem; }
.rm-flow-steps .n {
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .6rem;
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 0 0 6px #fff, 0 12px 22px -10px rgba(31,58,95,.7);
    transition: background .5s, color .5s, transform .5s cubic-bezier(.3,1.5,.5,1);
}
.rm-flow-steps.go li:nth-child(1) .n { transition-delay: .3s; }
.rm-flow-steps.go li:nth-child(2) .n { transition-delay: 1.0s; }
.rm-flow-steps.go li:nth-child(3) .n { transition-delay: 1.7s; }
.rm-flow-steps.go .n { background: linear-gradient(135deg, #E8CF8C, var(--gold)); color: var(--navy-950); transform: scale(1.06); }
.rm-flow-steps b { font-size: 1.15rem; color: var(--text); line-height: 1.3; }
.rm-flow-steps .d { color: var(--muted); font-size: .92rem; line-height: 1.6; max-width: 250px; }

/* ==========================================================
   4. ENGAGEMENTS (grille de tailles variées)
   ========================================================== */
.rm-bento { background: var(--bg); padding: 4.6rem 0 4.8rem; }
.rm-bento-head { text-align: center; margin-bottom: 2.6rem; }
.rm-bento-head p { color: var(--muted); margin: .6rem 0 0; }
.rm-bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bt {
    position: relative; overflow: hidden; border-radius: 26px; padding: 1.9rem 1.9rem 2rem;
    background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.bt::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(201,162,75,.17), transparent 70%);
}
@media (hover: hover) and (pointer: fine) {
    .bt:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .bt:hover::after { opacity: 1; }
}
.bt > * { position: relative; z-index: 1; }
.bt .ic {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
    box-shadow: 0 10px 20px -10px rgba(31,58,95,.7);
}
.bt .ic svg { width: 26px; height: 26px; }
.bt h3 { font-size: 1.25rem; font-weight: 800; color: var(--text); margin: 1.1rem 0 .45rem; letter-spacing: -.2px; }
.bt p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .95rem; }

.bt.warranty { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; color: #fff; border: 0;
    background: radial-gradient(520px 320px at 100% 0%, rgba(132,202,255,.22), transparent 62%), linear-gradient(150deg, var(--navy-950), var(--navy) 85%); }
.bt.warranty .ic { position: absolute; top: 1.9rem; inset-inline-start: 1.9rem; background: linear-gradient(135deg, #E8CF8C, var(--gold)); color: var(--navy-950); box-shadow: 0 10px 22px -8px rgba(201,162,75,.7); }
.bt.warranty h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.bt.warranty p { color: #C3D0E4; font-size: 1rem; max-width: 380px; }
.bt.warranty .gear { position: absolute; z-index: 0; width: 300px; height: 300px; top: -70px; inset-inline-end: -80px; opacity: .2; animation: rmSpin 60s linear infinite; }
@keyframes rmSpin { to { transform: rotate(360deg); } }
.bt.fast, .bt.track { grid-column: span 7; }
.bt.small { grid-column: span 4; }
.bt.fast, .bt.track { display: grid; grid-template-columns: auto 1fr; column-gap: 1.3rem; align-items: start; }
.bt.fast .ic, .bt.track .ic { grid-row: span 3; }
.bt.fast h3, .bt.track h3 { margin-top: .1rem; }
.bt-live { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 1rem; color: var(--text-3); font-size: .86rem; grid-column: 2; }
.bt-live bdi { font-weight: 700; color: var(--text); }
.bt-live .rm-hours-now.on { color: var(--green-dark); background: #ECFDF3; }
.bt-live .rm-hours-now.off { color: var(--red); background: #FEF3F2; }
.bt-tl { grid-column: 2; display: flex; align-items: center; margin-top: 1.15rem; max-width: 280px; }
.bt-tl i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--edge); position: relative; }
.bt-tl i + i { margin-inline-start: 50px; }
.bt-tl i + i::before { content: ""; position: absolute; top: 5px; inset-inline-end: 14px; width: 50px; height: 4px; border-radius: 4px; background: var(--edge); }
.bt-tl i:nth-child(1), .bt-tl i:nth-child(2), .bt-tl i:nth-child(2)::before { background: var(--gold); }
.bt-tl i:nth-child(3) { background: var(--green); box-shadow: 0 0 0 0 rgba(18,183,106,.5); animation: rmPulseG 2.2s infinite; }
@keyframes rmPulseG { 70% { box-shadow: 0 0 0 9px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }
.bt.small .ic { background: #EAF2FB; color: var(--navy); box-shadow: none; }
/* une couleur par carte : repérage rapide et rendu plus vivant */
.bt.fast  { background: #FFF6EF; border-color: #FAD9BF; }
.bt.fast .ic  { background: linear-gradient(135deg, #FF7A2F, #FFA561); box-shadow: 0 10px 20px -10px rgba(255,122,47,.8); }
.bt.track { background: #F0FBF5; border-color: #BFE8D0; }
.bt.track .ic { background: linear-gradient(135deg, #0E9F5E, #34D399); box-shadow: 0 10px 20px -10px rgba(18,183,106,.8); }
.bt.req   { background: #F0F7FF; border-color: #C9E1FB; }
.bt.small.req .ic { background: linear-gradient(135deg, #1D6FE0, #5AA9FF); color: #fff; box-shadow: 0 10px 20px -10px rgba(46,144,250,.8); }
.bt.fix   { background: #F7F4FF; border-color: #DDD3FB; }
.bt.small.fix .ic { background: linear-gradient(135deg, #6D45E8, #A78BFA); color: #fff; box-shadow: 0 10px 20px -10px rgba(122,90,248,.8); }
.bt.complaint .ic { background: linear-gradient(135deg, #B58A32, #E8CF8C); color: #3F2E05; }
.bt.complaint { background: #FFFCF4; border-color: #EBD9A8; }
.bt.complaint .ic { background: #FBF4E3; color: #7A5A12; }
.bt.complaint .rm-card-link { color: #7A5A12; }

/* ==========================================================
   5. APPEL FINAL
   ========================================================== */
.rm-final { background: #fff; padding: 3.4rem 0 4rem; }
.rm-final-box {
    position: relative; overflow: hidden; border-radius: 28px; padding: 2.6rem 2rem; color: #fff;
    text-align: center;
    background: radial-gradient(640px 300px at 90% 0%, rgba(132,202,255,.22), transparent 62%), linear-gradient(135deg, var(--navy-950), var(--navy));
    box-shadow: var(--shadow-lg);
}
.rm-final .tx { max-width: 560px; margin-inline: auto; }
.rm-final h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -.4px; line-height: 1.25; margin: 0 0 .5rem; }
.rm-final p { color: #B6C6DD; font-size: .98rem; line-height: 1.65; max-width: 460px; margin: 0 auto 1.4rem; }
.rm-final .rm-actions { justify-content: center; }
.rm-final .btn-rm-gold.btn-xl { padding: .85rem 1.7rem; font-size: 1rem; }

/* ==========================================================
   Adaptation écrans
   ========================================================== */
@media (max-width: 991.98px) {
    .rm-hero.rm-hero2 { padding: 3rem 0 7.5rem; }
    .rm-pick-grid { grid-template-columns: repeat(3, 1fr); }
    .bt.warranty, .bt.fast, .bt.track, .bt.small { grid-column: span 12; }
    .bt.warranty { min-height: 280px; }
    }
@media (max-width: 767.98px) {
    .rm-hero2 .rm-actions .btn-rm-gold { flex: 1 1 100%; }
    .rm-hero2 .rm-act { flex: 1 1 calc(50% - .4rem); padding-inline: .8rem; }
    .rm-final-box { padding: 2.2rem 1.3rem; border-radius: 24px; }
    .rm-final .btn-rm-gold { flex: 1 1 100%; }
    .rm-pick-panel { padding: 1.5rem 1.1rem 1.4rem; border-radius: 24px; }
    .rm-pick-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
    .rm-pick-tile { padding: 1.2rem .5rem 1rem; }
    .rm-pick-tile .go { display: none; }
    /* "Comment ça marche" : les 3 étapes côte à côte, animées l'une après l'autre */
    .rm-flow { padding: 3rem 0 3.2rem; }
    .rm-flow-steps { grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 2rem; }
    .rm-flow-steps::before, .rm-flow-steps::after { top: 22px; }
    .rm-flow-steps li { padding: 0 .15rem; gap: .25rem; }
    .rm-flow-steps .n { width: 46px; height: 46px; font-size: 1.15rem; margin-bottom: .45rem; box-shadow: 0 0 0 5px #fff, 0 10px 18px -10px rgba(31,58,95,.7); }
    .rm-flow-steps b { font-size: .86rem; line-height: 1.35; }
    .rm-flow-steps .d { font-size: .72rem; line-height: 1.5; }
    .rm-flow-steps b, .rm-flow-steps .d { opacity: .3; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
    .rm-flow-steps.go b, .rm-flow-steps.go .d { opacity: 1; transform: none; }
    .rm-flow-steps.go li:nth-child(1) b, .rm-flow-steps.go li:nth-child(1) .d { transition-delay: .3s; }
    .rm-flow-steps.go li:nth-child(2) b, .rm-flow-steps.go li:nth-child(2) .d { transition-delay: 1s; }
    .rm-flow-steps.go li:nth-child(3) b, .rm-flow-steps.go li:nth-child(3) .d { transition-delay: 1.7s; }

    /* "Pourquoi nous choisir" : cartes 2 par 2 sur téléphone */
    .rm-bento { padding: 3rem 0 3.2rem; }
    .rm-bento-head { margin-bottom: 1.6rem; }
    .rm-bento-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .bt.fast, .bt.track, .bt.small { grid-column: span 1; display: block; }
    .bt.warranty, .bt.complaint { grid-column: 1 / -1; }
    .bt { border-radius: 20px; padding: 1.1rem 1rem 1.15rem; }
    .bt .ic { width: 42px; height: 42px; border-radius: 13px; }
    .bt .ic svg { width: 22px; height: 22px; }
    .bt h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
    .bt p { font-size: .8rem; line-height: 1.55; }
    .bt.fast h3, .bt.track h3 { margin-top: .8rem; }
    .bt.warranty { min-height: 0; padding: 1.4rem 1.2rem 1.4rem; }
    .bt.warranty .ic { position: static; margin-bottom: .2rem; }
    .bt.warranty h3 { font-size: 1.25rem; margin-top: .8rem; }
    .bt.warranty p { font-size: .88rem; }
    .bt.warranty .gear { width: 200px; height: 200px; top: -50px; }
    .bt-live { margin-top: .7rem; }
    .bt-tl { margin-top: .8rem; }
    .bt-tl i + i { margin-inline-start: 34px; }
    .bt-tl i + i::before { width: 34px; }
    .bt.complaint { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; }
    .bt.complaint .ic { grid-row: span 3; }
    .bt.complaint h3 { margin-top: .1rem; }
    .bt.complaint p { font-size: .82rem; }
}

/* ---------- arabe : pas d'espacement négatif ---------- */
html[lang="ar"] .rm-h2, html[lang="ar"] .rm-pick-head h2, html[lang="ar"] .bt h3, html[lang="ar"] .rm-final h2 { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .rm-flow-steps .n, html[lang="ar"] .rm-flow-steps b { letter-spacing: 0; }

/* ---------- accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    .rm-flow-steps b, .rm-flow-steps .d { opacity: 1; transform: none; transition: none; }
    .bt.warranty .gear, .bt-tl i:nth-child(3) { animation: none; }
    .rm-flow-steps::before { transition: none; transform: none; }
    .rm-flow-steps .n { transition: none; }
}

/* ---------- note explicative de la page Réclamation ---------- */
.rm-rec-note { display: flex; gap: .85rem; align-items: flex-start; margin: 0 0 1.5rem; padding: 1rem 1.15rem; border-radius: 16px; background: #FFFCF4; border: 1px solid #EBD9A8; color: #5C4410; }
.rm-rec-note .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #FBF4E3; color: #7A5A12; }
.rm-rec-note .ic svg { width: 20px; height: 20px; }
.rm-rec-note b { display: block; font-size: .98rem; margin-bottom: .2rem; }
.rm-rec-note p { margin: 0; font-size: .9rem; line-height: 1.6; }
.rm-rec-note a { display: inline-block; margin-top: .5rem; font-weight: 700; font-size: .9rem; color: #7A5A12; text-decoration: underline; text-underline-offset: 3px; }
.rm-rec-note a:hover { color: var(--navy); }

/* ---------- pas de zoom : double-tap et pincement désactivés ---------- */
html, body { touch-action: pan-x pan-y; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 767.98px) {
    /* iOS zoome tout seul sur un champ < 16px : on l'évite */
    input, select, textarea, .form-control, .form-select { font-size: 16px !important; }
}

/* ---------- langue : bouton visible dans l'en-tête sur téléphone ---------- */
.rm-lang-top { margin-inline-start: auto; margin-inline-end: .65rem; }
@media (max-width: 767.98px) {
    .rm-lang-top .rm-langdd { display: block; margin: 0; position: relative; }
    .rm-lang-top .rm-langbtn { padding: .4rem .6rem; gap: .4rem; font-size: .88rem; }
    .rm-lang-top .rm-langmenu {
        position: absolute !important; transform: none !important; inset: auto !important;
        top: 100% !important; right: 0 !important; left: auto !important;
        width: auto; min-width: 190px; margin-top: .5rem !important; z-index: 1100;
    }
    [dir="rtl"] .rm-lang-top .rm-langmenu { left: 0 !important; right: auto !important; }
}

/* ---------- titre : "rapide et fiable" en doré ---------- */
.rm-hero2 h1 .rm-gold {
    background: linear-gradient(135deg, #F7E3A6 0%, #D9B45E 50%, #B58A32 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- indice de défilement (téléphone) ---------- */
.rm-scrollhint { display: none; }
@media (max-width: 767.98px) {
    .rm-scrollhint {
        position: fixed; z-index: 95; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 2rem);
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        display: flex; align-items: center; gap: .55rem; padding: .6rem 1rem .6rem .9rem; border-radius: 999px;
        background: rgba(11,18,32,.92); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700;
        border: 1px solid rgba(240,215,145,.55); box-shadow: 0 12px 28px -10px rgba(0,0,0,.6);
        transition: opacity .3s, transform .3s, visibility .3s;
    }
    .rm-scrollhint svg { width: 18px; height: 18px; flex: none; color: var(--gold-light); animation: rmHint 1.4s ease-in-out infinite; }
    .rm-scrollhint.gone { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
    html.rm-intro-on .rm-scrollhint { opacity: 0; visibility: hidden; }
    @keyframes rmHint { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

    /* première vue : titre + boutons + les appareils déjà visibles */
    .rm-hero.rm-hero2 { padding: 1.6rem 0 5.4rem; }
    .rm-hero2 .row { --bs-gutter-y: 0; }
    .rm-hero2 h1 { font-size: 1.75rem; }
        /* les appareils (illustration) restent visibles, en plus compacts */
    .rm-hero2 .col-lg-6:last-child { margin-top: 1.4rem; }
    .rm-hero2 .hv { max-width: 330px; gap: .6rem 3%; padding-top: 0; }
    .rm-hero2 .rm-actions { margin-top: 1.1rem; }
    .rm-hero-note { font-size: .76rem; margin-top: .8rem; line-height: 1.5; }
    .rm-pick { margin-top: -3.4rem; }
    .rm-pick::before { inset: 3.4rem 0 0; }
    .rm-pick-panel { padding: 1.15rem .9rem 1.1rem; }
    .rm-pick-head { margin-bottom: .9rem; }
    .rm-pick-head h2 { font-size: 1.2rem; }
    .rm-pick-head p { display: none; }
    .rm-pick-tile { padding: 1rem .4rem .85rem; gap: .6rem; }
    .rm-pick-tile .ic { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .rm-scrollhint svg { animation: none; } }

/* ==========================================================
   PAGE "DEMANDE" : formulaire de demande de réparation
   ========================================================== */
.rq-band {
    position: relative; overflow: hidden; color: #fff; padding: 3.2rem 0 6.4rem;
    background:
        radial-gradient(760px 340px at 88% -20%, rgba(132,202,255,.22), transparent 60%),
        radial-gradient(520px 260px at 0% 110%, rgba(201,162,75,.14), transparent 60%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 62%, var(--blue) 125%);
}
.rq-band h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.6px; margin: 0 0 .7rem; color: #fff; }
html[lang="ar"] .rq-band h1 { letter-spacing: 0; line-height: 1.4; font-weight: 900; }
.rq-lead { color: #C9D6EA; font-size: 1.05rem; line-height: 1.75; max-width: 640px; margin: 0 0 1.4rem; }
.rq-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.rq-trust li {
    display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .8rem; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(240,215,145,.38); font-size: .88rem; font-weight: 700; color: #fff;
}
.rq-trust svg { width: 18px; height: 18px; flex: none; color: var(--gold-light); }

.rq-main { background: var(--bg); padding: 0 0 4.5rem; }
.rq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; margin-top: -4rem; position: relative; z-index: 2; }

/* ---- carte du formulaire ---- */
.rq-card { background: #fff; border-radius: 28px; box-shadow: 0 34px 70px -30px rgba(11,18,32,.5), 0 0 0 1px rgba(16,24,40,.06); overflow: hidden; }
.rq-prog { padding: 1.1rem 1.8rem .9rem; border-bottom: 1px solid var(--hair); background: #FCFCFD; }
.rq-prog-top { font-size: .8rem; font-weight: 700; color: var(--text-3); margin-bottom: .5rem; }
.rq-prog-bar { height: 6px; border-radius: 6px; background: var(--hair); overflow: hidden; }
.rq-prog-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), #E8CF8C); transition: width .45s cubic-bezier(.2,.7,.2,1); }

.rq-step { border: 0; margin: 0; min-width: 0; padding: 1.8rem 1.8rem 1.4rem; }
.rq-step + .rq-step { border-top: 1px dashed var(--edge); }
.rq-step-h { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.3rem; }
.rq-step-h h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text); margin: 0 0 .2rem; letter-spacing: -.2px; }
html[lang="ar"] .rq-step-h h2 { letter-spacing: 0; }
.rq-step-h p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.rq-step-h .n {
    flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; position: relative;
    background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 800; box-shadow: 0 8px 16px -8px rgba(31,58,95,.7);
    transition: background .3s, color .3s, transform .3s cubic-bezier(.3,1.5,.5,1);
}
.rq-step-h .n svg { position: absolute; width: 20px; height: 20px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.3,1.5,.5,1); }
.rq-step.done .rq-step-h .n { background: linear-gradient(135deg, #0E9F5E, #34D399); box-shadow: 0 8px 16px -8px rgba(18,183,106,.8); transform: scale(1.06); }
.rq-step.done .rq-step-h .n b { opacity: 0; }
.rq-step.done .rq-step-h .n svg { opacity: 1; transform: none; }

.rq-field { margin-bottom: 1.15rem; }
.rq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.rq-label { display: block; font-weight: 700; color: var(--text-2); font-size: .88rem; margin-bottom: .45rem; }
.rq-card .form-control, .rq-card .form-select {
    border: 1.5px solid var(--edge); border-radius: 14px; padding: .8rem 1rem; color: var(--text); background-color: #fff; font-size: .98rem;
    transition: border-color .2s, box-shadow .2s;
}
.rq-card .form-control::placeholder { color: #98A2B3; }
.rq-card .form-control:focus, .rq-card .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .25rem rgba(201,162,75,.2); }
.rq-card .form-control[readonly] { background: #F8F9FB; color: var(--text-3); }
.rq-card .text-danger, .rq-card .field-validation-error { color: var(--red) !important; font-size: .82rem; display: block; margin-top: .35rem; }
.rq-card .input-validation-error { border-color: #F04438; }
[dir="rtl"] .rq-card input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] .rq-card input[type="tel"]::placeholder { text-align: right; }

/* ---- choix de l'appareil ---- */
.rq-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .65rem; }
.rq-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1rem .4rem .85rem; text-align: center;
    border-radius: 18px; background: var(--bg); border: 1.5px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.rq-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rq-tile .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 6px 14px -8px rgba(16,24,40,.4); transition: background .2s, color .2s; }
.rq-tile .ic svg { width: 28px; height: 28px; }
.rq-tile b { font-size: .84rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.rq-tile:has(input:checked) { background: var(--navy-950); border-color: var(--gold); box-shadow: 0 16px 28px -16px rgba(11,18,32,.8); transform: translateY(-2px); }
.rq-tile:has(input:checked) .ic { background: var(--gold); color: var(--navy-950); }
.rq-tile:has(input:checked) b { color: #fff; }
.rq-tile:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rq-tile:hover { border-color: var(--edge); transform: translateY(-2px); } }

/* ---- exemples de panne ---- */
.rq-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .6rem; }
.rq-chips > span { font-size: .78rem; color: var(--muted); margin-inline-end: .2rem; }
.rq-chip {
    border: 1px solid var(--edge); background: #fff; color: var(--text-2); font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px;
    cursor: pointer; transition: background .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent;
}
.rq-chip:hover, .rq-chip:active { background: #FBF4E3; border-color: var(--gold); color: #7A5A12; }

/* ---- photo ---- */
.rq-drop {
    position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; cursor: pointer;
    border: 1.5px dashed var(--edge); background: #FCFCFD; transition: border-color .2s, background .2s;
}
.rq-drop:hover, .rq-drop:focus-within { border-color: var(--gold); background: #FFFCF4; }
.rq-drop .rq-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rq-drop .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #FBF4E3; color: #7A5A12; }
.rq-drop .ic svg { width: 24px; height: 24px; }
.rq-drop .tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.rq-drop .tx b { color: var(--text); font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-drop .tx small { color: var(--muted); font-size: .78rem; }
.rq-drop.has { border-style: solid; border-color: var(--green); background: #F0FBF5; }
.rq-drop.has .ic { background: #D1FADF; color: var(--green-dark); }

/* ---- envoi ---- */
.rq-submit { padding: 1.5rem 1.8rem 1.8rem; border-top: 1px dashed var(--edge); background: linear-gradient(#FFFFFF, #FCFCFD); }
.rq-btn { width: 100%; justify-content: center; padding: 1.05rem 1.5rem; font-size: 1.08rem; border-radius: 16px; gap: .7rem; }
.rq-btn svg { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .rq-btn svg { transform: scaleX(-1); }
.rq-btn.is-loading { opacity: .75; pointer-events: none; }
.rq-secure { display: flex; align-items: flex-start; justify-content: center; gap: .5rem; margin: 1rem 0 0; color: var(--text-3); font-size: .82rem; line-height: 1.6; text-align: center; }
.rq-secure svg { width: 16px; height: 16px; flex: none; margin-top: .22rem; color: var(--green-dark); }

/* ---- colonne de réassurance ---- */
.rq-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.rq-box { background: #fff; border-radius: 22px; padding: 1.4rem 1.4rem 1.3rem; border: 1px solid var(--hair); box-shadow: var(--shadow); }
.rq-box h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--text); margin: 0 0 .8rem; }
html[lang="ar"] .rq-box h3 { letter-spacing: 0; }
.rq-box p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.rq-box .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: .7rem; background: #EAF2FB; color: var(--navy); }
.rq-box .ic svg { width: 21px; height: 21px; }
.rq-box a { display: inline-block; margin-top: .6rem; font-size: .85rem; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.rq-box a:hover { color: var(--gold-dark); }
.rq-box.warm { background: #FFFCF4; border-color: #EBD9A8; }
.rq-box.warm .ic { background: #FBF4E3; color: #7A5A12; }
.rq-next { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.15rem; }
.rq-next::before { content: ""; position: absolute; top: 12px; bottom: 12px; inset-inline-start: 11px; width: 2px; background: repeating-linear-gradient(180deg, var(--edge) 0 6px, transparent 6px 11px); }
.rq-next li { position: relative; padding-inline-start: 2.2rem; display: flex; flex-direction: column; gap: .1rem; }
.rq-next li::before { content: ""; position: absolute; inset-inline-start: 3px; top: .22rem; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-sizing: border-box; }
.rq-next b { font-size: .9rem; color: var(--text); line-height: 1.4; }
.rq-next span { font-size: .8rem; color: var(--muted); line-height: 1.55; }

@media (max-width: 991.98px) {
    .rq-grid { grid-template-columns: 1fr; }
    .rq-aside { position: static; }
}
@media (max-width: 767.98px) {
    .rq-band { padding: 1.8rem 0 5rem; }
    .rq-lead { font-size: .95rem; margin-bottom: 1.1rem; }
    .rq-trust li { font-size: .8rem; padding: .4rem .75rem .4rem .65rem; }
    .rq-grid { margin-top: -3rem; gap: 1rem; }
    .rq-card { border-radius: 22px; }
    .rq-prog { padding: .9rem 1.1rem .8rem; }
    .rq-step { padding: 1.3rem 1.1rem 1rem; }
    .rq-two { grid-template-columns: 1fr; }
    .rq-tiles { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .rq-tile { padding: .8rem .25rem .7rem; border-radius: 16px; }
    .rq-tile .ic { width: 46px; height: 46px; }
    .rq-tile .ic svg { width: 24px; height: 24px; }
    .rq-tile b { font-size: .76rem; }
    .rq-submit { padding: 1.2rem 1.1rem 1.4rem; }
    .rq-main { padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rq-prog-bar i, .rq-step-h .n, .rq-step-h .n svg, .rq-tile { transition: none; }
}

/* ---------- version plus compacte du formulaire ---------- */
.rq-step { padding: 1.5rem 1.8rem 1.1rem; }
.rq-step-h { margin-bottom: 1.1rem; }
.rq-field { margin-bottom: 1rem; }
.rq-chips[hidden] { display: none; }
.rq-card .form-control, .rq-card .form-select { padding: .7rem .95rem; }
.rq-submit { padding: 1.3rem 1.8rem 1.5rem; }
@media (max-width: 767.98px) {
    .rq-step { padding: 1.15rem 1rem .8rem; }
    .rq-field { margin-bottom: .75rem; }
    .rq-label { margin-bottom: .35rem; font-size: .84rem; }
    .rq-card .form-control, .rq-card .form-select { padding: .62rem .9rem; }
}

/* ---------- bataille de l'espace ---------- */
.rq-card .text-danger:empty { display: none; }

/* "Vos coordonnées" : le nom du champ est à côté du champ (gain de hauteur) */
.rq-inline .rq-two { gap: 0 1.2rem; }
.rq-inline .rq-field { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); align-items: center; column-gap: .7rem; margin-bottom: .75rem; }
.rq-inline .rq-field > .rq-label { margin: 0; line-height: 1.3; font-size: .85rem; }
.rq-inline .rq-field > :not(.rq-label) { grid-column: 2; }
.rq-inline .rq-field > .rq-label { grid-row: 1; }
.rq-inline .rq-field > .text-danger { margin-top: .3rem; }
.rq-inline .rq-field .form-control, .rq-inline .rq-field .form-select { padding: .6rem .85rem; }

/* exemples de panne : titre centré, puis 3 + 3 */
.rq-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .7rem; }
.rq-chips > span { grid-column: 1 / -1; text-align: center; margin: 0 0 .1rem; }
.rq-chip { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 2.4rem; padding: .35rem .5rem; border-radius: 12px; line-height: 1.3; }
@media (max-width: 767.98px) {
    .rq-inline .rq-field { grid-template-columns: 4.9rem minmax(0, 1fr); margin-bottom: .6rem; }
    .rq-inline .rq-field > .rq-label { font-size: .8rem; }
    .rq-chip { font-size: .75rem; padding: .3rem .35rem; }
}


/* ---------- un seul cadre (style checkout) ---------- */
.rq-one { border: 0; margin: 0; min-width: 0; padding: 1.5rem 1.8rem 1.2rem; }
.rq-one-h { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text); margin: 0 0 1.1rem; letter-spacing: -.2px; }
html[lang="ar"] .rq-one-h { letter-spacing: 0; }
.rq-sep { height: 1px; background: var(--hair); margin: .35rem 0 1.1rem; }
.rq-desc { min-height: 0; resize: vertical; }
/* photo : une seule ligne "Touchez pour ajouter une photo" */
.rq-drop { padding: .6rem .9rem; gap: .7rem; border-radius: 14px; }
.rq-drop .ic { width: 36px; height: 36px; border-radius: 11px; }
.rq-drop .ic svg { width: 19px; height: 19px; }
.rq-drop .tx b { font-size: .88rem; }
@media (max-width: 767.98px) {
    .rq-one { padding: 1.15rem 1rem .8rem; }
    .rq-one-h { font-size: 1.05rem; margin-bottom: .9rem; }
}

/* ---------- appareils : 3 par ligne (PC) / plus petits (téléphone) ---------- */
.rq-tiles { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.rq-tile { padding: .8rem .4rem .7rem; gap: .45rem; }
.rq-tile .ic { width: 48px; height: 48px; }
.rq-tile .ic svg { width: 25px; height: 25px; }

/* champs obligatoires : astérisque rouge après le libellé */
.rq-field:has([data-need="1"]) > .rq-label::after { content: " *"; color: var(--red, #F04438); font-weight: 800; }

@media (max-width: 767.98px) {
    .rq-one { padding: 1rem .9rem .5rem; }
    .rq-one-h { font-size: 1rem; margin-bottom: .75rem; }
    .rq-sep { margin: .2rem 0 .85rem; }
    .rq-field { margin-bottom: .7rem; }
    .rq-inline .rq-two { gap: 0; }
    .rq-inline .rq-field { grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: .5rem; margin-bottom: .6rem; }
    .rq-inline .rq-field > .rq-label { font-size: .78rem; }
    .rq-tiles { gap: .4rem; }
    .rq-tile { padding: .5rem .2rem .45rem; gap: .3rem; border-radius: 13px; }
    .rq-tile .ic { width: 34px; height: 34px; }
    .rq-tile .ic svg { width: 18px; height: 18px; }
    .rq-tile b { font-size: .68rem; line-height: 1.2; }
    .rq-chips { gap: .35rem; margin-top: .5rem; }
    .rq-chips > span { font-size: .72rem; }
    .rq-chip { min-height: 2.1rem; font-size: .7rem; padding: .25rem .3rem; border-radius: 10px; }
    .rq-drop { padding: .5rem .75rem; }
    .rq-submit { padding: 1rem .9rem 1.2rem; }
}


/* ---------- en-tête de la page : design épuré ---------- */
.rq-band { padding: 2.6rem 0 6.2rem; }
.rq-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.rq-band::after {
    content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-end: -120px; top: -190px; pointer-events: none;
    border: 1px solid rgba(240,215,145,.22); box-shadow: 0 0 0 38px rgba(240,215,145,.04), 0 0 0 78px rgba(240,215,145,.025);
}
.rq-hero { position: relative; z-index: 1; max-width: 680px; }
.rq-badge {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 1.1rem;
    background: linear-gradient(145deg, #F0D791, var(--gold) 70%); color: var(--navy-950);
    box-shadow: 0 14px 30px -12px rgba(201,162,75,.9), 0 0 0 7px rgba(240,215,145,.13);
}
.rq-badge svg { width: 28px; height: 28px; }
.rq-band h1::after { content: ""; display: block; width: 54px; height: 3px; border-radius: 3px; margin-top: .75rem; background: linear-gradient(90deg, var(--gold-light), transparent); }
[dir="rtl"] .rq-band h1::after { background: linear-gradient(270deg, var(--gold-light), transparent); }
.rq-band .rq-lead { margin-bottom: 1.5rem; }
.rq-band .rq-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 560px; }
.rq-band .rq-trust li {
    display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.05)); border: 1px solid rgba(240,215,145,.3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.rq-trust .ti { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,215,145,.16); color: var(--gold-light); }
.rq-band .rq-trust svg { width: 21px; height: 21px; }
.rq-trust .tt { display: flex; flex-direction: column; gap: .12rem; min-width: 0; line-height: 1.3; }
.rq-trust .tt b { font-size: .92rem; font-weight: 800; color: #fff; }
.rq-trust .tt small { font-size: .76rem; font-weight: 500; color: #C9D6EA; }

@media (max-width: 767.98px) {
    .rq-band { padding: 1.9rem 0 5.2rem; text-align: center; }
    .rq-hero { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
    .rq-badge { width: 50px; height: 50px; border-radius: 16px; margin-bottom: .9rem; }
    .rq-band h1 { font-size: 1.65rem; margin-bottom: .6rem; }
    .rq-band h1::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
    [dir="rtl"] .rq-band h1::after { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
    .rq-band .rq-lead { font-size: .92rem; line-height: 1.7; margin: 0 auto 1.2rem; }
    .rq-band .rq-trust { width: 100%; gap: .55rem; }
    .rq-band .rq-trust li { flex-direction: column; text-align: center; gap: .45rem; padding: .8rem .5rem; border-radius: 16px; }
    .rq-trust .ti { width: 36px; height: 36px; border-radius: 11px; }
    .rq-trust .tt { align-items: center; }
    .rq-trust .tt b { font-size: .84rem; }
    .rq-trust .tt small { font-size: .7rem; }
}

/* ---------- cadre doré du formulaire (comme le reste du site) ---------- */
.rq-card {
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 5px rgba(201,162,75,.14), 0 34px 70px -30px rgba(11,18,32,.5);
}
@media (max-width: 767.98px) {
    .rq-card { border-width: 1.5px; box-shadow: 0 0 0 4px rgba(201,162,75,.14), 0 24px 50px -26px rgba(11,18,32,.5); }
}


/* ---------- titre central du formulaire : ornement doré ---------- */
.rq-one-h {
    position: relative; text-align: center; font-size: 1.3rem; font-weight: 800; letter-spacing: .1px;
    color: var(--navy-950, var(--text)); margin: 0 0 1.5rem; padding-bottom: 1.15rem;
}
html[lang="ar"] .rq-one-h { font-weight: 900; }
.rq-one-h::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 150px; height: 2px; transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent, var(--gold)) left center / 62px 2px no-repeat,
        linear-gradient(270deg, transparent, var(--gold)) right center / 62px 2px no-repeat;
}
.rq-one-h::before {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; background: var(--gold);
    transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 0 3px rgba(201,162,75,.2);
}

/* nom / téléphone / ville / adresse : champs bordés d'or, libellé devant */
.rq-inline .form-control, .rq-inline .form-select {
    border: 1.5px solid var(--gold); background-color: #FFFCF4; border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.rq-inline .form-control[readonly] { background-color: #FBF4E3; color: var(--text-2); }
.rq-inline .form-control:focus, .rq-inline .form-select:focus { border-color: var(--gold-dark, var(--gold)); background-color: #fff; box-shadow: 0 0 0 .25rem rgba(201,162,75,.25); }
.rq-inline .form-control.input-validation-error, .rq-inline .form-select.input-validation-error { border-color: #F04438; }
.rq-inline .rq-field > .rq-label { color: #7A5A12; font-weight: 800; }

.rq-submit { padding-top: 1.3rem; padding-bottom: 1.6rem; }
@media (max-width: 767.98px) {
    .rq-one-h { font-size: 1.1rem; margin-bottom: 1.2rem; padding-bottom: 1rem; }
    .rq-one-h::after { width: 120px; background-size: 48px 2px, 48px 2px; }
}


/* ---------- libellés dans les champs : 2 colonnes, plus compact ---------- */
.rq-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rq-one .rq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.rq-one .rq-field { display: block; margin-bottom: .75rem; }
.rq-one .form-control, .rq-one .form-select {
    border: 1.5px solid var(--gold); background-color: #FFFCF4; border-radius: 12px; padding: .65rem .9rem;
}
.rq-one .form-control::placeholder { color: #8A7A55; opacity: 1; font-weight: 600; }
.rq-one .form-select:invalid, .rq-one .form-select:has(option[value=""]:checked) { color: #8A7A55; font-weight: 600; }
.rq-one .form-control[readonly] { background-color: #FBF4E3; color: var(--text-2); font-weight: 600; }
.rq-one .form-control:focus, .rq-one .form-select:focus { border-color: var(--gold-dark, var(--gold)); background-color: #fff; box-shadow: 0 0 0 .25rem rgba(201,162,75,.25); }
.rq-one .form-control.input-validation-error, .rq-one .form-select.input-validation-error { border-color: #F04438; }
.rq-one-h2 { margin-top: 1.5rem; }
.rq-drop[data-need="1"]:not(.has) .tx b::after { content: " *"; }
@media (max-width: 767.98px) {
    .rq-one .rq-two { grid-template-columns: 1fr; }
    .rq-one .rq-field { margin-bottom: .6rem; }
    .rq-one .form-control, .rq-one .form-select { padding: .6rem .85rem; }
    .rq-one-h2 { margin-top: 1.2rem; }
}

/* ---------- formulaire plus compact : éléments rapprochés ---------- */
.rq-band { padding-bottom: 5.4rem; }
.rq-grid { margin-top: -3.6rem; }
.rq-one { padding: 1.1rem 1.5rem .7rem; }
.rq-one-h { font-size: 1.15rem; margin-bottom: .95rem; padding-bottom: .85rem; }
.rq-one-h2 { margin-top: .9rem; }
.rq-one .rq-two { gap: 0 .7rem; }
.rq-one .rq-field { margin-bottom: .5rem; }
.rq-one .form-control, .rq-one .form-select { padding: .5rem .8rem; font-size: .93rem; border-radius: 11px; }
.rq-one .rq-desc { padding-top: .45rem; padding-bottom: .45rem; }
.rq-tiles { gap: .4rem; }
.rq-tile { padding: .5rem .3rem .45rem; gap: .3rem; border-radius: 14px; }
.rq-tile .ic { width: 38px; height: 38px; }
.rq-tile .ic svg { width: 21px; height: 21px; }
.rq-tile b { font-size: .78rem; }
.rq-chips { gap: .3rem; margin-top: .4rem; }
.rq-chip { min-height: 2rem; padding: .2rem .4rem; font-size: .76rem; border-radius: 10px; }
.rq-drop { padding: .45rem .8rem; }
.rq-drop .ic { width: 32px; height: 32px; border-radius: 10px; }
.rq-drop .ic svg { width: 17px; height: 17px; }
.rq-submit { padding: .9rem 1.5rem 1.1rem; }
.rq-btn { padding: .85rem 1.2rem; font-size: 1.02rem; border-radius: 14px; }
.rq-card .text-danger:not(:empty) { margin-top: .2rem; font-size: .78rem; }
@media (max-width: 767.98px) {
    .rq-band { padding-bottom: 4.6rem; }
    .rq-grid { margin-top: -2.8rem; }
    .rq-one { padding: .9rem .8rem .5rem; }
    .rq-one-h { font-size: 1.02rem; margin-bottom: .8rem; padding-bottom: .8rem; }
    .rq-one-h2 { margin-top: .8rem; }
    .rq-one .rq-field { margin-bottom: .45rem; }
    .rq-one .form-control, .rq-one .form-select { padding: .5rem .8rem; }
    .rq-tiles { gap: .35rem; }
    .rq-tile { padding: .4rem .15rem .38rem; gap: .25rem; }
    .rq-tile .ic { width: 30px; height: 30px; }
    .rq-tile .ic svg { width: 16px; height: 16px; }
    .rq-tile b { font-size: .64rem; }
    .rq-chips { gap: .3rem; margin-top: .4rem; }
    .rq-chip { min-height: 1.9rem; font-size: .66rem; }
    .rq-submit { padding: .8rem .8rem 1rem; }
    .rq-btn { padding: .8rem 1rem; }
}

/* ---------- noms des appareils : texte plus grand (+3 px) ---------- */
.rq-tile b { font-size: .97rem; line-height: 1.25; overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
    .rq-tile b { font-size: .83rem; line-height: 1.2; }
}

/* ---------- exemples rapides : texte plus grand (+2 px) ---------- */
.rq-chip { font-size: .89rem; line-height: 1.25; min-height: 2.2rem; overflow-wrap: anywhere; }
.rq-chips > span { font-size: .85rem; }
@media (max-width: 767.98px) {
    .rq-chip { font-size: .79rem; min-height: 2.1rem; padding: .25rem .3rem; }
    .rq-chips > span { font-size: .78rem; }
}

/* ---------- photo : cadre pointillé doré ---------- */
.rq-drop { border: 1.5px dashed var(--gold); background: #FFFCF4; }
.rq-drop:hover, .rq-drop:focus-within { border-color: var(--gold-dark, var(--gold)); background: #FBF4E3; }
.rq-drop.has { border-style: solid; border-color: var(--green); background: #F0FBF5; }
.rq-band .rq-lead { max-width: 600px; }
