/* =====================================================================
   resa-v2.css · Page de réservation, trois présentations
   (activées par resa-v2.js : body.rc-v2 + rc-vue-ecran | rc-vue-recherche | rc-vue-etapes)
   ===================================================================== */

/* ---------- Commun : bandeau noir compact (maquette du 29/11/2026), le formulaire remonte ---------- */
.rc-v2 .sim-hero { min-height: 0 !important; height: auto !important; padding-top: 7rem; padding-bottom: 2rem; background: #0B0B0D !important; }
.rc-v2 .sim-hero::before, .rc-v2 .sim-hero::after { display: none !important; }
.rc-v2 .sim-hero .breadcrumb { display: none; }
.rc-v2 .sim-hero h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 .4rem; color: #FBF9F4; }
.rc-v2 .sim-hero .lead { display: none; }
.rc-cache { display: none !important; }
.rc-garanties { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.rc-garanties li { display: flex; align-items: center; gap: .45rem; font-size: .98rem; font-weight: 600; color: #F1EADA; }
.rc-garanties li::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFAE74' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Version 1 : formulaire ---------- */
body.rc-v2 #sim-root.v2 .v2-km { display: none !important; }            /* distance : calcul interne, pas une saisie */
body.rc-v2 #sim-root.v2 .v2-dt { grid-template-columns: 1fr !important; }
body.rc-v2 #sim-root.v2 .v2-2.rc-l4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 760px) { body.rc-v2 #sim-root.v2 .v2-2.rc-l4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.rc-v2 #sim-root.v2 .rc-l4 .v2-cnt { min-width: 0; }
.rc-vol-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.rc-vol-ligne.rc-sans-vol { grid-template-columns: auto; justify-content: end; }
.rc-ret-btn { min-height: 48px; padding: 0 1.1rem; border: 1px solid #D3C9B4; border-radius: 12px; background: #fff; color: #1A1916; font: 700 .92rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.rc-ret-btn:hover { border-color: #0B0B0D; }
.rc-vol-ligne .v2-vol .v2-aide { display: none; }
@media (max-width: 560px) { .rc-vol-ligne { grid-template-columns: 1fr; } }

/* ---------- Version 1 : voitures ---------- */
body.rc-v2 #sim-root.v2 section.rc-voitures { background: none; border: 0; box-shadow: none; padding: 0; }
body.rc-v2 #sim-root.v2 .rc-voitures .v2-h2 { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem; }
body.rc-v2 #sim-root.v2 .rc-voitures .sim-h { font-size: 1.6rem; margin: 0; }
body.rc-v2 #sim-root.v2 .rc-voitures .v2-vehs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { body.rc-v2 #sim-root.v2 .rc-voitures .v2-vehs { grid-template-columns: 1fr; } }
@media (min-width: 641px) {
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "img img" "nom prix" "meta meta" "puce puce"; align-items: center; gap: 6px 8px; padding: 12px; background: #FBF9F4; border: 1px solid #E4DDCE; }
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh.on { border: 2px solid #8C6A2C; padding: 11px; background: #FBF9F4; }
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh .cls-img { grid-area: img; height: 72px; background: #EFE7D6; border-radius: 10px; }
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh-t, body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh-p { display: contents; }
  body.rc-v2 #sim-root.v2 .rc-voitures .cls-name { grid-area: nom; font-size: 1rem; }
  body.rc-v2 #sim-root.v2 .rc-voitures .cls-from { grid-area: prix; font-size: 1.6rem; line-height: 1; }
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh-m { grid-area: meta; }
  body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh-sel, body.rc-v2 #sim-root.v2 .rc-voitures .rc-fit { grid-area: puce; justify-self: start; }
}
body.rc-v2 #sim-root.v2 .rc-voitures .v2-veh-sel { padding: .2rem .6rem; border-radius: 999px; background: #0B0B0D; color: #FBF9F4; font-size: .72rem; }
.rc-fit { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: #E3F1E8; color: #2E6B3A; font-size: .72rem; font-weight: 700; }
body.rc-v2 #sim-root.v2 .v2-veh.on .rc-fit { display: none; }

/* ---------- Version 1 : options ---------- */
.rc-opt-titre { grid-column: 1 / -1; margin: .9rem 0 .1rem; font-size: 1rem; font-weight: 700; color: #1A1916; }
body.rc-v2 #sim-root.v2 .rc-options .v2-opts { display: block; }
.rc-inclus-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-inclus-fixe, body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus { display: inline-flex !important; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .85rem; border-radius: 999px; background: #EFE7D6; border: 0; font-size: .88rem; font-weight: 600; color: #1A1916; }
.rc-inclus-fixe::before { content: ""; width: 14px; height: 14px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus .opt-desc, body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus .opt-price { display: none; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus .opt-main { display: inline; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus .opt-name { font-weight: 600; font-size: .88rem; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus .v2-chk { width: 18px; height: 18px; border-radius: 50%; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-inclus:not(.on) { background: #fff; border: 1px dashed #D3C9B4; }
.rc-payants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .rc-payants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rc-payants { grid-template-columns: 1fr; } }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .5rem; padding: .8rem .9rem; margin: 0; border: 1px solid #E4DDCE; border-radius: 12px; background: #fff; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant.on { border: 2px solid #8C6A2C; padding: calc(.8rem - 1px) calc(.9rem - 1px); background: #FBF9F4; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant .v2-chk { display: none; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant .opt-name { font-weight: 700; font-size: .92rem; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant .opt-desc { font-size: .8rem; }
body.rc-v2 #sim-root.v2 .v2-opt.rc-payant .opt-price { font-weight: 800; color: #8C6A2C; white-space: nowrap; }

/* ---------- Version 1 : récapitulatif (sans carte) ---------- */
body.rc-v2.rc-vue-ecran #sim-root.v2 .sim-map { display: none !important; }
.rc-pp { text-align: right; }
.rc-v2-wa {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; margin-top: 1rem; border-radius: 12px;
  background: #1F7A4D; color: #fff !important; font-weight: 700; text-decoration: none;
}
.rc-v2-wa:hover { background: #18633E; }

/* « Good to know » : les textes de la page, une question repliable par intertitre */
.rc-v2 section.sim { padding-bottom: 2rem !important; }
.rc-gtk { background: #E7DECB; padding: 0 2rem 4rem; }   /* même fond que le simulateur : une seule page, sans bande */
.rc-gtk-in { max-width: 1200px; margin: 0 auto; }
.rc-gtk-in > * { max-width: 69.5%; }   /* largeur de la colonne du formulaire */
@media (max-width: 900px) { .rc-gtk-in > * { max-width: none; } }
.rc-gtk-t { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; margin: 0 0 .7rem; }
.rc-faq { background: #FBF9F4; border: 1px solid #E4DDCE; border-radius: 12px; padding: 0 1rem; margin: 0 0 8px; }
.rc-faq > summary { min-height: 48px; display: flex; align-items: center; gap: .6rem; cursor: pointer; list-style: none; }
.rc-faq > summary::-webkit-details-marker { display: none; }
.rc-faq > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: #8C6A2C; }
.rc-faq[open] > summary::after { content: "−"; }
.rc-faq > summary h2 { margin: 0; font: 700 .98rem 'Hanken Grotesk', system-ui, sans-serif; color: #1A1916; }
.rc-faq[open] { padding-bottom: .9rem; }
.rc-faq p, .rc-faq li { font-size: .95rem; line-height: 1.6; }
.rc-faq .faq details { border-top: 1px solid #E4DDCE; padding: .5rem 0; }
.rc-faq .faq summary { font-weight: 700; cursor: pointer; }

/* ---------- Version 3 : recherche ---------- */
.rc-masque { display: none !important; }
.rc-recherche { background: var(--black, #0B0B0D); color: #FBF9F4; padding: 2rem 1.2rem 2.4rem; }
.rc-r-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.1rem; }
.rc-r-titre { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: #FBF9F4; max-width: 800px; }
.rc-r-barre { background: #FBF9F4; border-radius: 18px; padding: .6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .5rem; }
.rc-r-barre label, .rc-r-pax { display: flex; flex-direction: column; gap: .2rem; padding: .5rem .8rem; border-radius: 12px; background: #fff; color: #6A6459; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rc-r-barre input { border: 0; padding: 0; min-height: 32px; font: 600 1.05rem 'Hanken Grotesk', system-ui, sans-serif; color: #1A1916; background: transparent; outline-offset: 4px; }
.rc-r-pax div { display: flex; align-items: center; gap: .6rem; }
.rc-r-pax b { font-size: 1.05rem; color: #1A1916; }
.rc-r-pax button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: #F1EADA; font-size: 1.1rem; cursor: pointer; color: #1A1916; }
.rc-r-go { min-height: 64px; border: 0; border-radius: 12px; background: #CFAE74; color: #0B0B0D; font: 800 1.05rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-r-go:hover { background: #DCC08B; }
.rc-r-pop { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: #B9B1A2; }
.rc-r-pop button { min-height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #3A3833; background: transparent; color: #FBF9F4; font: 600 .9rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-r-pop button:hover { border-color: #CFAE74; }
.rc-r-res { background: var(--bg, #F5F2EC); color: #1A1916; padding: 0 1.2rem; }
.rc-vue-recherche .sim-hero { display: none; }
.rc-vue-recherche .rc-recherche { padding-top: 7.5rem; padding-bottom: 0; }
.rc-recherche .rc-r-res { margin: 2.4rem -1.2rem 0; }
.rc-r-res-in { max-width: 1160px; margin: 0 auto; padding: 2rem 0 3rem; display: flex; flex-direction: column; gap: 1rem; }
.rc-r-calc { font-size: 1.05rem; color: #4A443A; }
.rc-r-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; }
.rc-r-tete h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 1.8rem; }
.rc-r-tete p { margin: .2rem 0 0; color: #4A443A; }
.rc-r-tris { display: flex; flex-wrap: wrap; gap: .5rem; }
.rc-r-tris button { min-height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #D3C9B4; background: #FBF9F4; color: #1A1916; font: 700 .9rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-r-tris button.on { background: #0B0B0D; border-color: #0B0B0D; color: #FBF9F4; }
.rc-r-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.4rem; border-radius: 18px; background: #FBF9F4; border: 1px solid #E4DDCE; }
.rc-r-ligne.trop { opacity: .5; }
.rc-r-ligne img { width: 170px; height: 70px; object-fit: contain; flex: none; }
.rc-r-info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.rc-r-info strong { font-size: 1.25rem; }
.rc-r-badge { align-self: flex-start; background: #1F5C3B; color: #fff; border-radius: 999px; padding: .25rem .65rem; font-size: .75rem; font-weight: 800; }
.rc-r-modele { color: #4A443A; }
.rc-r-puces { display: flex; flex-wrap: wrap; gap: .4rem; }
.rc-r-puces span { background: #EFE7D6; border-radius: 999px; padding: .3rem .7rem; font-size: .8rem; font-weight: 600; }
.rc-r-prix { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.rc-r-prix strong { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rc-r-prix span { font-size: .9rem; color: #4A443A; }
.rc-r-choisir { min-height: 52px; min-width: 130px; padding: 0 1.2rem; border-radius: 12px; border: 2px solid #0B0B0D; background: #fff; color: #0B0B0D; font: 800 1rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-r-choisir:hover { background: #0B0B0D; color: #FBF9F4; }
.rc-r-choisir:disabled { border: 0; background: #EEE9DF; color: #6A6459; cursor: not-allowed; }

.rc-r-des { font-style: normal; color: #CFAE74; font-weight: 700; }
.rc-r-pop button:first-of-type { border-color: #CFAE74; }
.rc-r-ligne.sel { border: 2px solid #8C6A2C; padding: calc(1.1rem - 1px) calc(1.4rem - 1px); }
.rc-r-choisir.on { background: #0B0B0D; color: #FBF9F4; }
.rc-r-barre-resa { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; padding: 1rem 1.4rem; border-radius: 16px; background: #0B0B0D; color: #FBF9F4; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.rc-r-br-t { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.rc-r-br-t strong { font-size: 1rem; }
.rc-r-br-t span { font-size: .82rem; color: #CFC6B4; }
.rc-r-br-p { font-family: 'Fraunces', Georgia, serif; font-size: 2rem; color: #CFAE74; line-height: 1; }
.rc-r-br-go { min-height: 52px; padding: 0 1.6rem; border: 0; border-radius: 12px; background: #CFAE74; color: #0B0B0D; font: 800 1rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-r-br-go:hover { background: #DCC08B; }

/* ---------- Version 2 : étapes (téléphone) ---------- */
.rc-tuiles-t { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; margin: 0 0 .7rem; }
.rc-tuiles-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rc-tuile { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; min-height: 72px; padding: .7rem .8rem; border: 1px solid #D3C9B4; border-radius: 12px; background: #fff; color: #1A1916; text-align: left; font: inherit; cursor: pointer; }
.rc-tuile strong { font-size: .95rem; }
.rc-tuile span { font-size: .75rem; color: #6A6459; line-height: 1.3; }
.rc-tuile.on { background: #0B0B0D; border-color: #0B0B0D; color: #FBF9F4; }
.rc-tuile.on span { color: #CFC6B4; }
.rc-vue-etapes .sim-hero { padding-top: 5.5rem; padding-bottom: 1.2rem; }
.rc-vue-etapes .sim-hero h1 { font-size: 1.7rem; }
.rc-etapes { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.rc-etapes li { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .5rem .2rem; border-radius: 12px; font-size: .8rem; font-weight: 600; color: #6A6459; text-align: center; border: 1px solid #E4DDCE; }
.rc-etapes b { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E4DDCE; color: #4A443A; }
.rc-etapes li.en-cours { border: 2px solid #0B0B0D; color: #1A1916; background: #FBF9F4; }
.rc-etapes li.en-cours b, .rc-etapes li.fait b { background: #0B0B0D; color: #FBF9F4; }
.rc-etapes-nav { position: sticky; bottom: 0; z-index: 50; display: flex; gap: .6rem; padding: .7rem 0 calc(.7rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg, #F5F2EC) 30%); }
.rc-etapes-nav button { min-height: 56px; border-radius: 14px; font: 800 1rem 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; }
.rc-e-retour { flex: 0 0 auto; padding: 0 1.1rem; border: 1px solid #D3C9B4; background: #fff; color: #1A1916; }
.rc-e-suite { flex: 1; border: 0; background: #0B0B0D; color: #FBF9F4; }
.rc-e-retour[hidden] { display: none; }
.rc-vue-etapes #simMbar { display: none !important; }   /* la barre du bas est remplacée par Retour / Continuer */
