/* Rosô – Popup de réservation */

html.roso-popup-open,html.roso-popup-open body{overflow:hidden}

.roso-popup{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:8px;background:#F8F5F1;color:#431705;box-shadow:0 24px 60px rgba(67,23,5,.25);overflow:hidden}
.roso-popup::backdrop{background:rgba(43,14,3,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.roso-popup[open]{display:flex;animation:roso-pop .28s ease-out}
.roso-popup[open]::backdrop{animation:roso-fade .28s ease-out}
@keyframes roso-pop{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@keyframes roso-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.roso-popup[open],.roso-popup[open]::backdrop{animation:none}}

.roso-popup-inner{display:flex;flex-direction:column;width:100%;max-height:inherit}
.roso-popup-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px 18px;border-bottom:1px solid rgba(67,23,5,.12);flex:none}
.roso-popup-title{margin:0;padding:0;font-family:'Cormorant Garamond',Georgia,"Times New Roman",serif;font-weight:600;text-transform:uppercase;font-size:24px;line-height:1.2;letter-spacing:.04em;color:#431705}
.roso-popup-close{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid rgba(67,23,5,.2);border-radius:50%;background:transparent;color:#431705;cursor:pointer;transition:background .2s}
.roso-popup-close:hover,.roso-popup-close:focus-visible{background:#431705;color:#F8F5F1;outline:none}
.roso-popup-body{padding:22px 28px 28px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}

/* Le formulaire occupe toute la largeur du popup */
.roso-popup #formulaire-responsive{max-width:none}
.roso-popup .demi-colonne,.roso-popup .colonne{padding-right:0}
@media (min-width:768px){
	.roso-popup .demi-colonne:nth-child(odd){padding-right:18px}
}
.roso-popup .wpcf7-submit{width:100%;padding:14px}
.roso-popup .wpcf7 form .wpcf7-response-output{margin:16px 0 0}

/* Mobile : plein écran, bouton d'envoi toujours accessible en bas */
@media (max-width:767px){
	.roso-popup{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
	.roso-popup-head{padding:16px 18px 14px}
	.roso-popup-title{font-size:22px}
	.roso-popup-body{padding:18px 18px calc(24px + env(safe-area-inset-bottom))}
	.roso-popup .roso-cal{left:0;right:0;width:auto;max-width:none}
}

/* Étape 1 : avertissement */
.roso-popup-intro{display:flex;flex-direction:column;align-items:center;gap:26px;padding:18px 6px 8px;text-align:center}
.roso-popup-intro[hidden]{display:none}
.roso-popup-notice{max-width:460px;margin:0;padding:0;font-family:'Urbanist',Helvetica,Arial,sans-serif;font-size:18px;line-height:1.6;color:#431705}
.roso-popup-btn{display:inline-block;padding:14px 32px;border:1px solid #431705;border-radius:4px;background:#431705;color:#FFFCF8;
	font-family:'Cormorant Garamond',Georgia,"Times New Roman",serif;font-size:16px;line-height:1.3;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:background-color .2s,color .2s}
.roso-popup-btn:hover{background:#FFFCF8;color:#431705}
.roso-popup-btn:focus-visible{outline:2px solid #431705;outline-offset:3px}
/* Le message figure déjà à l'étape 1 : inutile de le répéter dans le formulaire du popup */
.roso-popup .roso-resa-info{display:none}
/* Étape 1 : fenêtre plus compacte */
.roso-popup:not(.is-step-form){width:min(560px,calc(100vw - 32px))}
@media (max-width:767px){
	.roso-popup:not(.is-step-form){width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);margin:auto;border-radius:8px}
	.roso-popup-notice{font-size:17px}
	.roso-popup-btn{width:100%}
}
