
* {
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;
/*border: solid 1px red;*/
}


body {
font-family: "Georgia", serif;
color: #000;
background: #fff;
/*border: solid 1px red;*/
}

support{
display: block;
width: 990px;
margin: auto;
/*padding-top: 100px;*/
/*height: 300px;*/
/*border: solid 1px red;*/
}

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



@media (max-width: 1014px) {

support{
width: 100%;
}

contenu1{
width: 96%;
/*border: 1px solid green;*/
}

	
}

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


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

titre{
display: block;
color: #23a7f1;
/*border: solid 1px yellow;*/
}

titre h1{
margin: 0;
padding: 0;
padding-top: 10px;
font-weight: normal;
text-align: center;
color: #23a7f1;
text-shadow: 2px 2px 4px #2ccc71;
font-size: 3em;
/*border: solid 1px blue;*/
}

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


/* ========== menu m3 v1 (début) ============= */


/* ===== LIGNE FINE ===== */
.separator {
width: 990px;
margin: 0 auto;
border-top: 1px solid #e5e5e5;
}

/* ===== TOP BAR ===== */
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 8%;
}

.date {
font-variant: small-caps;
font-weight: 300;
letter-spacing: 2px;
font-size: 0.85rem;
}

/* SOCIAL ICONS */
.social-icons a {
margin-left: 18px;
display: inline-block;
}

.social-icons svg {
width: 18px;
height: 18px;
stroke: #000;
stroke-width: 1.4;
fill: none;
transition: opacity 0.3s ease;
}

.social-icons svg:hover {
opacity: 0.5;
}

/* ===== HEADER ===== */
header {
text-align: center;
padding: 0px;
padding-bottom: 25px;
}

.header-title {
display: block;
padding-top: 10px;
padding-bottom: 10px;
font-size: 2rem;
font-weight: 600;
letter-spacing: 1px;
text-decoration: none;
color: #5ba743;
/*border:  solid 1px red;*/
}

.header-title:hover {
color: #5ba743;	
}

.header-title #titre_v10{
display: block;
line-height: 90px;
/*border: solid 1px brown;*/
}

.header-title #titre_v10 .img_titre_v10{
width: 150px;
padding-left: 5px;
padding-right: 5px;
vertical-align: middle;
border: 0;
}

.slogan {
margin-top: 10px;
font-size: 0.95rem;
font-style: italic;
font-weight: 300;
letter-spacing: 1px;
color: #444;
/*border: solid 1px aqua;*/
}

/* ===== MENU ===== */
nav {
padding: 20px 0;
text-align: center;
/*border: 1px solid pink;*/
}

nav ul {
list-style: none;
display: inline-flex;
gap: 30px;
/*border: 1px solid red;*/
}

nav ul li a {
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 1.5px;
text-transform: uppercase;
color: #000;
transition: opacity 0.3s ease;
}

nav ul li a:hover {
opacity: 0.6;
}



/* ===== MENU RESPONSIVE ===== */

/* Bouton burger (caché en desktop) */
.menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
margin: 0 auto 20px auto;
}

.menu-toggle span {
display: block;
width: 26px;
height: 1px;
background: #000;
margin: 6px 0;
transition: all 0.3s ease;
}

/* Animation croix */
.menu-toggle.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}


/* Responsive */
@media (max-width: 768px) {



.top-bar {
flex-direction: column;
gap: 10px;
}

nav ul {
display: none;
flex-direction: column;
gap: 18px;
padding-bottom: 20px;
/*border: 1px solid green;*/
}

nav ul.open {
display: flex;
/*border: 1px solid aqua;*/
}

.menu-toggle {
display: block;
/*border: 1px solid red;*/
}

}

	
@media (max-width: 1014px) {

/* ===== LIGNE FINE ===== */
.separator {
width: 94%;
/*border: solid 1px red;*/
}


}

/* ========== menu m3 v1 (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;
/*border: solid 1px aqua;*/
}

.contenu_message_v1{
display: block;
margin-top: 20px;
/*border: solid 1px fuchsia;*/
}

.contenu_message_v2{
display: block;
margin-top: 40px;
/*border: solid 1px fuchsia;*/
}

.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;
}

.contenu_message_v1 .espace_ligne_v1, .contenu_message_v2 .espace_ligne_v1{
line-height: 2.3;
/*border: solid 1px fuchsia;*/
}

/* Conteneur principal plein écran */
.container {
background-color: #ffffff;
margin: 0 auto;
padding-left: 40px;
padding-right: 40px;
padding-top: 30px;
padding-bottom: 30px;
}

