/* --- MODERNISATION DU RIAD - VERSION MOBILE --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

#global {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	text-align: left;
	min-height: 100%;
}

html, body {
	margin: 0;
	font-size: 14px; /* Légèrement plus grand pour la lisibilité mobile */
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	color: #e0e0e0;
	min-height: 100%;
	background-color: #1a1a1a;
	line-height: 1.5;
}

h1 {
	border-width: 0;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	height: auto;
	margin: 0 0 15px;
	text-align: left;
	white-space: normal;
	width: 100%;
	line-height: 1.2;
    text-transform: uppercase;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 8px;
}

.fond {
	width: 100% !important;
	margin: 0 auto 10px;
	text-align: justify;
	min-height: 100%;
	position: relative;
}

/* --- CONTENEURS --- */

.corps, .corps2 {
	width: 92% !important; /* Un peu plus large pour profiter de l'écran */
	display: block;
	min-height: 400px;
	padding: 40px 4% 20px;
	background-color: #262626;
	text-align: left;
}

/* Forcer les éléments à ne pas déborder sur petit écran */
.corps p img, .corps2 p img, .corps img, .corps2 img, 
.corps table, .corps2 table, img, iframe, table {
    max-width: 100% !important;
    height: auto !important;
}

input, select, textarea {
    width: 100% !important; /* Plus pratique sur mobile */
    max-width: 250px;
    padding: 8px;
    background: #333;
    color: #fff;
    border: 1px solid #444;
}
/* Exception : ne pas forcer 100% dans le moteur de rÃ©servation overlay */
.booking-overlay input,
.booking-overlay select {
    width: auto !important;
    max-width: none !important;
}

/* --- VOS BOUTONS (ADAPTÉS MOBILE) --- */

.button, .buttonorange {
    display: inline-block;
    border-radius: 4px;
    color: #F4F4F4;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 20px; /* Plus d'espace pour le clic tactile */
    text-decoration: none;
    margin-bottom: 10px;
    text-align: center;
}

.button { background-color: #00AAA8; border: 1px solid #008e8c; }
.buttonorange { background-color: #683534; border: 1px solid #4e2726; }

/* --- TEXTES ET STYLES --- */

.Style3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #cccccc;
    line-height: 1.6;
}

.Style6 {
	font-size: 16px;
	color: #d4af37;
	font-weight: bold;
    margin: 15px 0 5px;
    display: block;
}

.amount { font-size: 22px; font-weight: bold; color: #FFF; }
.per { font-size: 12px; font-weight: bold; color: #FFF; }

/* --- MENUS MOBILE --- */

.enTeteMenu {
	width: 100% !important;
	padding: 10px 0 !important;
	text-align: center;
	background: #111 !important;
}

.blancMenu, .blancMenu2, .blancMenu4, .blancMenu5, .blancLien {
	font-family: 'Montserrat', sans-serif;
	color: #FFFFFF !important;
	text-decoration: none;
    font-size: 14px;
}

.blancMenu4 { font-size: 14px !important; font-weight: bold; text-transform: uppercase; }


/* --- HEADER MOBILE : logo centrÃ©, liens en dessous --- */
.enTete {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box;
}
.enTeteLogo {
    margin-bottom: 8px;
}
.enTeteLinks {
    width: 100%;
}

.enTeteReference {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 0 !important;
    width: 100% !important;
    white-space: nowrap;
    font-size: 12px;
}

/* --- CARROUSEL + MOTEUR DE RESERVATION MOBILE --- */
.corpsAccueil {
    position: relative;
    width: 100% !important;
}

.booking-overlay {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.85) !important;
    border-radius: 0 !important;
    padding: 12px 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 10px !important;
}
.booking-overlay label {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}
.booking-overlay select {
    width: auto !important;
    max-width: none !important;
    padding: 6px 8px !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    border-radius: 3px;
    font-size: 13px;
}
.booking-overlay .btn-overlay-reserve {
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}
.booking-promo {
    background: #00AAA8;
    border-radius: 5px;
    padding: 6px 12px;
    text-align: center;
    width: 100%;
}
.booking-promo-percent {
    color: #fff;
    font: bold 15px 'Montserrat', sans-serif;
    display: block;
}
.booking-promo-sub {
    color: rgba(255,255,255,0.85);
    font: normal 10px 'Montserrat', sans-serif;
    display: block;
}

.header-logo-container {
    margin-bottom: 10px;
}

.header-right-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.whatsapp-link {
    font-size: 18px !important;
    color: #d4af37 !important;
}

/* --- PIED DE PAGE --- */

#links {
	clear: both;
	background-color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	padding: 20px 10px;
    border-bottom: 2px solid #FFF;
	background-image: url(images/carte%20bancaire.jpg);
	background-position: bottom right;
	background-repeat: no-repeat;
}

#links table tr td {
	text-align: left;
	vertical-align: top;
	width: 50% !important; /* Deux colonnes sur mobile */
    display: inline-block;
    margin-bottom: 15px;
}

.fondAdresse {
	width: 100% !important;
	padding: 20px 0;
	background-color: #000;
	text-align: center;
	color: #999;
}

/* --- CLASSES TECHNIQUES CONSERVÉES --- */
.photoSynthe { display: inline-block; height: auto; width: 100%; max-width: 220px; padding-bottom: 10px; }
.texteSyntheGauche2 { color: #FFFFFF; display: inline-block; font-size: 14px; font-weight: bold; width: 70%; }
.texteSyntheDroite2 { color: #FFFFFF; display: inline-block; font-size: 14px; font-weight: bold; text-align: right; width: 28%; }
.tel { width: 144px; font-size: 12px; color: #FFFFFF; text-align: center; height: 20px; margin: 10px auto; float: none; }
