/*****
 * Fichier : custom-style-gen.css
 * Description : Styles génériques utilisés sur plusieurs sections.
 *
 * Couleurs :
 * 
 *	#d9d4b7 : Couleur Principale boutons RGB - 217,212,183 (Couleur beige principale du thème) -- color000
 *	#d9d4b7 : Texte Couleur Principale RGB - 217,212,183 (Couleur beige principale du thème) --color016
 *	#efeae6 : Couleur secondaire RGB - 239,234,230 (gris rose) --color007
 *	#ffffff : Fond d'écran RGB - 255,255,255 (Blanc) --color001 
 *	#ffffff : Menu RGB - 255,255,255 (Blanc) --color002 
 *	#5f6368 : Texte Menu RGB - 255,255,255 (Gris clair) --color003
 *	#f5f5f7 : Pied de Page RGB - 245,245,247 (Gris très clair) --color013
 *	#000000 : Texte indication page RGB - 0,0,0 (Noir) --color008
 *	#000000 : Texte Pied de Page - 0,0,0 (Noir) --color015
 *	#000000 : Ligne de séparation - 0,0,0 (Noir) --color005
 *  #000000 : Entourage Shadow - rgba(0,0,0,0.1) --color011
 *	#e0e0e0 : Deselected Item RGB - 224,224,224 (Gris clair)
 *
 * 
 *
 * Auteur : Forme Carrée
 * Dernière modification : 2025-11-27
 *****/


/*******************************************************/
/*            Les STYLES Surchargés du CMS             */
/*******************************************************/


/* Conteneur Titre et paragraphe et illustration  */


#art::before {

	content: ""; 
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 100%; 
    height: 380px;
    background-image: var(--image-before, url("../custom-images/DIAG-FOND-DEGRADE-VERTICAL.webp")); 
    background-size: auto; 
	background-position: right top;
    background-repeat: repeat-x;
    pointer-events: none;
    z-index: -1;
}

#art::after {
    content: ""; 
    position: fixed; 
	top: 100px;  
    right: 5px; 
    width: clamp(100px, 21%, 450px); 
    aspect-ratio: 1 / 1; 
    background-image: var(--image-after, url("../custom-images/DIAG-DIAGNOSTIC-420x380-R72x72.webp")); 
    background-size: contain; 
    background-repeat: no-repeat;
    pointer-events: none; 
    z-index: 10; 
}


/*******************************************************/
/*            Les STYLES Container et Titres           */
/*******************************************************/
/* Conteneur principal */
.container {
	position: relative;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}


.container-encarts {
	position: relative;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}





/* Encarts */
.encart {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--color011);
    margin: 20px auto;
    max-width: 900px;
    width: 90%;
    box-sizing: border-box;
}

.encartDroit {
	position: fixed;
	display:flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
	visibility: hidden;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--color011);
    max-width: 450px;
    width: clamp(80px, 20%, 430px); 
	right : 20px;
	top: clamp(200px, 50%, 550px); 
    box-sizing: border-box;
	z-index: 100000;
}

.encartGauche{
	position: fixed;
	display:flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
	visibility: hidden;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--color011);
    max-width: 450px;
    width: clamp(80px, 20%, 430px); 
	left : 20px;
	top: clamp(200px, 50%, 550px);
    box-sizing: border-box;
}



/* Titres */

.container h1 {
	padding: 0 20px 0 20px;
	left: 0;
	right:0;
	margin-left: 0;	
	font-size: 1.7rem;
    font-weight: bold;
    color: var(--color003);	
}

.container h2 {
	padding: 0;
	left: 0;
	right:0;
	margin-left: 0;	
	font-size: 1.2rem;
    font-weight: bold;
    color: var(--color003);		
}
.container h3 {
	padding: 0;
	left: 0;
	right:0;
	margin-left: 0;	
	font-size: 0.9rem;
    font-weight: normal;
    color: var(--color003);			
}

.container h4 {
	padding: 0;
	left: 0;
	right:0;
	margin-left: 0;	
	font-size: 0.7rem;
    font-weight: normal;
    color: var(--color003);	
}