/* Bloc contenu */
.container .contenu {
padding: 0;
}

.container h2 {
text-align: left;
margin-bottom: 0.25rem;
font-size: 1.6rem;
font-weight: 600;
}

.container .sous-titre {
font-size: 0.9rem;
color: #6b7280; /* gris subtil */
margin-bottom: 1rem;
font-style: italic; /* italique pour distinguer du titre */
font-weight: normal;
}

.container p {
margin-top: 0.5rem;
margin-bottom: 1rem;
}

/* Ligne de séparation subtile */
.container hr {
border: none;
border-top: 1px solid #e5e7eb;
margin: 40px 0;
}

/* ======= container 2 ======== */

.container2 {
display: block;
background-color: #ffffff;
margin: 0 auto;
padding-left: 40px;
padding-right: 40px;
padding-top: 30px;
padding-bottom: 30px;
}

.container2 h2 {
text-align: left;
font-size: 1.6rem;
margin-top: 0;
margin-bottom: 0.25rem;
font-weight: 600;
}

.container2 .sous-titre {
font-size: 0.9rem;
color: #6b7280;
margin-bottom: 0.5rem;
font-style: italic;
font-weight: normal;
position: relative;
padding-bottom: 0.3rem;
}

.container2 .sous-titre::after {
content: "";
display: block;
height: 1px;
width: 50px;
background-color: #e5e7eb;
margin-top: 4px;
}

.container2 p {
margin-top: 0.5rem;
margin-bottom: 1rem;
}

.container2 hr {
border: none;
border-top: 1px solid #e5e7eb;
margin: 40px 0;
}

/* Bloc Actualité avec figure flottante à droite */
.container2 .actualite figure.right {
float: right;
width: 250px;
margin-left: 20px;
margin-bottom: 10px;
text-align: center;
}

/* Bloc Actualité avec figure flottante à gauche */
.container2 .actualite figure.left {
float: left;
width: 400px;
margin-right: 20px;
margin-bottom: 10px;
text-align: center;
}

.container2 .actualite figure img {
width: 100%;
height: auto;
border-radius: 8px;
display: block;
}

.container2 .actualite figure figcaption {
font-size: 0.85rem;
color: #6b7280;
margin-top: 5px;
font-style: italic;
}

@media (max-width: 1014px) {

iframe{
width: 70%;	
}	

}


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


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

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


.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: 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 v1 (début) ======= */

footer{
display: block;
margin: 0;
padding: 0;
margin: auto;
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 v1 (fin) ========== */


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

footer2 {
display: block;
margin: 0;
padding: 0;
margin: auto;
text-align: center;
padding-left: 15px;
padding-right: 15px;
padding-top: 15px;
padding-bottom: 15px;
color: #555;
font-size: 14px;
}

footer2 a {
color: #555;
text-decoration: none;
margin: 0 5px;
}

footer2 a:hover {
text-decoration: underline;
}

/* =========== Footer v2 (fin) ========== */




/* =========== Footer v3 (début) ========== */

footer3 {
display: block;
margin: 0;
padding: 0;
color: #555;
padding-top: 20px;
padding-bottom: 20px;
font-size: 14px;
}

/* Ligne de liens */
footer3 .footer-links {
text-align: center;
margin-bottom: 10px;
}

footer3 .footer-links a {
color: #555;
text-decoration: none;
margin: 0 8px;
}

footer3 .footer-links a:hover {
text-decoration: underline;
}

/* Ligne de copyright */
footer3 .footer-copy {
text-align: center;
color: #888;
font-size: 13px;
}

/* =========== Footer v3 (fin) ========== */




/* =========== Footer v4 (début) ========== */

footer4 {

display: block;
margin: 0;
padding: 0;
background-color: #f8f8f8;
padding: 40px 20px 20px;
color: #444;
font-size: 14px;
}

footer4 .footer-container {
max-width: 1100px;
margin: auto;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 30px;
}

footer4 .footer-logo {
font-size: 20px;
font-weight: bold;
}

footer4 .footer-links,
footer4 .footer-social {
display: flex;
flex-direction: column;
gap: 8px;
}

footer4 .footer-links a,
footer4 .footer-social a {
text-decoration: none;
color: #444;
transition: color 0.2s ease;
}

footer4 .footer-links a:hover,
footer4 .footer-social a:hover {
color: #000;
}

footer4 .footer-title {
font-weight: bold;
margin-bottom: 10px;
}

footer4 .footer-bottom {
text-align: center;
margin-top: 30px;
padding-top: 15px;
border-top: 1px solid #ddd;
font-size: 13px;
color: #888;
}

/* Responsive */
@media (max-width: 900px) {

footer4 .footer-container {
grid-template-columns: 1fr;
text-align: center;
}

}


/* =========== Footer v4 (fin) ========== */






/* =========== Footer v5 (début) ========== */


footer5 {
display: block;
margin: 0;
padding: 0;
background-color: #1c1c1c;
padding: 50px 20px 30px;
font-size: 14px;
text-align: center;
border-top: 1px solid #333;
}

/* Logo */
footer5 .footer-logo {
font-size: 24px;
font-weight: 700;
margin-bottom: 25px;
color: #fff;
}

/* Navigation */
footer5 .footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 30px;
}

