/* Accueil : jeudis de la cave, puis événements et restaurateurs (pages/home-rendez-vous.php).
   Version légère du 09/11 : une photo, un titre, le prochain jeudi, une ligne de liens.
   Versionnée par filemtime dans le gabarit : pas de $ver à incrémenter. */

.rdv {
    --rdv-encre: #18181C;
    --rdv-or: var(--color-yellow, #EDD28A);
    --rdv-or-texte: #7A5C12;
    --rdv-trait: #E7E5E0;
    --rdv-gris: #5F5E66;

    box-sizing: border-box;
    color: var(--rdv-encre);
    padding: 72px max(24px, calc((100% - 1040px) / 2));
    display: flex;
    flex-direction: column;
    gap: 72px;
}
.rdv h2, .rdv p, .rdv ol { margin: 0; padding: 0; }
.rdv ol { list-style: none; }

.rdv-jeudis {
    display: grid;
    /* Alternance des photos : Jean-Luc à droite, cave à gauche, jeudis à droite (21/11/2026). */
    grid-template-columns: minmax(0, 23fr) minmax(0, 17fr);
    gap: 56px;
    align-items: center;
}
.rdv-jeudis-photos { order: 2; }
/* Quatre vues de la cave en carré : la devanture, le présentoir, l'allée, les casiers. */
.rdv-mosaique {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
}
.rdv-mosaique img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}
.rdv-mosaique img:first-child { object-position: 50% 0; }

.rdv-texte { display: flex; flex-direction: column; gap: 16px; }
.rdv-quand {
    font-size: 12px;
    font-weight: var(--fw-bold, 700);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rdv-or-texte);
}
.rdv-jeudis h2 {
    font-size: 36px;
    font-weight: var(--fw-light, 300);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.rdv-intro { font-size: 16px; line-height: 1.65; color: var(--rdv-gris); max-width: 560px; }
.rdv-nowrap { display: inline; white-space: nowrap; }

/* Trois repères : l'heure, le lieu, le prix */
.rdv .rdv-reperes {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .9fr);
    gap: 16px;
    margin: 8px 0 4px;
    padding: 0;
}
.rdv-repere {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 2px 0 2px 16px;
    border-left: 1px solid var(--rdv-trait);
}
.rdv-repere:first-child { padding-left: 0; border-left: 0; }
.rdv-ico { flex: none; display: block; width: 26px; height: 26px; margin-top: 1px; }
.rdv-ico svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--rdv-or-texte);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rdv-repere-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rdv-repere-titre { font-size: 13px; font-weight: var(--fw-bold, 700); line-height: 1.3; white-space: nowrap; }
.rdv-repere-val { font-size: 13px; color: var(--rdv-gris); line-height: 1.35; }
a.rdv-repere-val { text-decoration: underline; text-decoration-color: var(--rdv-trait); text-underline-offset: 3px; }
a.rdv-repere-val:hover { color: var(--rdv-encre); text-decoration-color: var(--rdv-or); }
.rdv-devise {
    font-size: 11px;
    font-weight: var(--fw-bold, 700);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--rdv-or-texte);
    margin-top: -8px !important; /* collée au titre */
}

/* Les trois prochains jeudis, en petit agenda ; un quatrième est rendu pour
   survivre au cache (le script retire ceux qui sont passés). */
.rdv-agenda {
    margin-top: 4px;
    padding: 14px 18px 6px;
    background: #FAF7EF;
    border: 1px solid #EFE6CF;
    border-radius: 14px;
}
.rdv-liste-titre {
    font-size: 11px;
    font-weight: var(--fw-bold, 700);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rdv-or-texte);
    padding-bottom: 6px !important;
}
.rdv-date {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid #EFE6CF;
}
.rdv-date:nth-child(n+4) { display: none; }
.rdv-date-badge {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #E6D7AE;
    line-height: 1;
}
.rdv-date-num { font-size: 19px; font-weight: var(--fw-bold, 700); color: var(--rdv-encre); }
.rdv-date-mois { margin-top: 3px; font-size: 10px; font-weight: var(--fw-bold, 700); letter-spacing: .12em; text-transform: uppercase; color: var(--rdv-or-texte); }
.rdv-date-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.rdv-date-theme { order: -1; font-size: 15px; font-weight: var(--fw-medium, 500); line-height: 1.3; color: var(--rdv-encre); }
.rdv-date--sans-theme .rdv-date-theme { font-weight: 400; font-style: italic; color: var(--rdv-gris); }
.rdv-date-jour { font-size: 12px; color: var(--rdv-gris); }
.rdv-date-jour::first-letter { text-transform: uppercase; }
/* Ajouter au calendrier (.ics) */
.rdv-date-cal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    margin-right: -6px;
    border-radius: 50%;
    color: var(--rdv-or-texte);
    transition: background-color .15s;
}
.rdv-date-cal:hover, .rdv-date-cal:focus-visible { background: #F1E8D0; }
.rdv-date-cal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* « Réservation obligatoire » sous le bouton qui réserve */
.rdv-reserver { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rdv-resa { padding-left: 4px; font-size: 12px; color: var(--rdv-gris); letter-spacing: .01em; }

.rdv-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 24px; margin-top: 8px; }
.rdv-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--rdv-encre);
    color: #fff;
    font-size: 15px;
    font-weight: var(--fw-bold, 700);
    transition: background .2s ease-in-out, color .2s ease-in-out;
}
.rdv-btn:hover { background: var(--rdv-or); color: var(--rdv-encre); }
.rdv-lien { font-size: 14px; font-weight: var(--fw-medium, 500); text-decoration: underline; text-underline-offset: 4px; line-height: 48px; }