.encart h1, .t1 {
	padding: 0;
	left: 0;
	right:0;
	margin-left:0;
	width:100%;
	position: relative;
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--color003);
}


.encart h2, .t2 {
	padding: 0;
	left: 0;
	right:0;
	margin-left:0;
	width:100%;
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--color003);
}

.encart h3, .t3 {
	padding: 0;
	left: 0;
	right:0;
	margin-left:0;
	width:100%;
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--color003);
}

.encart h4, .t4 {
	padding: 0;
	left: 0;
	right:0;
	margin-left:0;
	width:100%;
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--color003);
}

/* Titre de pub */

.container h1.titre-excellence {
	padding: 0;
	left: 0;
	right:0;
	margin: 0 auto;
	width: 100%;
	text-align: center; 
	font-size: 1.8rem;
    font-weight: normal;
    color: var(--color003);	
}

/*******************************************************/
/*         ENCART GAUCHE : Contenu incitatif           */
/*******************************************************/


#addressEncartGauche {
  position: absolute;   
  top: auto;
  
  /* Dimensions maîtrisées */
  width: min(350px, calc((100% - 900px)/2));
  max-width: 430px;
  min-width:17%;

  /* Visible même si .encartGauche est hidden par défaut */
  visibility: visible;

  /* empêche l’étirement horizontal */
  align-items: flex-start;  

  /* empêche les débordements */
  overflow: hidden; 

  /* centre horizontalement */ 
  left: calc((100% - 900px)/7); 

}


#addressEncartGauche .fc-ctaSimWrap {
	width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#addressEncartGauche .fc-ctaCard{
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.14);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.10);
}

#addressEncartGauche .fc-ctaKicker {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.55);
	text-align: center;
}

#addressEncartGauche .fc-ctaTitle {
    margin-top: 6px;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.15;
    color: #1f1f1f;
}

#addressEncartGauche .fc-ctaText {
    margin-top: 6px;
    font-weight: 650;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.70);
}

#addressEncartGauche .fc-ctaPhone {

	display: inline-flex; 
	align-items: center; 
	justify-content: center; 
	gap: 8px; 
	padding: 0 14px; 
	box-sizing: border-box; 
	min-height: 46px;  
	border-radius: 9999px; 
	border: 2px solid rgba(0,0,0,0.14); 
	background: #d9d4b7; 
	color: #1f1f1f; 
	text-decoration: none; 
	cursor: pointer; 
	transition: 
		background-color .2s, 
		filter .2s, box-shadow .2s, 
		transform .15s; 
	font-size: clamp(13px, 1.25vw, 40px); 
	line-height: 1.05; 
	font-weight: 700;
}

/* ---------  Hover / Active / Focus  --------- */
#addressEncartGauche .fc-ctaPhone:hover{
  /* éclaircissement */
  filter: brightness(1.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

#addressEncartGauche .fc-ctaPhone:active{
  /* assombrissement */
  filter: brightness(0.94);
  transform: translateY(0);
}

#addressEncartGauche .fc-ctaPhone:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(31,138,59,0.35),
    0 8px 18px rgba(0,0,0,0.12);
}


#addressEncartGauche .fc-ico{
  	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin:0;
	padding:0;
	width:auto;

	font-weight: unset;
	font-size: unset;
	font-family: unset;
	
  
  color: #1f8a3b; 

  line-height: 1;
}


/* Icône téléphone : grande, presque hauteur du bouton */
#addressEncartGauche .fc-ico svg{
  width: 1.6em;
  height: auto;
  display: block;
}


#addressEncartGauche .fc-ico-tone1{
  fill: var(--ico-light, #9ec9ff); /* ton clair */
}

#addressEncartGauche .fc-ico-tone2{
  fill: var(--ico-dark, #1a73e8); /* ton foncé */
}

#addressEncartGauche .fc-ico-stroke{
  stroke: var(--ico-stroke, #0b4ec2);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

#addressEncartGauche .fc-ico.theme-green { 
	--ico-light: #b2f7c1; 
	--ico-dark: #2fae5a; 
	--ico-stroke: #1d7d3f;
}

#addressEncartGauche .fc-ctaPhoneText {

	margin:0;
	padding:0;
	width:auto;
	
	font-size: inherit;
	line-height: inherit; 
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis; 
	color: greenyellow;

}

