
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}


/* ============= base v1 (début) =========== */

a {
text-decoration:none;
color:#5b5b5b;
outline: 0px;
}

a:hover {
text-decoration:none;
color:#5b5b5b;
outline: 0px;
}

h2{
font-weight: normal;
text-align: center;
color: #23a7f1;
line-height: 25px;
font-size: 1.1em;
padding-bottom: 6px;
}

body {
font-family:  Arial, Helvetica, sans-serif, Verdana;
font-size: 1em;
color:#5b5b5b;
padding: 0px;
margin: 0px;
letter-spacing: 0.5px;
word-wrap: break-word;
background: #e0e4e4;
}

support{
display: block;
/*padding-top: 70px;*/
}

contenu1{
display: block;
width: 990px;
margin: auto;
/*padding-top: 70px;*/
padding-top: 10px;
padding-bottom: 8px;
margin-bottom: 30px;
background: #ffffff;
border-radius: 12px;
z-index: 2;
border-left: solid 1px #cccccc;
border-right: solid 1px #cccccc;
border-bottom: solid 2px #cccccc;
}


@media (max-width: 1014px) {

contenu1{
width: 96%;
}
	
}

/* ============= base v1 (fin) =========== */


/* ============= titre v1 (début) =========== */

titre{
display: block;
font-family: Verdana, Arial;
color: #5ba743;
}

titre a, titre a:hover {	
color: #5ba743;
}

titre h1{
margin: 0;
padding: 0;
padding-top: 10px;
font-weight: normal;
text-align: center;
color: #5ba743;
font-size: 3em;
/*border: solid 1px blue;*/
}

#img_titre{
width: 300px;
border: 0;
}

#titre_v10{
display: block;
line-height: 90px;
vertical-align: middle;
padding-bottom: 20px;
/*border: solid 1px red;*/
}

.img_titre_v10{
width: 150px;
vertical-align: middle;
border: 0;
}


/* ============= titre v1 (fin) =========== */


/* =============== menu v2 (début) =========== */

nav{
display: block;
width: 100%;
color: #5b5b5b;
margin-bottom: 20px;
background: #e0e4e4;
z-index: 42;
box-shadow: 0px 2px 8px;
/*border: solid 1px aqua;*/
}

nav ul {
display:table;
height:28px;
padding-left: 1px;
margin: auto;
list-style:none;
/*border: solid 1px pink;*/
}

nav li {
margin: auto;
float:left;
line-height:28px;
text-align:center;
/*border: solid 1px brown;*/
}

nav li a {
padding-top: 10px;
padding-bottom: 10px;
float:left;
line-height:28px;
text-align:center;
/*border: solid 1px brown;*/
}

nav .menu_sel{
display: block;
color: #FFFFFF;
background: #5ba743;
/*border: solid 1px aqua;*/
}

@media (max-width: 1014px) {

nav li a {
padding-left: 8px;
padding-right: 8px;
text-transform: none;
}

	
}


@media (min-width: 1015px) {
	
nav li a {
width: 200px;
}

}


/* =============== menu v2 (fin) =========== */


/* ============= contenu v1 (début) =========== */

main{
/*border: solid 1px pink;*/
}

section{
display: block;
padding-top: 6px;
padding-bottom: 8px;
padding-left: 10px;
padding-right: 10px;
margin: auto;
text-align: justify;
}

.contenu_message_v1{
display: block;
margin-top: 20px;
}

.contenu_message_v2{
display: block;
margin-top: 40px;
}

.contenu_message_v1 h2, .contenu_message_v2 h2{
padding-bottom: 20px;
}

.contenu_message_v1 .p_centrer, .contenu_message_v2 .p_centrer{
text-align: center;
line-height: 1.3;
}

.contenu_message_v1 .espace_centrer, .contenu_message_v2 .espace_centrer {
padding-top: 8px;
text-align: center;
line-height: 1.6;
}

@media (max-width: 1014px) {

iframe{
width: 70%;	
}	

}

/* ============= contenu v1 (fin) =========== */


/* ============= gestion photo v1 (début) =========== */

.cadre_photo{
text-align: center;
}

.cadre_photo .commentaire_photo{
text-align: center;
padding-bottom: 20px;
/*border: solid 1px green;*/
}

.cadre_photo .img_v1{
width: 95%;
border-radius: 6px;
box-shadow: 0px 2px 2px;
/*border: solid 1px red;*/
}

.cadre_photo .img_v2{
width: 60%;
border-radius: 6px;
box-shadow: 0px 2px 2px;
/*border: solid 1px green;*/
}

.cadre_photo .img_v3{
width: 45%;
border-radius: 6px;
box-shadow: 0px 2px 2px;
/*border: solid 1px green;*/
}

.cadre_photo .img_v5{
width: 150px;
border-radius: 6px;
/*border: solid 1px green;*/
}

/* ============= gestion photo v1 (fin) =========== */



/* ============= galerie photo v1 (début) =========== */


.lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 10000;
}

.lightbox-overlay img {
max-width: 90%;
max-height: 90%;
border-radius: 8px;
}

.featured-section {
width: 80%;
margin: 50px auto;
padding: 20px;
border: 2px solid #333;
border-radius: 8px;
background-color: #f4f4f4;
overflow: hidden; /* Cache les articles qui sont en dehors du cadre */
}

.featured-container {
display: flex;
width: 300%;
transition: transform 1s ease-in-out;
}

