/* Finitions Mangia : ce qu'Elementor gratuit ne règle pas lui-même. La maquette est un collage sur 1 440 px. */
@font-face { font-family: 'Inbox'; src: url(../fonts/inbox-regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plastun Script'; src: url(../fonts/plastun-script.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
html, body { margin: 0; overflow-x: clip; }
.mg-band { position: relative; overflow: visible; }
.mg-scene { position: relative !important; flex-shrink: 0; zoom: var(--mg-z, 1); }
.mg-entete { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.admin-bar .mg-entete { top: 32px; }
.mg-entete-band { background: transparent; }
.mg-scene .elementor-widget-image img { display: block; }
.mg-scene .mg-vis .elementor-widget-image img { width: 100%; height: auto; }
.mg-scene .elementor-widget-text-editor p { margin: 0; }
.mg-scene .elementor-heading-title { margin: 0; }
.mg-nw .elementor-heading-title { white-space: nowrap; }
/* contour des titres (Style › Contour du texte) tracé sous les lettres, comme dans la maquette */
.mg-scene .elementor-heading-title { paint-order: stroke fill; }
/* sur ordinateur, chaque bloc a la hauteur de son réglage « Hauteur min. » d'Elementor, comme une boîte Figma :
   un texte plus long déborde sans pousser le reste du collage */
@media (min-width: 861px) {
	.mg-scene .e-con.mg-el { height: var(--min-height); }
}
.mg-scene .elementor-button { display: block; text-align: center; }

/* ---------- Carrousel des avis (js/avis.js) ---------- */
.mg-avis-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mg-avis-piste::-webkit-scrollbar { display: none; }
.mg-avis-piste:focus-visible { outline: 2px solid #ff542a; outline-offset: 4px; }
.mg-avis-diapo { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
.mg-avis-diapo p + p { margin-top: 1.1em !important; }
.mg-avis-prec, .mg-avis-suiv { cursor: pointer; }
.mg-avis-prec:focus-visible, .mg-avis-suiv:focus-visible { outline: 2px solid #ff542a; outline-offset: 4px; }
.mg-avis-points { display: none; }

/* ---------- Menu mobile (bouton et panneau plein écran, cachés sur ordinateur) ---------- */
.mg-burger { display: none; }
.mg-menu-mobile[hidden] { display: none !important; }

/* ---------- Mobile (≤ 860 px) : les groupes de textes deviennent des colonnes, les groupes visuels sont réduits ---------- */
@media (max-width: 860px) {
	:root { --mg-z: 1 !important; }
	.mg-scene { zoom: 1 !important; width: 100% !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; }
	.mg-band-1 { background-attachment: scroll !important; min-height: 320px; }
	.mg-band-1 .mg-scene { min-height: 320px !important; }
	.mg-entete { position: relative; background: #00858e; }
	.admin-bar .mg-entete { top: 0; }
	/* tout élément redevient un bloc dans le flux de sa colonne */
	.mg-flux > .elementor-element, .mg-scene > .elementor-element {
		position: relative !important; inset: auto !important; left: auto !important; top: auto !important; margin: 0 !important;
	}
	.mg-flux { width: 100% !important; max-width: 100% !important; min-height: 0 !important; height: auto !important;
		display: flex !important; flex-direction: column !important; align-items: center !important; gap: 18px !important; padding: 44px 22px !important; }
	.mg-flux .mg-flux { padding: 30px 22px !important; }
	.mg-carte.mg-flux { width: calc(100% - 8px) !important; }
	.mg-flux > .mg-m-txt { width: 100% !important; height: auto !important; min-height: 0 !important; }
	.mg-nw .elementor-heading-title { white-space: normal; }
	.mg-flux > .mg-m-img { width: min(100%, var(--mg-w)) !important; }
	.mg-flux > .mg-m-img img { width: 100% !important; height: auto !important; aspect-ratio: var(--mg-ar); object-fit: cover; }
	.mg-flux > .mg-m-deco { width: min(40vw, var(--mg-w)) !important; }
	.mg-flux > .mg-m-deco img { width: 100% !important; height: auto !important; }
	.mg-flux > .mg-m-btn { width: auto !important; }
	.mg-flux > .mg-m-btn .elementor-button { padding-left: 34px !important; padding-right: 34px !important; }
	.mg-flux > .mg-m-forme, .mg-flux > .mg-m-vis, .mg-scene > .mg-vis {
		width: min(100%, var(--mg-w)) !important; height: auto !important; min-height: 0 !important; aspect-ratio: var(--mg-ar);
	}
	.mg-scene > .mg-vis { width: min(100%, var(--mg-w)) !important; align-self: center; margin: 12px 0 !important; }
	.mg-flux > .mg-m-vis.e-transform, .mg-flux > .mg-m-forme.e-transform, .mg-flux > .mg-m-img.e-transform { width: min(90%, var(--mg-w)) !important; }
	/* en-tête : logo et réservation, le menu complet passe dans le pied de page */
	.mg-entete-band .mg-scene > .mg-sec { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 14px 16px !important; gap: 12px !important; }
	.mg-entete-band .mg-m-img { width: 132px !important; }
	.mg-entete-band .mg-m-btn .elementor-button { font-size: 13px !important; padding: 10px 16px !important; }
	.mg-nav { display: none !important; }
	.mg-pied-band .mg-flux { align-items: flex-start !important; }

	/* menu : logo, Réservation, et le bouton qui ouvre le panneau */
	.mg-entete-band .mg-scene > .mg-sec { padding-right: 66px !important; }
	.mg-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; position: absolute; right: 12px; top: 50%;
		transform: translateY(-50%); z-index: 102; width: 46px; height: 46px; padding: 0 11px !important; border: 0;
		align-items: center; border-radius: 14px 4px 14px 4px;
		background: #fcbf16; cursor: pointer; }
	.mg-entete .mg-burger, .mg-entete .mg-burger:hover, .mg-entete .mg-burger:focus { background: #fcbf16 !important; border: 0 !important; color: #00858e; box-shadow: none; }
	.mg-entete .mg-burger:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
	.mg-burger span { display: block; width: 24px; height: 3px; flex: none; border-radius: 2px; background: #00858e; transition: transform .3s, opacity .2s; }
	.mg-menu-ouvert .mg-burger { position: fixed; top: 13px; transform: none; }
	.mg-menu-ouvert .mg-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
	.mg-menu-ouvert .mg-burger span:nth-child(2) { opacity: 0; }
	.mg-menu-ouvert .mg-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
	.mg-menu-ouvert, .mg-menu-ouvert body { overflow: hidden; }
	.mg-menu-mobile { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; align-items: center;
		gap: 34px; padding: 90px 24px 40px; background: #00858e; overflow-y: auto; }
	.mg-menu-mobile ul { list-style: none; margin: 0; padding: 0; text-align: center; }
	.mg-menu-mobile li + li { margin-top: 10px; }
	.mg-menu-mobile a { font-family: 'Anton', sans-serif; font-size: 38px; line-height: 1.15; text-transform: uppercase; color: #fff; text-decoration: none; }
	.mg-menu-mobile ul a:hover, .mg-menu-mobile ul a:focus-visible { color: #fcbf16; outline: none; }
	.mg-menu-mobile .mg-menu-resa { font-family: 'Poppins', sans-serif; font-size: 16px; text-transform: uppercase; color: #00858e;
		background: #fcbf16; padding: 15px 40px; border-radius: 20px 5px 20px 5px; }

	/* avis : on glisse au doigt, des points indiquent l'avis affiché */
	.mg-avis-points { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
	.mg-avis-points button { width: 11px; height: 11px; padding: 0 !important; border: 2px solid #ff542a !important; border-radius: 50%; background: transparent !important; cursor: pointer; }
	.mg-avis-points button[aria-current="true"] { background: #ff542a !important; }
}

/* vidéo de la section sandwich (ajoutée le 02/11) : proportions et place sur mobile, juste après la photo */
.mg-scene .elementor-element-f5a7d21 { --mg-w: 315px; --mg-ar: 315/177; }
@media (min-width: 861px) { .mg-scene .elementor-element-f5a7d21 { height: 177px; } }
@media (max-width: 860px) { .mg-scene .elementor-element-f5a7d21 { order: 2; } }

/* Rotations réglées dans Elementor rendues en 2D : Elementor ajoute une perspective qui passe l'élément en 3D,
   le navigateur tourne alors le texte comme une image et il devient flou sur les écrans peu denses. Même géométrie. */
.e-con.e-transform { --e-con-transform-perspective: none; }
.e-transform .elementor-widget-container, .e-transform:not(:has(.elementor-widget-container)) { --e-transform-perspective: none; }
