/* Réserver ma place et confirmation (07/11/2026). Même écriture que le journal refait : fond blanc, encre sombre,
   titres Bricolage, filets plutôt que cartes, le jaune réservé au bouton. Le récapitulatif reste visible à côté. */
.resa, .conf { --voile: #EFF4F7; --encre-corps: #1B2A35; padding-block: 28px 72px; color: var(--encre-corps); }
.resa .ariane { margin-bottom: 20px; font-size: .9375rem; color: var(--gris); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.resa .ariane a { color: inherit; }
.resa__grille { display: grid; gap: 40px; }
.resa__col { min-width: 0; }
.resa__titre { margin: 0; font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--titre); letter-spacing: -.035em; color: var(--marine); text-wrap: balance; }
.resa__chapo { margin: 16px 0 0; max-width: 40rem; font-size: 1.1875rem; line-height: 1.55; }
.resa__form { margin-top: 36px; display: grid; gap: 40px; }
.resa__form--fige { opacity: .55; }
.resa__etape { display: grid; gap: 20px; padding-top: 22px; border-top: 2px solid var(--marine); }
.resa__paiement { margin-top: 40px; }
.resa__h2 { margin: 0; display: flex; align-items: center; gap: 12px; font: 700 1.5rem/1.2 var(--titre); letter-spacing: -.015em; color: var(--marine); }
.resa__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--marine); color: var(--blanc); font: 700 1rem/1 var(--texte); flex: none; }
.resa__champs { display: grid; gap: 18px 20px; }
.resa__champ { display: grid; gap: 6px; align-content: start; min-width: 0; }
.resa__champ > label, .resa__label { font-weight: 600; font-size: 1rem; color: var(--marine); }
.resa__facultatif { font-weight: 400; color: var(--gris); }
.resa__champ input:not([type=checkbox]), .resa__champ select, .resa__champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #C9D6DF; border-radius: 10px; background: var(--blanc); font: 400 1.0625rem/1.3 var(--texte); color: var(--encre-corps); }
.resa__champ textarea { min-height: 96px; resize: vertical; }
.resa__champ input:focus-visible, .resa__champ select:focus-visible, .resa__champ textarea:focus-visible { outline: 3px solid var(--ambre); outline-offset: 1px; border-color: var(--marine); }
.resa__aide { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--gris); }
.resa__erreur { display: none; margin: 0; font-size: .9375rem; color: var(--alerte); font-weight: 600; }
.resa__champ.invalide input, .resa__champ.invalide select { border-color: var(--alerte); }
.resa__champ.invalide .resa__erreur { display: block; }