/* La cave : photos à gauche (la photo du conseil, la sélection en médaillon), texte à droite */
.rdv-cave {
    display: grid;
    grid-template-columns: minmax(0, 23fr) minmax(0, 20fr);
    gap: 56px;
    align-items: center;
}
.rdv-cave-texte { display: flex; flex-direction: column; gap: 16px; }
.rdv-cave h2, .rdv-acces-h {
    font-size: 36px;
    font-weight: var(--fw-light, 300);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.rdv .rdv-piliers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.rdv-piliers li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--rdv-or); }
.rdv-pilier-titre { font-size: 12px; font-weight: var(--fw-bold, 700); letter-spacing: .18em; text-transform: uppercase; color: var(--rdv-or-texte); }
.rdv-pilier-txt { font-size: 15px; line-height: 1.6; color: var(--rdv-gris); }
.rdv-cave-photos { position: relative; padding-bottom: 72px; order: -1; }
.rdv-cave-photos img { display: block; width: 100%; height: auto; border-radius: 14px; object-fit: cover; }
.rdv-cave-grande { aspect-ratio: 3 / 2; }
.rdv-cave-photos .rdv-cave-petite {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 46%;
    aspect-ratio: 3 / 2;
    border: 6px solid #fff;
    border-radius: 16px;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45);
}


.rdv .rdv-avis { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.rdv-avis li { padding-left: 16px; border-left: 2px solid var(--rdv-or); }
.rdv-avis blockquote { margin: 0; font-size: 16px; line-height: 1.5; font-style: italic; color: var(--rdv-encre); }
.rdv-avis cite { display: block; margin-top: 4px; font-size: 12px; font-style: normal; font-weight: var(--fw-bold, 700); letter-spacing: .06em; color: var(--rdv-or-texte); }
.rdv-avis-source { align-self: flex-start; font-size: 13px; color: var(--rdv-gris); text-decoration: underline; text-decoration-color: var(--rdv-trait); text-underline-offset: 3px; }
.rdv-avis-source span { color: #C9A13B; letter-spacing: .08em; text-decoration: none; margin-right: 4px; }
.rdv-jl-intro { font-size: 16px; line-height: 1.6; color: var(--rdv-gris); }

/* Jean-Luc : texte à gauche, le portrait à droite avec une ombre dorée décalée, trois repères */
.rdv-jl {
    display: grid;
    grid-template-columns: minmax(0, 25fr) minmax(0, 15fr);
    gap: 64px;
    align-items: center;
}
.rdv-jl-cadre { padding: 0 24px 24px 0; order: 2; }
.rdv-jl-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 24px 24px 0 #F3ECDA;
}
.rdv-jl-texte { display: flex; flex-direction: column; gap: 16px; }
.rdv-jl-h { font-size: 36px; font-weight: var(--fw-light, 300); line-height: 1.15; letter-spacing: -.01em; }
.rdv .rdv-jl-faits {
    list-style: none;
    margin: 12px 0 8px;
    padding: 24px 0 0;
    border-top: 1px solid var(--rdv-trait);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.rdv-jl-faits strong { display: block; font-size: 21px; white-space: nowrap; font-weight: var(--fw-light, 300); line-height: 1.1; color: var(--rdv-or-texte); }
.rdv-jl-faits span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--rdv-encre); }
.rdv-jl-lien { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: var(--fw-bold, 700); color: var(--rdv-or-texte); }
.rdv-jl-lien svg { transition: transform .2s ease-in-out; }
.rdv-jl-lien:hover svg { transform: translateX(4px); }