/*  Texte secondaire sous CTA                           */

#addressEncartGauche .fc-ctaFootnote{
  margin-top: 4px;

  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;

  color: rgba(0,0,0,0.55);
  text-align: center;

  letter-spacing: 0.2px;
}






/*******************************************************/
/*         Les STYLES Overlay et ses boutons           */
/*******************************************************/


/* Overlay pour les messages d'avertissement */
#warningOverlay {
    display: none;
	flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: #d9d4b7;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 90%;
    box-sizing: border-box;
}

#warningTitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

#warningMessage {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
/* Conteneur des boutons dans l'overlay */
#warningActions {
  display: flex;
  justify-content: space-between;
}

/* Boutons dans l'overlay */
.warning-button {
  flex: 1;
  height: 40px; /* Fixe la hauteur à 40px */
  width: 130px;
  min-height: 40px;
  background-color: #000000; /*Fond noir */
  color: #d9d4b7; /* Couleur du theme principal beige clair pour la police */
  border: none;
  border-radius: 9999px;
  text-align: center; /* Centre le texte horizontalement */
  padding: 10px;
  box-sizing: border-box;
  display: flex; /* Transforme le bouton en conteneur flex */
  justify-content: center; /* Centre le contenu horizontalement dans le bouton */
  align-items: center; /* Centre le contenu verticalement dans le bouton */
  margin: 10px;
  text-decoration: none;
  font-size: 0.8rem;
}


/* Hover sur les boutons dans l'overlay */
.warning-button:hover {
    background-color: #333333; /* Couleur noire un peu plus claire au hover */
}


/*******************************************************/
/*       Les STYLES Button-group, validate, call       */
/*******************************************************/

       .button-group {
            display: flex;
			flex-wrap: wrap; /* Permettre aux boutons de passer à la ligne */
            gap: 10px;
            margin-bottom: 20px;
			clear: both; /* Tres important pour que les titres ne soient pas flottants */
        }
		
        .button-group button {
            flex: 1 1 0;  /* Amélioration pour la distribution des boutons */
            padding: 10px;
            font-size: 1rem;  /* Utiliser rem pour les tailles de police */
            border: 2px solid transparent; /* Bordure transparente pour éviter le déplacement */
            border-radius: 5px;
            cursor: pointer;
            background-color: #e0e0e0; /* Couleur de fond initiale */
            color: #333;
            box-sizing: border-box; /* Assurez-vous que les dimensions incluent les bordures */
			min-width: 0; /* Important pour éviter les problèmes de dépassement */
        }

        .button-group button.selected {
            background-color: #d9d4b7; /* Couleur de fond lorsque sélectionné */
            color: #000;  /* Texte noir */
            border: 2px solid #d9d4b7; /* Bordure couleur sélectionnée */
        }

        .button-group button.deselected {
            background-color: #e0e0e0; /* Fond désélectionné */
            color: #bbb;  /* Texte désélectionné */
        }

        .button-group button:hover {
            background-color: #f9f9f9; /* Légèrement plus clair et proche du blanc au survol */
            color: #333; /* Texte plus foncé au survol */
            border: 2px solid #d9d4b7; /* Bordure correspondant à la couleur de fond des boutons sélectionnés */
        }

        .button-group button.selected:hover {
            background-color: #d9d4b7; /* Conserver la couleur de fond de sélection */
            border: 2px solid #d9d4b7; /* Conserver la bordure de sélection */
        }

		.button-container { /* Nouveau conteneur pour les boutons */
			display: flex;
			gap: 10px;
			justify-content: center; /* Centre les boutons horizontalement */
			margin: 20px auto; /* Centre le conteneur et ajoute des marges */
			max-width: fit-content; /*Adapte la largeur du conteneur au contenu*/
			flex-wrap: wrap; /* Permettre le passage à la ligne si nécessaire */
		}

		.validate-button,
		.call-button {
			display: inline-flex; /*Important pour l'alignement et la taille*/
			align-items: center; /*Centrer le texte verticalement*/
			justify-content: center; /*Centrer le texte horizontalement*/
			padding: 14px 20px;
			border: none;
			border-radius: 9999px;
			text-decoration: none;
			transition: background-color 0.3s ease, color 0.3s ease;
			white-space: nowrap;
			box-sizing: border-box; /*Important pour que padding et border n'agrandissent pas les boutons*/
			font-family: 'Google Sans', sans-serif; /*Police identique*/
			font-size: 1rem; /*Taille de police identique*/
			font-weight: 400; /*Graisse identique (normal)*/
			min-width: 150px;
			max-width: 220px;
			/*flex-grow: 1;
			flex-basis: 0; retrait0504 */
			line-height: 1; /* Très important : fixe la hauteur de ligne à 1 */
			letter-spacing: 0; /* Assure un espacement normal des lettres */
			word-spacing: 0; /* Assure un espacement normal des mots */
			text-align: center;
		}

		.validate-button {
			background-color: #28a745;
			color: #fff;
			cursor: not-allowed;
		}

		/* Style par défaut (activé) */
		.validate-button:not(:disabled) { /* Utilisation de :not(:disabled) */
			background-color: #000;
			color: #d9d4b7;
			cursor: pointer;
		}

		.validate-button:not(:disabled):hover {
			background-color: #333;
		}

		/* Style désactivé */
		.validate-button:disabled { /* Utilisation directe de :disabled */
			background-color: #e0e0e0;
			color: #bbb;
			cursor: not-allowed;
		}


		.call-button {
			background-color: #d9d4b7;
			color: #000;
		}

		.call-button:hover {
			background-color: #c0b78c;
		}