footer5 .footer-links a {
text-decoration: none;
color: #bbb;
font-weight: 500;
transition: all 0.2s ease;
}

footer5 .footer-links a:hover {
color: #fff;
}

/* Réseaux sociaux */
footer5 .footer-social {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 30px;
}

footer5 .footer-social a {
display: inline-flex;
width: 44px;
height: 44px;
border-radius: 50%;
background-color: #2a2a2a;
color: #bbb;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

/* Hover : couleur spécifique par réseau */
footer5 .footer-social a:hover {
transform: translateY(-3px);
}
footer5 .footer-social a.facebook:hover { background-color: #3b5998; color: #fff; }
footer5 .footer-social a.instagram:hover { background-color: #e1306c; color: #fff; }
footer5 .footer-social a.linkedin:hover { background-color: #0a66c2; color: #fff; }

footer5 .footer-social svg {
width: 20px;
height: 20px;
fill: currentColor;
}

/* Copyright */
footer5 .footer-bottom {
font-size: 13px;
color: #777;
}

/* Responsive */
@media (max-width: 600px) {
footer5 .footer-links { gap: 15px; }
footer5 .footer-social { gap: 15px; }

}



/* =========== Footer v5 (fin) ========== */








/* =========== Footer v8-1 (début) ========== */


footer8 {
display: block;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
backdrop-filter: blur(12px);
padding-top: 30px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 30px;
font-size: 14px;
line-height: 1.6;
border-top: 1px solid rgba(255,255,255,0.1);
border-radius: 12px;
max-width: 1200px;
margin: 40px auto;
}

footer8 .footer-container {
display: flex;
flex-wrap: wrap;
gap: 40px;
justify-content: space-between;
}

/* Logo */
footer8 .footer-logo {
flex: 1 1 150px;
font-size: 22px;
font-weight: 700;
color: #fff;
border-right: 1px solid rgba(255,255,255,0.1);
padding-right: 15px;
}

/* Liens utiles */
footer8 .footer-links {
flex: 1 1 200px;
display: flex;
flex-direction: column;
gap: 8px;
border-right: 1px solid rgba(255,255,255,0.1);
padding: 0 15px;
}

footer8 .footer-links a {
color: #ccc;
text-decoration: none;
transition: 0.2s ease;
}

footer8 .footer-links a:hover {
color: #fff;
}

/* Contenu SEO + réseaux sociaux */
footer8 .footer-content {
flex: 2 1 300px;
color: #bbb;
font-size: 13px;
padding-left: 15px;
}

footer8 .footer-social {
display: flex;
gap: 12px;
margin-top: 15px;
}

footer8 .footer-social a {
display: inline-flex;
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(255,255,255,0.1);
color: #ccc;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

footer8 .footer-social a:hover {
transform: translateY(-3px) scale(1.1);
}

footer8 .footer-social a.facebook:hover { background-color: #3b5998; color: #fff; }
footer8 .footer-social a.instagram:hover { background-color: #e1306c; color: #fff; }
footer8 .footer-social a.linkedin:hover { background-color: #0a66c2; color: #fff; }

footer8 .footer-social svg {
width: 18px;
height: 18px;
fill: currentColor;
}

footer8 .footer-container strong {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #fff;
}

footer8 .footer-bottom {
text-align: center;
margin-top: 30px;
padding-top: 15px;
border-top: 1px solid rgba(255,255,255,0.1);
color: #999;
font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
footer8 .footer-container {
flex-direction: column;
text-align: center;
}

footer8 .footer-logo,
footer8 .footer-links,
footer8 .footer-content {
border-right: none;
padding: 0;
}

footer8 .footer-logo, .footer-content {
flex: 1 1 auto;
padding-bottom: 30px;
}

footer8 .footer-social {
justify-content: center;
}

}

/* =========== Footer v8-1 (fin) ========== */

