html, body {
    height: 100%;
    margin: 0; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #3fa7de;
    font-family: Calibri, sans-serif;
    color: white; }
.page-wrapper { width: 100%; flex: 1; }

a { color: #FFF299; text-decoration: none; }
a:hover { color: #FFE20D; font-weight: bold; }
			
/* ===== EFFET ZOOM SUR LE LOGO ===== */
@keyframes zoomIn {
from { transform: scale(0.5);
	   opacity: 0; }
  to { transform: scale(1);
	   opacity: 1; } }
.logo-zoom { animation: zoomIn 5s ease-out; }

/* ===== FLÈCHE DE RETOUR EN HAUT DE PAGE ===== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  text-decoration: none;
  color: #FFF;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s; }
  
		.back-to-top:hover {
		  background: rgba(0, 0, 0, 0.7);
		  color: #fff; }
		.back-to-top.show {
		  opacity: 1;
		  pointer-events: auto; }

/* ===== SOUS-MENU POUR ACCÈS DIRECT AUX BLOCS ===== */
.ligne-titres {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 70%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap; }
	
@media (max-width: 1400px) { .ligne-titres { width: 85%; } }
@media (max-width: 1200px) { .ligne-titres { width: 100%; } }

.ligne-titres a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid white;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    display: block; }
	
		.ligne-titres a:hover {
			background-color: white;
			color: #3000C6; }
		  
/* ===== Empêche le drag&drop des images ===== */
img {
    user-select: none;
    -webkit-user-drag: none;
}

/* ===== PAGES + ===== */

.header-pageplus {
    align-items: center;
    max-width: 100%; }

		.header-pageplus h1 {
			font-size: 1.2rem;
			color: #e1d036;
			text-align: center;
			margin-top: 25px;
			margin-bottom: 5px; }

		.header-pageplus p {
			font-size: 1.0rem;
			color: #e1d036;
			text-align: center;
			margin-top: 0px;
			margin-bottom: 25px; }

		.header-pageplus h2 {
			font-size: 2.5rem;
			font-weight: bold;
			text-align: center;	}

		.header-pageplus img { /* (soleils) */
			height: 60px;
			width: auto;
			max-width: 20%;
			white-space: nowrap; }
	
.titrepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #3fa7de;
    border-radius: 15px; }

.titre-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 100%; /* jamais plus large que le parent */
    overflow: hidden; }

.titre-page img {
    height: 60px;
    width: auto;
    max-width: 20%; /* limite la largeur relative sur petit écran */ }

.titre-page h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis; }

.retour-link,
.retour-link a {
    font-family: Calibri, sans-serif;
	font-size: 1.2rem;
    color: white;
	text-align: center;
    margin-bottom: 50px;
	margin-top: 20px;
	line-height: 1.8;
    text-decoration: none; }
	.retour-link a:hover { color: #F9DE01; }
	
/* ===== BLOC 1 CONTACT ===== */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    width: 100%; }
.left-block {
    text-align: center;
    margin-right: 50px;
    flex: 0 0 60%;
    max-width: 60%; }

/* ===== BOUTONS RDV + MESSAGE TOUJOURS SUR LA MÊME LIGNE ===== */
.button-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: 100%;
    overflow: hidden;
	margin-top: 15px;
	margin-bottom: 15px; }

.button-images img {
    width: clamp(130px, 22vw, 200px);
    max-width: 48%;
    height: auto;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s;
    flex: 0 1 auto; }
.button-images a { display: contents; }

.button-images img:hover { transform: scale(1.05); }
.phone-icon { max-width: 100%; height: auto; display: block; }


.right-block {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center; }
.right-block img { width: 100%; height: auto; }

/* ===== RESPONSIVE BLOC 1 ===== */
@media (max-width: 1024px) {
    .portail { display: none !important; }

    .main-container {
        flex-direction: column;
        text-align: center;
        padding-top: 30px; }

    .left-block {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; }

    .right-block {
        order: -1;
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        margin-bottom: 10px;
        text-align: center; }

    .right-block img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 220px;
        margin: 0 auto; }

    .button-images { flex-wrap: nowrap !important; }
    .phone-icon { width: 400px !important; height: auto !important; }
}

/* ===== PETITS ÉCRANS : 2 BOUTONS PAR LIGNE DANS .ligne-titres ===== */
@media screen and (max-width: 768px) {
    .ligne-titres { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
    .ligne-titres a { font-size: 0.95rem; line-height: 1.2; }
    .button-images { gap: 8px; }
    .button-images img { width: clamp(120px, 42vw, 180px); max-width: 48%; } }


/* ===== POPUP FORMS ===== */

.flatpickr-disabled {
    background-color: #eee !important;
    color: #aaa !important;
    cursor: not-allowed !important; }

.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
	overflow: auto; }

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease;
	box-sizing: border-box; }

.popup-content h4 { color: #4e2373; margin-bottom: 20px; }
.popup-content input,
.popup-content textarea,
.popup-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.popup-content input:focus,
.popup-content textarea:focus {
    outline: none;
    border-color: #4e2373;
    box-shadow: 0 0 5px #4e2373;
}
.popup-content button { margin: 5px; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); } }
	