.resa__compteur { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; border: 1.5px solid #C9D6DF; border-radius: 10px; overflow: hidden; background: var(--blanc); }
.resa__compteur button { border: 0; background: var(--voile); font: 600 1.375rem/1 var(--texte); color: var(--marine); cursor: pointer; }
.resa__compteur button:hover { background: #E2EBF1; }
.resa__compteur button:focus-visible { outline: 3px solid var(--ambre); outline-offset: -3px; }
.resa__champ .resa__compteur input { border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.resa__compteur input::-webkit-outer-spin-button, .resa__compteur input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.resa__case label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; color: var(--encre-corps); line-height: 1.5; }
.resa__case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--marine); }
.resa__case a { color: var(--marine); text-decoration-color: var(--ambre); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.resa__envoi-erreur { margin: 0; padding: 12px 16px; border-left: 4px solid var(--alerte); background: #FBEDEC; font-weight: 600; }
.resa__continuer { justify-self: start; }

.resa__secu { display: flex; gap: 10px; align-items: flex-start; max-width: 40rem; }
.resa__secu svg { width: 20px; height: 20px; flex: none; fill: #2F7D4F; margin-top: 1px; }
.resa__stripe { min-height: 360px; }
.resa__modifier { padding: 0; border: 0; background: none; font: 600 1rem var(--texte); color: var(--marine); text-decoration: underline; text-decoration-color: var(--ambre); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }

/* Le récapitulatif */
.resa__recap { display: grid; gap: 22px; align-content: start; }
.resa__carte { border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; background: var(--blanc); }
.resa__photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.resa__carte-in { display: grid; gap: 10px; padding: 18px 20px 20px; }
.resa__lieu { margin: 0; font-size: .875rem; color: var(--gris); }
.resa__mission { margin: 0; font: 700 1.25rem/1.25 var(--titre); color: var(--marine); }
.resa__lignes { margin: 6px 0 0; display: grid; border-top: 1px solid var(--trait); }
.resa__lignes > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.resa__lignes dt { color: var(--gris); }
.resa__lignes dt small { display: block; font-size: .8125rem; }
.resa__lignes dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.resa__lignes--prix { border-top: 2px solid var(--marine); }
.resa__fort dt, .resa__fort dd { color: var(--marine); font-weight: 700; }
.resa__fort dd { font-size: 1.25rem; }
.resa__autre { justify-self: start; font-size: .9375rem; color: var(--marine); }
.resa__ensuite h3 { margin: 0 0 10px; font: 700 1.125rem/1.3 var(--titre); color: var(--marine); }
.resa__ensuite ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .9688rem; line-height: 1.5; }
.resa__equipe { display: grid; gap: 10px; font-size: .9688rem; line-height: 1.5; }
.resa__equipe img { width: 100%; height: auto; border-radius: 8px; }
.resa__equipe p { margin: 0; }
.resa__equipe a { font-weight: 700; color: var(--marine); white-space: nowrap; }

/* Confirmation */
.conf { max-width: 46rem; display: grid; gap: 22px; }
.conf__tete { display: grid; gap: 12px; }
.conf__coche { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #2F7D4F; }
.conf__coche svg { width: 30px; height: 30px; fill: #fff; }
.conf__recap { margin: 0; display: grid; border-top: 2px solid var(--marine); }
.conf__recap > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.conf__recap dt { color: var(--gris); }
.conf__recap dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.conf__suite { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: 1.0625rem; line-height: 1.55; }
.conf__contact a { font-weight: 700; color: var(--marine); }

@media (min-width: 700px) {
  .resa__champs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resa__champs--3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1040px) {
  .resa__grille { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
  .resa__recap { position: sticky; top: 100px; }
}
@media (max-width: 1039px) {
  .resa__photo, .resa__equipe img { display: none; }
}
/* Le champ piège des robots : hors de l'écran, jamais vu ni atteint au clavier. */
.resa .piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Échéancier du récapitulatif et moyens de paiement (07/11/2026) */
.resa__total { margin: 6px 0 0; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px solid var(--marine); border-bottom: 1px solid var(--trait); }
.resa__total span { color: var(--gris); }
.resa__total b { font-variant-numeric: tabular-nums; color: var(--marine); }
.resa__frise { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.resa__frise li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 0 12px 26px; }
.resa__frise li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--blanc); border: 2px solid #9FB4C2; }
.resa__frise li::after { content: ""; position: absolute; left: 8px; top: 29px; bottom: -6px; width: 2px; background: var(--trait); }
.resa__frise li:last-child::after { display: none; }
.resa__frise li.est-maintenant::before { background: var(--ambre); border-color: var(--ambre-fonce); }
.resa__quand { grid-column: 1; font-weight: 700; color: var(--marine); }
.resa__quoi { grid-column: 1; font-size: .9063rem; line-height: 1.4; color: var(--gris); }
.resa__frise b { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-variant-numeric: tabular-nums; color: var(--marine); }
.resa__frise li.est-maintenant b { font-size: 1.25rem; }
.resa__payer { display: grid; gap: 12px; justify-items: start; }
.resa__moyens { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.moyens { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.moyens img { width: 38px; height: 24px; display: block; }
.resa__stripe-mention { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--gris); }
.resa__stripe-mention svg { width: 16px; height: 16px; fill: #2F7D4F; }

/* Le bouton qui patiente (07/11/2026) : la roue dit que ça avance, le texte dit ce qui se prépare. */
.btn--attente { cursor: progress; }
.btn.btn--attente:disabled { opacity: 1; }
.resa__roue { display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; border-radius: 50%; border: 2.5px solid rgba(5, 39, 64, .25); border-top-color: var(--marine); animation: resa-roue .8s linear infinite; }
@keyframes resa-roue { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .resa__roue { animation-duration: 2.4s; } }

/* Étapes 1 et 2 repliées une fois validées */
.resa__resume { margin-top: 36px; display: grid; gap: 14px; padding: 18px 20px; border-radius: 12px; background: #F4F8FA; border: 1px solid #DCE6EC; }
.resa__resume-l { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.resa__resume-l b { display: block; color: var(--marine); }
.resa__resume-l span { color: var(--encre-corps); font-size: .9688rem; line-height: 1.45; overflow-wrap: anywhere; }
.resa__coche { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2F7D4F; }
.resa__coche svg { width: 15px; height: 15px; fill: #fff; }
.resa__resume .resa__modifier { justify-self: start; }

/* Téléphone : pays et indicatif (repris de demande.css) */
.tel { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.tel select { font-variant-numeric: tabular-nums; }
.tel select.indicatif__natif { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.indicatif { position: relative; }
.indicatif__bouton { display: inline-flex; align-items: center; gap: 8px; height: 100%; min-height: 54px; padding: 0 12px 0 14px; border: 1.5px solid #B5C6D2; border-radius: var(--r-outil); background: var(--blanc); cursor: pointer; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; transition: border-color .15s; }
.indicatif__bouton:hover, .indicatif__bouton[aria-expanded="true"] { border-color: var(--marine); }
.indicatif__bouton:focus-visible { outline: 3px solid var(--ambre-fonce); outline-offset: 0; border-color: var(--marine); }
.indicatif__bouton svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.indicatif img, .indicatif__globe { flex: none; width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(5, 39, 64, .14); object-fit: cover; }
.indicatif__globe { display: inline-grid; place-items: center; background: #EEF3F7; font-weight: 800; font-size: .8125rem; color: var(--marine); box-shadow: none; }
.indicatif__pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(320px, calc(100vw - 32px)); background: var(--blanc); border: 1.5px solid #B5C6D2; border-radius: var(--r-outil); box-shadow: 0 16px 40px rgba(5, 39, 64, .18); padding: 8px; }
.resa__champ .indicatif__cherche { min-height: 46px; padding: 10px 14px; font-size: 1rem; }
.indicatif__liste { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.indicatif__liste li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.indicatif__liste li.actif, .indicatif__liste li:hover { background: #EEF3F7; }
.indicatif__liste li[aria-selected="true"] { font-weight: 700; }
.indicatif__nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.indicatif__code { color: var(--encre-70); font-variant-numeric: tabular-nums; }
.indicatif__liste .indicatif__vide { cursor: default; color: var(--encre-70); background: none; }
@media (max-width: 360px) { .indicatif__bouton { gap: 6px; padding: 0 8px 0 10px; } }
.resa__champ .tel input { min-width: 0; }
.resa .indicatif__bouton { min-height: 50px; border-radius: 10px; border-color: #C9D6DF; }
/* Le menu natif des pays porte la valeur envoyée, mais reste caché : on voit le sélecteur à drapeau. */
.resa .resa__champ .tel { position: relative; }
.resa .resa__champ .tel select.indicatif__natif { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }

/* Le titre de l'étape 3 reçoit le focus pour les lecteurs d'écran : pas de cadre visible à la souris. */
.resa__h2[tabindex="-1"]:focus { outline: none; }

/* Lien de paiement de l'équipe (/payer/, 07/11/2026) : une colonne, le récapitulatif de l'affaire puis le paiement. */
.payer__col { max-width: 720px; }
.payer__carte { margin: 28px 0 24px; padding: 8px 24px 20px; border: 1px solid #DCE6EC; border-radius: 14px; background: var(--blanc); }
.payer__carte .resa__aide { margin: 6px 0 0; }
.payer .resa__paiement { margin-top: 8px; }
.payer .conf__contact { margin-top: 28px; }
.payer .resa__payer { margin-top: 18px; }
.payer__carte .resa__lignes { border-top: 0; }