/* Jeudis : une seule grande photo */
.rdv-jeudis-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }

/* Où nous trouver : la carte et les coordonnées, dans un encadré */
.rdv-acces {
    display: grid;
    grid-template-columns: minmax(0, 23fr) minmax(0, 17fr);
    gap: 0;
    border: 1px solid var(--rdv-trait);
    border-radius: 16px;
    overflow: hidden;
    background: #FAF7EF;
}
.rdv-acces-carte { min-height: 340px; }
.rdv-acces-carte iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.rdv-acces-texte { display: flex; flex-direction: column; gap: 14px; padding: 32px 36px; }
.rdv-acces-h { font-size: 28px; }
.rdv-acces-liste { margin: 4px 0 0; display: grid; gap: 12px; }
.rdv-acces-liste div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.rdv-acces-liste dt { font-size: 11px; font-weight: var(--fw-bold, 700); letter-spacing: .16em; text-transform: uppercase; color: var(--rdv-or-texte); padding-top: 3px; }
.rdv-acces-liste dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--rdv-encre); }
.rdv-acces-liste a { color: inherit; text-decoration: underline; text-decoration-color: var(--rdv-trait); text-underline-offset: 3px; }
.rdv-acces-liste a:hover { text-decoration-color: var(--rdv-or); }
.rdv-acces-itineraire { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--rdv-or-texte); font-weight: var(--fw-bold, 700); }