/* ===== BLOC AVIS CLIENTS ===== */
.avis-section {
    background-color: #267fae;
	padding: 30px;
}
.avis-container {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
}
		.avis-header { /* bloc entête au-dessus du carrousel des avis */
			display: flex;
			align-items: center;
			justify-content: space-between;
			flex-wrap: wrap;
			margin-bottom: 25px;
		}
				.avis-titre-tris { /* bloc de gauche (titre et boutons de tri / ajout) */
					display: flex;
					align-items: center;
					gap: 10px;
					flex-wrap: wrap;
				}
					.avis-tri-buttons {
						display: flex;
						gap: 10px;
					}
						a.active img[alt="Tri chronologique"] {
							content: url('images/clockGold.png');
						}
						a.active img[alt="Tri note décroissant"] {
							content: url('images/sortDownGold.png');
						}
						a.active img[alt="Tri note croissant"] {
							content: url('images/sortUpGold.png');
						}
					
				.avis-boutons-right { /* bloc de droite (images/liens vers Veryssime) */
					display: flex;
					align-items: center;
					gap: 10px;
				}
				
		#avisWrapper { /* limite l'espace dans lequel la liste va se dérouler */
			overflow: hidden;
			width: 100%;
			box-sizing: border-box;
		}
			#avisList { /* gère l'aspect de la liste des avis, à l'horizontale */
				display: flex;
				flex-wrap: nowrap;
				transition: scroll-left 0.3s;
				width: max-content;
			}
				.avis-item { /* boîte bleue de chaque avis */
					flex: 0 0 250px;
					min-width: 250px;
					max-width: 250px;
					margin-right: 15px;
					background-color: #3498db;
					padding: 10px;
					border-radius: 10px;
					display: flex;
					flex-direction: column;
					position: relative;
				}
					.avis-item-infos { /* première ligne avec note et infos */
						display: flex;
						align-items: center;
						margin-bottom: 10px;
					}
					.avis-comment { /* commentaire/texte de l'avis, sous la ligne note/infos */
						color: white;
						font-size: 1.1rem;
						line-height: 1.2;
					}
					.nouveau-bandeau { /* bandeau "nouveau" incrusté sur nouveaux avis */
						position: absolute;
						top: 50%;
						left: 50%;
						width: 400px;
						transform: translate(-50%, -50%) rotate(-45deg);
						background: rgba(255, 255, 255, 0.7);
						color: #4e2373;
						font-weight: bold;
						text-align: center;
						font-size: 0.8rem;
						padding: 5px 0;
						pointer-events: none;
					}

/* ===== RESPONSIVE AVIS ===== */
@media (max-width: 768px) {
	.avis-section {
		padding: 10px;
	}
	.avis-tri-buttons {
        display: none !important;
    }
	#avisWrapper {
		width: 100%;
		min-height: 200px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
    #prevAvis, #nextAvis {
        display: none;
    }
}

/* ===== BLOC PRESTATIONS & TARIFS ===== */
.tarifs-container {
    background-color: #3fa7de;
    padding: 30px;
    border-radius: 15px;
}
.tarif-bloc {
    background-color: #3fa7de;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
}
.tarif-bloc h4 {
    font-size: 2.5rem;
    font-weight: bold;
	color: #4e2373 !important;
}
.tarif-prix {
    background-color: #267fae;
    padding: 10px;
    border-radius: 8px;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}
.tarif-buttons button {
    padding: 5px 8px;
    min-width: auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tarif-description {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: left;
}
@media (min-width: 1025px) {
/* Sur desktop, doit occuper 80% de l'écran (contrairement aux petits écrans) */
    .tarifs-container {
        width: 80%;
        margin: 0 auto; /* centré horizontalement */
    }
}
@media (max-width: 1024px) {
    .tarif-bloc h4 {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
    }
    .tarif-prix {
        font-size: 1.5rem !important;
        padding: 5px !important;
    }
    .tarifs-container h2 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
    }
}

.vide {
    background-color: #3fa7de;
    width: 100%;
    height: 50px;
}

/* ===== MENTIONS LÉGALES ===== */

.mentions-container {
    align-items: center;
	margin-left: 150px;
	margin-right: 150px; }
		@media (max-width: 700px) {
			.mentions-container {
			margin-left: 5px;
			margin-right: 5px; } }

        .h2-style {
            font-weight: bold;
            font-size: 1.3rem;
            color: #e1d036;
            margin-bottom: 10px;
        }
        .p-title {
            line-height: 25px;
            margin-top: 10px;
            margin-bottom: 10px;
            font-family: 'Trebuchet MS', sans-serif;
            font-size: 18px;
            color: white;
            text-align: left;
        }
        .p-content {
            line-height: 25px;
            margin-left: 40px;
            margin-top: 10px;
            margin-bottom: 20px;
            text-align: left;
        }
        .link-style {
            color: #FFD433;
            text-decoration: none;
        }


/* ===== FOOTER ===== */

.site-footer {
    margin-top: auto;
	background-color: #267fae;
    width: 100%;
    height: 100px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    box-sizing: border-box;
}
.footer-left, .footer-right {
    margin: 0;
    padding: 0 20px;
}
.footer-left {
    text-align: left;
}
.footer-right {
    text-align: right;
}
.footer-right .footer-logo {
    height: 70px;
    width: auto;
}
#stars-container img.gris {
    filter: grayscale(100%);
}