.featured-item {
flex: 1;
padding: 20px;
box-sizing: border-box;
text-align: center;
}

.featured-item h3 {
font-size: 24px;
color: #333;
}

.featured-item p {
font-size: 16px;
color: #555;
}

.featured-item h2 {
text-align: center;
margin: 30px 0 10px;
}

/* === GRILLE RESPONSIVE === */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
padding: 20px;
/*max-width: 1200px;*/
max-width: 900px;
margin: auto;
}

/* === IMAGES CARRÉES === */
.gallery img {
width: 100%;
height: 100%;
aspect-ratio: 1 / 1;       /* Ratio carré */
object-fit: cover;         /* Centre + recadrage */
object-position: center;   /* Centre largeur/hauteur */
border-radius: 12px;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
transform: scale(1.04);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* === PLEIN ÉCRAN === */
.fullscreen {
position: fixed;
top: 0;
width: 100%;
height: 100%;
inset: 0;
background-color: rgba(0,0,0,0.85);
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
}

.fullscreen img {
max-width: 90%;
max-height: 90%;
border-radius: 12px;
object-fit: contain;
}

.close-btn {
position: absolute;
top: 20px;
right: 15px;
font-size: 26px;
font-size: 26px;
border: none;
background: rgba(255,255,255,0.6);
border-radius: 50%;
padding: 8px 12px;
cursor: pointer;
}

.nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
color: white;
font-size: 30px;
cursor: pointer;
background: none;
border: none;
}

.ph_prev { left: 20px; }
.ph_next { right: 20px; }


/* ============= galerie photo v1 (fin) =========== */






/* ========== photo avant apres v1 (début) ========== */

.photo_cadre_avant_apres {
display: block;
margin: auto;
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
/*border: solid 1px aqua;*/
}

.photo_cadre_avant_apres p {
display: block;
margin: 0;
padding: 0;
padding-top: 6px;
padding-bottom: 6px;
text-align: center;
/*border: solid 1px green;*/
}

.before-after-container {
display: block;
width: 500px;
margin: auto;
border-radius: 8px;
border: solid 1px #ccc;
}

.before-after {
position: relative;
max-width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 10px;
}

/* Les deux images couvrent 100% du conteneur, restent FIXES */
.before-after__img {
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
user-select:none;
pointer-events:none;
}

.before-after__img--after {
z-index:1;
}

/* Couche AVANT au-dessus, avec clip-path (masque) */
.before-after__img--before {
z-index:2;
/* masque initial à 50% */
clip-path: inset(0 50% 0 0);
transition: clip-path 0.15s ease-out;
}

/* barre verticale + poignée */
.before-after__divider {
position:absolute;
top:0;
bottom:0;
left:50%;
width:2px;
background:#ffffff;
box-shadow:0 0 0 1px rgba(0,0,0,0.25);
z-index:3;
cursor:ew-resize;
transition:left 0.15s ease-out;
}

.before-after__handle {
position:absolute;
top:50%;
left:50%;
width:32px;
height:32px;
border-radius:50%;
background:#ffffff;
box-shadow:0 0 10px rgba(0,0,0,0.3);
transform:translate(-50%, -50%);
display:flex;
align-items:center;
justify-content:center;
z-index:4;
cursor:ew-resize;
}

.before-after__handle::before,
.before-after__handle::after {
content:"";
display:block;
width:6px;
height:12px;
border-radius:3px;
background:#333;
margin:0 2px;
}

.before-after__label {
position:absolute;
top:10px;
padding:6px 10px;
font-size:13px;
color:#fff;
background:rgba(0,0,0,0.5);
border-radius:4px;
z-index:5;
text-transform:uppercase;
letter-spacing:0.04em;
}

.before-after__label--before {
left:10px;
}

.before-after__label--after {
right:10px;
}

@media (max-width: 768px) {
.before-after__label {
font-size:11px;
padding:4px 7px;
}
.before-after__handle {
width:26px;
height:26px;
}
}

/* ========== photo avant apres v1 (fin) ========== */



/* ========== contact v1 (début) ========== */

h1{
text-align: center;  
}
     
.txt_centre{
display: block;
text-align: center;
}

.txt_rouge{
color: #c30f0f;
}

.txt_vert{
color: #4CAF50;
}

.form-container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
}

.form-container p{
}

label {
font-weight: bold;
}

input, textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
border: 1px solid #ccc;
}

input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
}

input[type="submit"]:hover {
background-color: #45a049;
}

.champs_obligatoire{
margin-top: 12px;
font-size:0.8em;
/*border: solid 1px red;*/
}

.btn_envoyer{
display: block;
margin: auto;
border: 1px solid red;
}

/* ========== contact v1 (fin) =========== */


/* ========== footer - pied de page (début) ========== */

footer{
display: block;
margin: 0;
padding: 0;
margin: auto;
padding-top: 20px;
padding-bottom: 15px;
text-align:center;
color: #5b5b5b;
clear: both;
font-size:0.8em;
}

footer a {
color: #5b5b5b;
text-decoration: none;
}

footer a:hover {
color:#333;
}

footer ul {
display:table;
height:28px;
padding-left: 1px;
list-style:none;
margin: auto;
}

footer li {
padding-left: 5px;
padding-right: 5px;
float:left;
line-height:28px;
text-align:center;
}

/* ========== footer - pied de page (fin) ========== */

