html {
    scroll-behavior: smooth;
}

/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
body { 
	background: linear-gradient(135deg, #FFFBF4, #F4F4F4, #FFFBF4);
	background-attachment: fixed;
	color: #373736;
	font-size:1rem;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
}

a {
	color: #373736;
	text-decoration:underline;
}

.clearboth {
	content:'';
	clear:both;
	display:block;
}

/* ===== FOOTER ===== */
footer {
	margin:20px auto 20px auto;
	padding:20px;
	border-radius:10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	max-width:1200px;
	width: calc(100% - 40px); /* 20px + 20px */
    background: rgba(255, 251, 244, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
footer div {
	text-align:center;
	font-size:.850rem;
}

/* ===== LOGO ===== */
.logo {
	padding:10px 0
}
.logo img {
	width:250px;height:auto;
}

/* ===== LIENS DESKTOP ===== */
.links {
    display:flex;
    gap:50px;
}

.flag {
    display:flex;
}
.flag img {
   margin-left:20px;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 251, 244, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 1200px;
    width: calc(100% - 40px); /* 20px à gauche + 20px à droite */
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 10px;
}
nav a.border {
	font-size: 1rem;
    color:#373736;
    text-decoration:none;
	font-weight:bold;
    position:relative;
    padding:10px 0;
    transition:color .3s ease;
}
nav a.border:hover {
    color:#EF8A04;
}
/* BORDURE MENU ANIMEE */
nav a.border::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-23px;
    width:0%;
    height:3px;
    background:#EF8A04;
    transition:width .3s ease;
}
nav a.border.active {
    color:#EF8A04;
	font-weight:bold;
}
nav a.border.active::after {
    width:100%;
}

/* ===== BURGER ===== */
.burger {
    width:30px;
    height:22px;
    display:none;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
}
.burger span {
    height:3px;
    background:#373736;
    border-radius:2px;
}

/* ===== MENU MOBILE ===== */
.mobile-menu {
    position:fixed;
    top:80px;
    left:0;
    width:100%;
    background:white;
    display:none;
    flex-direction:column;
    padding:20px;
    border-bottom:1px solid #ddd;
}

.mobile-menu a {
    padding:6px 0;
    text-decoration:none;
}

/* ===== SECTIONS ===== */
section {
    height:auto;              /* tu peux maintenant mettre auto */
    padding-top:90px;         /* hauteur du menu */
    min-height:100vh;         /* si tu veux garder un effet plein écran */
    display:flex;
    align-items:center;
    justify-content:center;
}

/* ===== SECTIONS COULEUR ===== */
.section1 {
	background-image: url("/images/section_1.jpg?a=6");
    background-size: cover;        /* l’image remplit toute la section */
    background-position: center;   /* centrée */
    background-repeat: no-repeat;  /* pas de répétition */
}
.section1 h1 {
	text-align:center;
	font-weight:bold;
	font-size: 3rem;
	font-style:italic;
	line-height: 3.5rem;
}
.section1 h1 span {
	background:#EF8A04;	
	color: #FFF;	
	padding:5px 15px 10px 10px;
	border-radius:10px;
}

.section {
	max-width:1200px;
	margin:0 auto;
	padding:20px 20px 50px 20px;
	border-radius:10px;
	background: rgba(255, 251, 244, 0.5);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    width: calc(100% - 40px); /* 20px à gauche + 20px à droite */
}

/* ===== SECTION 2 ===== */
.section2 {
    background-image: url("/images/fond_plume.png?a=2");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto;
	background-color: #FFF;
}
.section2 h2 {
	text-align:center;
	font-weight:bold;
	margin:20px 0 30px 0;
	font-size: 2rem;
}
.section2 p.citation {
	font-family:Times New Roman;
	font-size:1.50rem;
	font-style:italic;
	text-align:center;
}
.section2 p.auteur {
	margin-top:10px;
	text-align:center;
	color:#999;
	font-size:.850rem;
}
.section2 ul {
	line-height:1.50rem;
	margin-top:50px;
}
.section2 ul li {
	display:inline-block;
	width:49%;
	text-align:justify;
	vertical-align:top
}
.section2 ul li p.bloc1 {
	padding:0 20px 0 5px;
}
.section2 ul li p.bloc2 {
	padding:0 5px 0 20px;
}


/* ===== SECTION 3 ===== */
.section3 h2 {
	text-align:center;
	font-weight:bold;
	margin:70px 0 30px 0;
	font-size: 2rem;
}
.section3 table {
	max-width: 1200px;
	margin:0 auto;
    width: calc(100% - 40px); /* 20px à gauche + 20px à droite */
}
.section3 table td {
	width: 30%;
	vertical-align: top;
}
.section3 table td.pad1 {padding-right: 30px;}
.section3 table td.pad2 {padding: 0 15px 0 15px}
.section3 table td.pad3 {padding-left: 30px;}
.section3 table td img {
	display:block;
	margin:0;padding:0;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	border-radius:20px 20px 0 0;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    filter: brightness(0.85); /* 0.0=foncé 0.9=clair */
	transition: .3s;
}
.section3 table td:hover img {
    filter: brightness(1); /* 0.0=foncé 0.9=clair */
}
.section3 table td p {
	padding:20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	font-size:.80rem;
	line-height:1.50rem;
	border-radius:0 0 20px 20px;
	background: #FFF;
}
.section3 table td .lirePlus {
	font-style:italic;
	color:#999;
	transition: .2s;
}
.section3 table td .lirePlus:hover {
	color:#EF8A04;
}

/* ===== SECTION 4 ===== */
.section4 {
	max-width: 1200px;
	margin: 0 auto;
	width: calc(100% - 40px); /* 20px + 20px */
}
.section4 h2 {
	text-align:center;
	font-weight:bold;
	margin:70px 0 30px 0;
	font-size: 2rem;
}
.section4 .cc {
	position:relative;
}
.section4 .cc .img img {
	border-radius: 20px 20px 0 0;
	margin:0;padding:0;
	display:block;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);	
	max-width: 100%;
}
.section4 .cc .imgtxt1 {
	border-radius:0 0 20px 20px;
	background: rgba(255, 251, 244, 0.5);
	background: #FFF;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	font-size:.850rem;
	line-height: 1.250rem; 
	padding: 20px;
}
.section4 .cc .imgtxt1 i {
	color:#999
}
.section4 .cc .imgtxt1 ul {
	width: 30%;
	display: inline-block;
	vertical-align: top;
	margin: 10px 0 30px 16px;
}
.section4 .cc .imgtxt1 ul li {
	margin-top: 15px;
	font-size:.80rem;
	line-height: 1.250rem; 
}
.section4 .cc .imgtxt1 table.logomarque {
	width: 100%;
	border-radius: 10px;
	background: linear-gradient(180deg, #373736, #666, #373736);
	margin: 15px 0;
}
.section4 .cc .imgtxt1 table.logomarque td {
	padding:15px;
}
.section4 .cc .imgtxt1 table.logomarque b {
	font-size: 1.250rem;
	color: #fff;
}
.section4 .cc .imgtxt1 table.logomarque img {
	margin-right: 20px;
	vertical-align: middle;
	height: 35px;
	width: auto;
}
.section4 .cc .imgtxt1 table.logomarque td.marge img {
	margin: 0 20px 10px 0;
}
.section4 .cc .imgtxt1 p.end {
	color:#9999;
	margin: 25px 0 15px 0;
	text-align:center;
}

/*
#section5 { background:#b5c7d3; }
*/


/* ===== RESPONSIVE ===== */

@media(max-width:1024px){
    nav .links, nav .flag { display:none; }
    .burger { display:flex; }
	.section { margin:50px auto 50px auto;}
	.section2 {padding:20px}
	.section2 ul li {width:100%;}
	.section2 ul li p.bloc1, .section2 ul li p.bloc2 {padding:0 0 25px 0;}
	.section3 table td.pad1, .section3 table td.pad2, .section3 table td.pad3 {padding-right: 0px}
	.section3 table td {display:block;max-width: 500px;width:100%;margin-bottom:50px}
	.section2 {background-image: none;}
	.section4 .cc .imgtxt1 table.logomarque td {
		display:block;
		width: 100%;
		margin: 15px 0 15px 0;
	}
	.section4 .cc .imgtxt1 table.logomarque td img {margin: 0 20px 10px 0;}
}