/*******************************************************/
/*        Les STYLES Coches (Copropriété et Facture)	       */
/*******************************************************/



/* conteneur de la checkbox */
.copro-checkWrapper,
.resume-checkWrapper, 
.facture-checkWrapper {
    display: flex;
    flex-direction: row;  
	align-items: center; 
	justify-content: center; 

}

/* Style pour la coche personnalisée */
.copro-custom-checkbox,
.resume-custom-checkbox,
.facture-custom-checkbox {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Cercle */
    border: 2px solid #000;
    display: inline-block;
    /*position: relative;*/
    margin-left: 10px;
    cursor: pointer;
}

/* Coche sélectionnée */
.copro-custom-checkbox.checked,
.resume-custom-checkbox.checked,
.facture-custom-checkbox.checked {
    background-image: url('../custom-images/checkmark.webp'); /* Image de la coche */
    background-size: cover;
    background-position: center;
	background-color : #d9d4b7;
}

.copro-checkWrapper:hover .copro-custom-checkbox {

filter: brightness(110%); /* L'image devient plus claire */

}

/* Texte à coté de la coche */
.copro-text-copro,
.facture-text-fact {
	
	font-size: 0.8rem;

}

/*******************************************************/
/*      Les STYLES des démarches de fonctionnement     */
/*******************************************************/


.demarche-etapes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	/*max-width: 860px;*/
	margin: 0 auto;
}

.etape {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #ffffff;
	border: 1px solid #e4e4e4;
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	transition: transform 0.2s ease;
}

.etape:hover {
	transform: translateY(-5px);
}

.etape-icone img {
	width: 90px;
	height: 81px;
	margin-bottom: 1.2rem;
}

.etape h3 {
	color: #1a1a1a;
	font-size: 1.3rem;
	width: initial;
	left: 0;
	right: 0;
	margin: 0 0 0 0;
	padding-bottom: 0.8rem;
	float: initial;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.etape h3::before {
	content: attr(data-etape);
	font-size: 2rem;
	font-weight: bold;
	color: #d9d4b7;
}

.etape p {
	color: #555;
	font-size: 1rem;
	line-height: 1.6;
	width: initial;
	left: 0;
	right: 0;
	margin: 0 0 0 0;
	float: initial;
  
}




/*******************************************************/
/*     Bandeau défilant des diagnostics après étapes   */
/*******************************************************/

.carrousel-titre {
	
	float: initial;
}

.diagnostic-carousel-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 0 0 20px 0;
	margin: 1px;
}

.carousel-view {
	overflow: hidden;
	width: 100%;
	max-width: 750px;
	position: relative;
}