/* Événements / pros : deux encadrés sobres, sans photo */
.rdv-pros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rdv-pro {
    display: flex;
    padding: 36px 40px;
    position: relative;
    border: 1px solid var(--rdv-trait);
    border-radius: 16px;
    background: #fff;
    color: var(--rdv-encre);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.rdv-pro::before { content: ""; position: absolute; left: 40px; top: 0; width: 48px; height: 3px; background: var(--rdv-or); }
.rdv-pro:hover { border-color: #E2CF9C; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); }
.rdv-pro-texte { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rdv-pro-ico { width: 40px; height: 40px; margin-bottom: 8px; }
.rdv-pro-ico svg { width: 40px; height: 40px; fill: none; stroke: var(--rdv-or-texte); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.rdv-pro-sur { font-size: 11px; font-weight: var(--fw-bold, 700); letter-spacing: .22em; text-transform: uppercase; color: var(--rdv-or-texte); }
.rdv-pro-titre { font-size: 26px; font-weight: var(--fw-light, 300); line-height: 1.2; }
.rdv-pro-desc { font-size: 15px; color: var(--rdv-gris); margin-bottom: 16px; }
.rdv-pro-cta {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin-top: auto; padding: 12px 22px; border-radius: 999px;
    border: 1px solid var(--rdv-encre); color: var(--rdv-encre);
    font-size: 14px; font-weight: var(--fw-bold, 700);
    transition: background .2s, color .2s;
}
.rdv-pro:hover .rdv-pro-cta { background: var(--rdv-encre); color: #fff; }
.rdv-pro-cta svg { transition: transform .2s ease-in-out; }
.rdv-pro:hover .rdv-pro-cta svg { transform: translateX(4px); }

@media (max-width: 1024px) {
    .rdv { padding: 56px 32px; }
    .rdv-cave { gap: 36px; }
    .rdv-cave h2 { font-size: 30px; }
    .rdv-cave-photos .rdv-cave-petite { right: -20px; }
    .rdv-acces { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .rdv-jl { gap: 40px; }
    .rdv-jl-h { font-size: 30px; }
    .rdv .rdv-jl-faits { gap: 20px; }
    .rdv-jl-faits strong { font-size: 18px; }

    .rdv .rdv-reperes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .rdv-jeudis { gap: 36px; }
    .rdv-jeudis h2 { font-size: 30px; }
}

@media (max-width: 760px) {
    .rdv { padding: 48px 16px; gap: 48px; }
    .rdv-cave { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .rdv-cave-photos { order: -1; padding-bottom: 48px; }
    .rdv-cave-photos .rdv-cave-petite { left: auto; right: 12px; width: 48%; border-width: 4px; }

    .rdv-cave h2, .rdv-acces-h { font-size: 28px; }
    .rdv-acces { grid-template-columns: minmax(0, 1fr); }
    .rdv-jl { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .rdv-jl-cadre { padding: 0 16px 16px 0; order: -1; }
    .rdv-jl-photo { aspect-ratio: 1; object-position: 50% 15%; box-shadow: 16px 16px 0 #F3ECDA; }
    .rdv-jl-h { font-size: 28px; }
    .rdv .rdv-jl-faits { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .rdv-jeudis-photo { aspect-ratio: 4 / 3; }

    .rdv-acces-carte, .rdv-acces-carte iframe { min-height: 240px; }
    .rdv-acces-texte { padding: 24px 20px; }
    .rdv-acces-liste div { grid-template-columns: 84px minmax(0, 1fr); }
    .rdv-jeudis { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .rdv-jeudis-photos { order: -1; }
    .rdv-mosaique { gap: 4px; border-radius: 12px; }
    .rdv-mosaique img { aspect-ratio: 4 / 3; }
    .rdv-texte { gap: 12px; }
    .rdv-jeudis h2 { font-size: 28px; }
    .rdv-intro { font-size: 15px; }
    .rdv-actions { gap: 4px 20px; }
    .rdv-agenda { padding: 12px 14px 4px; }
    .rdv-date { gap: 12px; }
    .rdv-date-theme { font-size: 14px; }
    .rdv .rdv-reperes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .rdv-repere, .rdv-repere:first-child { padding: 0; border-left: 0; }
    .rdv-br { display: none; }
    .rdv-pros { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .rdv-pro { padding: 26px 22px; }
    .rdv-pro::before { left: 22px; }
    .rdv-pro-titre { font-size: 22px; }
}

/* ------------------------------------------------------------------------
   Panneau « Réserver ma place » / « Offrir une dégustation »
   (pages/jeudis-panneau.php)
   ------------------------------------------------------------------------ */
.rdvp {
    /* init.css remet toutes les marges à 0 : sans ceci, le dialogue se colle en haut à gauche. */
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    --rdv-encre: #18181C;
    --rdv-or: #EDD28A;
    --rdv-or-texte: #7A5C12;
    --rdv-trait: #EFE6CF;
    --rdv-gris: #5F5E66;
    width: min(560px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    color: var(--rdv-encre);
    background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
    font-family: inherit;
}
.rdvp::backdrop { background: rgba(14, 14, 17, .55); backdrop-filter: blur(2px); }
/* Fenêtre ouverte (jeudis, devis) : la page derrière ne défile plus, seul le contenu de la fenêtre défile. */
html:has(dialog.rdvp[open]) { overflow: hidden; }
dialog.rdvp { overscroll-behavior: contain; }
.rdvp-form { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.rdvp-tete {
    position: relative;
    padding: 26px 28px 0;
    color: #fff;
    background: radial-gradient(120% 120% at 85% 0%, #2a2a31 0%, #18181C 60%, #0e0e11 100%);
}
.rdvp-tete::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, #9c7a2b, #EDD28A 35%, #fff3c9 50%, #EDD28A 65%, #9c7a2b);
}
.rdvp-sur { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--rdv-or); }
.rdvp-titre { margin: 6px 0 0; font-size: 26px; font-weight: 300; line-height: 1.2; color: #fff; }
.rdvp-fermer {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.rdvp-fermer:hover { background: rgba(255, 255, 255, .16); }
.rdvp-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rdvp-onglets { display: flex; gap: 24px; margin-top: 18px; }
.rdvp-onglet {
    padding: 0 0 12px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .6);
    border-bottom: 2px solid transparent;
}
.rdvp-onglet[aria-selected="true"] { color: #fff; border-bottom-color: var(--rdv-or); }

.rdvp-corps { padding: 20px 28px 8px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 18px; }
.rdvp-bloc { margin: 0; padding: 0; border: 0; min-width: 0; }
.rdvp-bloc[hidden] { display: none; }
.rdvp-legende { display: block; margin-bottom: 8px; padding: 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rdv-or-texte); }
.rdvp-attente { margin: 0; font-size: 14px; color: var(--rdv-gris); }

.rdvp-dates { display: flex; flex-direction: column; gap: 8px; }
.rdvp-date, .rdvp-choix {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px;
    border: 1px solid var(--rdv-trait); border-radius: 12px;
    background: #FAF7EF; cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.rdvp-date input, .rdvp-choix input { position: absolute; opacity: 0; pointer-events: none; }
.rdvp-date:hover, .rdvp-choix:hover { border-color: #E2CF9C; }
.rdvp-date:has(input:checked), .rdvp-choix:has(input:checked) { border-color: var(--rdv-encre); background: #fff; box-shadow: 0 0 0 1px var(--rdv-encre); }
.rdvp-date:has(input:focus-visible), .rdvp-choix:has(input:focus-visible) { outline: 2px solid var(--rdv-or-texte); outline-offset: 2px; }
.rdvp-date.est-complet { opacity: .5; cursor: not-allowed; }
.rdvp-badge {
    flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid #E6D7AE; line-height: 1;
}
.rdvp-badge b { font-size: 18px; font-weight: 700; }
.rdvp-badge i { margin-top: 3px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rdv-or-texte); }
.rdvp-date-txt, .rdvp-choix span { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rdvp-date-txt strong, .rdvp-choix strong { font-size: 14px; font-weight: 500; line-height: 1.3; }
.rdvp-date-txt small, .rdvp-choix small { font-size: 12px; color: var(--rdv-gris); line-height: 1.4; }
.rdvp-reste { flex: none; font-size: 11px; font-weight: 700; color: var(--rdv-or-texte); }
.rdvp-choix + .rdvp-choix { margin-top: 8px; }

.rdvp-places { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.rdvp-places .rdvp-legende { width: 100%; margin-bottom: 0; }
.rdvp-stepper { display: inline-flex; align-items: center; border: 1px solid var(--rdv-encre); border-radius: 999px; }
.rdvp-stepper button {
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 20px; color: var(--rdv-encre);
}
.rdvp-stepper button:disabled { color: #C9C7C2; cursor: default; }
.rdvp-stepper output { min-width: 28px; text-align: center; font-size: 17px; font-weight: 700; }
.rdvp-prix { font-size: 13px; color: var(--rdv-gris); }

.rdvp-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rdvp-champ { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--rdv-encre); }
.rdvp-champ small { font-weight: 400; color: var(--rdv-gris); }
.rdvp-champ-large { grid-column: 1 / -1; }
.rdvp-champ input, .rdvp-champ textarea {
    width: 100%; box-sizing: border-box;
    padding: 12px 14px; border: 1px solid #DCD9D2; border-radius: 10px;
    font: inherit; font-size: 15px; font-weight: 400; color: var(--rdv-encre); background: #fff;
    resize: vertical;
}
.rdvp-champ input:focus, .rdvp-champ textarea:focus { outline: none; border-color: var(--rdv-or-texte); box-shadow: 0 0 0 3px rgba(237, 210, 138, .35); }

.rdvp-erreur { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FBEDEA; color: #8A2A1B; font-size: 13px; }
.rdvp-erreur[hidden] { display: none; }

.rdvp-pied { padding: 14px 28px 22px; border-top: 1px solid var(--rdv-trait); display: flex; flex-direction: column; gap: 8px; }
.rdvp-valider {
    min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--rdv-encre); color: #fff;
    font: inherit; font-size: 15px; font-weight: 700;
    transition: background .2s, color .2s;
}
.rdvp-valider:hover { background: var(--rdv-or); color: var(--rdv-encre); }
.rdvp-valider:disabled { opacity: .6; cursor: wait; }
.rdvp-note { margin: 0; font-size: 12px; color: var(--rdv-gris); text-align: center; }

@media (max-width: 560px) {
    .rdvp { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
    .rdvp-form { max-height: 92dvh; }
    .rdvp-tete { padding: 22px 16px 0; }
    .rdvp-corps { padding: 16px 16px 8px; }
    .rdvp-pied { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
    .rdvp-titre { font-size: 22px; }
    .rdvp-champs { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------------
   Demande de devis express (pages/devis-evenement.php) : reprend .rdvp-*
   ------------------------------------------------------------------------ */
.dvd-intro { margin: 10px 0 18px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .75); max-width: 460px; }
.dvd-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.dvd-puce { position: relative; cursor: pointer; }
.dvd-puce input { position: absolute; opacity: 0; pointer-events: none; }
.dvd-puce span {
    display: inline-block; padding: 10px 16px; border-radius: 999px;
    border: 1px solid #DCD9D2; background: #fff; font-size: 14px; color: var(--rdv-encre);
    transition: border-color .15s, background-color .15s;
}
.dvd-puce:hover span { border-color: #E2CF9C; }
.dvd-puce input:checked + span { border-color: var(--rdv-encre); background: var(--rdv-encre); color: #fff; }
.dvd-puce input:focus-visible + span { outline: 2px solid var(--rdv-or-texte); outline-offset: 2px; }
.dvd-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dvd-merci { padding: 36px 28px 40px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--rdv-gris); }
.dvd-merci[hidden], .rdvp-corps[hidden], .rdvp-pied[hidden] { display: none; }
.dvd-merci-titre { margin-bottom: 8px !important; font-size: 22px; font-weight: var(--fw-light, 300); color: var(--rdv-encre); }
