/* Forgeron Réservations — formulaire public (V0.5)
   Reprend les variables du thème du site si elles existent (--anthracite, --or-texte…), sinon des valeurs neutres. */
.frv { --frv-texte: var(--anthracite, #262626); --frv-accent: var(--or-texte, #6E5A30); --frv-fond: var(--blanc, #fff);
	--frv-doux: var(--texte-doux, #5A564F); --frv-filet: var(--filet, #D6CAB4); --frv-pale: var(--ivoire, #F7F3EB);
	--frv-erreur: #A1261B; --frv-ok: #2F5D34;
	font-family: var(--sans, system-ui, sans-serif); color: var(--frv-texte); max-width: 40rem; margin: 2rem auto; line-height: 1.5; }
.frv * { box-sizing: border-box; }
.frv-invisible, .frv-piege { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.frv-intro { color: var(--frv-doux); margin-bottom: .25rem; }
.frv-tarif { font-size: .85rem; color: var(--frv-doux); margin: 0 0 1rem; }
.frv-etape { border: 0; margin: 0 0 1.75rem; padding: 0; }
.frv-etape-titre { font-family: var(--serif, Georgia, serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 .5rem; padding: 0; }
.frv-aide, .frv .explication { font-size: .9rem; color: var(--frv-doux); margin: .25rem 0 .75rem; }

/* Calendrier */
.frv-cal-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.frv-cal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; color: var(--frv-accent); }
.frv-cal-mois { margin: 0 auto; font-weight: 600; text-align: center; }
.frv-cal-grille { width: 100%; border-collapse: collapse; table-layout: fixed; }
.frv-cal-grille th { font-size: .8rem; font-weight: 600; color: var(--frv-doux); padding: .25rem 0; text-align: center; }
.frv-cal-grille th abbr { text-decoration: none; }
.frv-cal-grille td { padding: 2px; text-align: center; }
.frv-jour a, .frv-jour span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 4px; text-decoration: none; }
.frv-disponible a { background: var(--frv-pale); color: var(--frv-texte); border: 1px solid var(--frv-filet); font-weight: 600; }
.frv-disponible a:hover, .frv-disponible a:focus-visible { border-color: var(--frv-accent); outline: 2px solid var(--frv-accent); outline-offset: 1px; }
.frv-choisi a { background: var(--frv-texte); color: var(--frv-fond); border-color: var(--frv-texte); }
.frv-complet span { color: var(--frv-doux); text-decoration: line-through; }
.frv-ferme span, .frv-hors_fenetre span { color: #8A857C; }
.frv-legende { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: .75rem 0 0; padding: 0; font-size: .85rem; color: var(--frv-doux); }
.frv-pastille { display: inline-block; width: .9rem; height: .9rem; border-radius: 2px; vertical-align: -.1rem; border: 1px solid var(--frv-filet); }
.frv-pastille.frv-disponible { background: var(--frv-pale); }
.frv-pastille.frv-complet { background: repeating-linear-gradient(45deg, #fff, #fff 2px, #ccc 2px, #ccc 4px); }
.frv-pastille.frv-ferme { background: #eee; }

/* Départs */
.frv-date-choisie { margin: 0 0 .5rem; }
.frv-departs { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.frv-depart { position: relative; }
.frv-depart input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.frv .frv-depart label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: .4rem; border: 1px solid var(--frv-filet); border-radius: 4px; background: var(--frv-fond); cursor: pointer; }
.frv-depart-heure { font-weight: 700; font-variant-numeric: tabular-nums; }
.frv-depart-places { font-size: .8rem; color: var(--frv-doux); }
.frv .frv-depart input:checked + label { background: var(--frv-texte); border-color: var(--frv-texte); color: var(--frv-fond); }
.frv-depart input:checked + label .frv-depart-places { color: var(--frv-fond); }
.frv-depart input:focus-visible + label { outline: 2px solid var(--frv-accent); outline-offset: 2px; }
.frv .frv-depart-complet label { cursor: not-allowed; background: #f2f2f2; color: #8A857C; }

/* Champs */
.frv .editer { margin: 0 0 1rem; }
.frv label { display: block; font-weight: 600; margin-bottom: .25rem; }
.frv input[type=text], .frv input[type=email], .frv input[type=tel], .frv select { width: 100%; min-height: 44px; padding: .5rem .65rem; font: inherit; font-size: 1rem; color: inherit; background: var(--frv-fond); border: 1px solid #8F887C; border-radius: 4px; }
.frv input:focus-visible, .frv select:focus-visible { outline: 2px solid var(--frv-accent); outline-offset: 1px; }
.frv .editer_consentement { display: grid; grid-template-columns: auto 1fr; gap: .25rem .6rem; align-items: start; }
.frv .editer_consentement .erreur_message { grid-column: 1 / -1; }
.frv .editer_consentement input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; }
.frv .editer_consentement label { font-weight: 400; }
.frv-rgpd { font-size: .85rem; color: var(--frv-doux); }
.frv .erreur_message { display: block; color: var(--frv-erreur); font-size: .9rem; font-weight: 600; margin: .15rem 0; }
.frv .erreur input, .frv .erreur select { border-color: var(--frv-erreur); }

/* Bouton, messages */
.frv-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.6rem; font: inherit; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--frv-fond); background: var(--frv-texte); border: 1px solid var(--frv-texte); border-radius: 0; cursor: pointer; }
.frv-bouton:hover, .frv-bouton:focus-visible { background: var(--frv-accent); border-color: var(--frv-accent); }
.frv .reponse_formulaire { padding: 1rem 1.25rem; border-left: 4px solid; margin: 0 0 1.5rem; }
.frv-erreur { border-color: var(--frv-erreur) !important; background: #FBEDEB; color: var(--frv-erreur); }
.frv-confirmation { border-color: var(--frv-ok) !important; background: #EEF5EE; }
.frv-reference strong { font-size: 1.25rem; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.frv-recap { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; }
.frv-recap dt { font-weight: 600; }
.frv-recap dd { margin: 0; }
:lang(zh) .frv-depart-places, :lang(ja) .frv-depart-places, :lang(ko) .frv-depart-places { font-size: .85rem; }
@media (max-width: 30rem) {
	.frv-bouton { width: 100%; }
	.frv-cal-nav a { min-width: 44px; justify-content: center; font-size: 1.5rem; }
	.frv-cal-nav .frv-cal-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 0.6.0 — choix de la langue de visite (un départ = une langue) */
.frv-langues { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.frv-langues li { margin: 0; }
.frv .frv-langue { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 7.5rem; padding: .4rem 1rem; border: 1px solid var(--frv-filet); border-radius: 4px; background: var(--frv-fond); color: var(--frv-texte); text-decoration: none; }
.frv a.frv-langue:hover, .frv a.frv-langue:focus { border-color: var(--frv-texte); }
.frv .frv-langue-choisie { background: var(--frv-texte); border-color: var(--frv-texte); color: var(--frv-fond); }
.frv-langue-rappel { margin: .25rem 0 .75rem; }
.frv-autre-langue { font-style: italic; }