.carousel-track {
	display: flex;
	flex-direction: row; 
	transition: transform 0.5s ease-in-out;
	will-change: transform;
}

.carousel-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 0 0 auto; 
	margin: 6px 10px;
	max-width: 130px;
	background: #fff;
	border: 1px solid #d9d4b7;
	border-radius: 16px;
	padding: 10px 10px;
	cursor: pointer;
	transition: transform 0.3s;
	box-sizing: border-box;
}

.carousel-item:hover {
	transform: translateY(-4px);
}

.carousel-item img {
	width: 60px;
	height: auto;
	margin-bottom: 8px;
}

.carousel-item p {
	font-size: 0.9rem;
	color: #000;
	line-height: 1.3;
	font-weight: bold;
	text-align:center;
	left: 0;
	right: 0;
	margin: 0 0 0 0;
	float: initial;
}

.carousel-btn {
	
	display: flex; 
	align-items: center; 
	justify-content: center; 
	line-height: 1; 
	
	flex-shrink: 0;
	z-index: 2;
	position: relative;
	background-color: #d9d4b7;
	border: none;
	border-radius: 50%;
	color: #000;
	font-size: 1.8rem;
	width: 42px;
	height: 42px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.carousel-btn:hover {
	background-color: #b6b08e;
}

/*******************************************************/
/*     Section de gestion des zones d'intervention     */
/*******************************************************/


.zone-dalles-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    padding: 10px 0;
	width: 100%;
}

.zone-dalle {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    background: var(--color001);
    border-radius: 12px;
    padding: 0 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.zone-dalle:hover {
    transform: scale(1.03);
}

.zone-dalle img {
    width: 24px;
    height: 26px;
    object-fit: cover;
    border-radius: 8px;
}

.zone-dalle span {
    font-size: 0.8rem;
	line-height: 1.5;
    text-align: center;
    color: #333;
	margin: 0;
	padding: 0;
}

.zone-info-sup {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}	

.zone-carte-interactive {
    position: relative;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: 900px;
    box-sizing: border-box;
}



/* Mise en forme générique pour mettre en avant une commune */

#t3-search-shortcut {
	text-align: center;
}

.order-city-t2 {
    color: #28a745;
	font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    float: none;
    padding: 0;
    margin: 0;
}

.order-city-t3 {
    color: #28a745;
	font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    float: none;
    padding: 0;
    margin: 0;
}

/* Variante générique (span dans les titres) */
.order-city {
    color: #28a745;
    font-weight: bold;
    white-space: nowrap;
    float: none;
    padding: 0;
    margin: 0;
}

/* Sélecteur d'arrondissement pour les shortcuts */
.arr-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.arr-toggle {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #d8dfe7;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    color: #0f253a;
}
.arr-grid {
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
    gap: 6px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 37, 58, 0.12);
    min-width: 280px;
}
.arr-grid[hidden] {
    display: none !important;
}
.arr-grid button {
    border: 1px solid #d8dfe7;
    border-radius: 10px;
    padding: 8px 0;
    font-weight: 700;
    color: #0f253a;
    background: #f7f9fc;
    cursor: pointer;
}
.arr-grid button:hover {
    background: #e8eef7;
}


/*******************************************************/
/*/////////////////////////////////////////////////////*/
/*////////////// Responsivité des écrans //////////////*/ 
/*/////////////////////////////////////////////////////*/     
/*******************************************************/

/***************************************/
/*          Les ecrans moyens          */
/***************************************/
@media (max-width: 1480px) {

	#art::after {
		
		width: clamp(100px, 17%, 450px); 
	}
	
	.encartDroit,
	.encartGauche {

    width: clamp(80px, 16%, 430px); 
	}

	.container h1, .encart h1, .t1 {
		margin:0;
	}

	.container h2, .encart h2, .t2, .order-city-t2{
		margin:0;
	}
	.container h3, .encart h3, .t3, .order-city-t3 {
		margin:0;
	}

	.container h4, .encart h4, .t4 {
		margin:0;
	}

}


/***************************************/
/*           Les petits écran         */
/***************************************/
@media (max-width: 1280px) {


	#art::after {
		
		width: clamp(100px, 15%, 450px); 
	}
	
	.encartDroit,
	.encartGauche {

    width: clamp(80px, 13%, 430px); 
	}
}



/****************************************/
/*     Les un peu plus petits ecrans    */
/****************************************/
@media (max-width: 1180px) {


	#art::after {
		
		display: none;
		
	}

	.encartDroit,
	.encartGauche {

		display: none;
	}
}


/****************************************/
/* Les encore un peu plus petits écrans */
/****************************************/

@media (max-width: 1024px) {

	.demarche-etapes {
		grid-template-columns: repeat(2, 1fr);
	  }

}



/****************************************/
/*            Les plus petits           */
/****************************************/

@media (max-width: 768px) {
		
	
	/* Containers et titres */
	
	.encart {
	width: 95%; /* Occuper presque toute la largeur sur mobile */
	padding: 15px; /* Réduire le padding sur les petits écrans */
	}

	.container h1, .encart h1, .t1 {
		margin:0;
		font-size: 1.0rem;
	}

	.container h2, .encart h2, .t2, .order-city-t2 {
		margin:0;
		font-size: 0.8rem;
	}
	.container h3, .encart h3, .t3, .order-city-t3 {
		margin:0;
		font-size: 0.6rem;	
	}

	.container h4, .encart h4, .t4 {
		margin:0;
		font-size: 0.4rem;
	}

	.container h1.titre-excellence {
		margin: 0;
		font-size: 1.1rem;
	}

	/* Encarts gauche addressEncartGauche disparait */

	 #addressEncartGauche {
    display: none;
  	}
	
	/* La gestion de l'overlay et ses boutons */
	
	
    #warningOverlay {
        top: 35%;
        padding: 15px;
        font-size: 14px;
        max-width: 300px;
        width: 90%;
    }

	#warningTitle {
        font-size: 16px;
	}

	#warningMessage {
        font-size: 13px;
	}


    #warningActions { 
        flex-direction: column; /* en colonne pour les petits ecrans */
        align-items: center;
    }

    .warning-button {
        width: 100%;
        margin-top: 5px;
        font-size: 0.7rem;
    }
	
	/* Les styles button-group, validate, call */
	
	.button-group {
	flex-direction: column; /* Empiler les boutons verticalement */
	align-items: stretch; /* Étirer les boutons pour occuper toute la largeur */
	}
	.button-group button{
		flex:1 1 auto;
	}
	
	.button-container {
		flex-direction: row; /* Rétablir l'affichage en ligne */
		align-items: center; /* Aligner les boutons verticalement au centre */
		justify-content: center; /* Centrer les boutons horizontalement */
		width: 90%; /* Garder une largeur maximale */
		margin: 20px auto;
	}

	.validate-button, .call-button {
		/*flex: 1 1 45%; /* pour que les boutons occupent 45% de l'espace disponible */
		/*max-width: 45%;       
		min-width: 0;     retrait0504 */
		font-size: 0.9em; /* ajuster la taille de la police pour les petits écrans */
	}
	
	.copro-custom-checkbox, 
	.facture-custom-checkbox{
		width: 20px;
		height: 20px;
		margin-left: 5px;
	}
	.copro-text-copro,
	.facture-text-fact	{
	
		font-size: 0.7rem;

	}	
	
	/* Demarche en 6 etapes */
	
	.demarche-etapes {
		grid-template-columns: repeat(2, 1fr);
	  }
	
	.etape h3 {
		
		padding-bottom: 0.7rem;
	}

	
	.etape-icone img {
		
        width: 65px;
        height: 58px;
    }

    .etape h3::before {
        font-size: 1.8rem;
    }

	/* Zones d'intervention - carte interactive */
	
	.zone-carte-interactive {
 	    width: 100%;
	}
	
}

/***************************************/
/*        Les encore plus petits       */
/***************************************/

	@media (max-width: 480px) {
	
    .encart {
		width: 90%;
		padding: 10px;
	}
	
	/* Demarche en 6 etapes */
	.demarche-etapes {
		grid-template-columns: 1fr;
	}

		.etape h3 {
		
		padding-bottom: 0.6rem;
	}

}





