:root {
  --vert-principal: #7a8e57;
  --vert-clair: #c3d295;
  --fond-formulaire: #F7F7F2;
  --largeur-max: 1080px; 
}

html, body {
  width: 100%;
  overflow-x: hidden; 
  margin: 0;
  padding: 0;
}

header {
  height: 500px;
  background-color: #c3d295;
  background-repeat: no-repeat;
  background-position: left bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header nav {
  position: fixed;
  width: 90%;           
  max-width: 1080px;     
  padding: 20px;
  margin: 0 auto;
  border-radius: 6px;
  background-color: rgba(122, 142, 87, 0.7);
  left: 0;
  right: 0;
  position: fixed;       
  left: 50%;              
  transform: translateX(-50%); 
  top: 20px;              
  z-index: 999; 
}

header .active {
  background: #F7F7F2;
  color: #5f7043;
  border-radius: 5px;
  text-decoration: none;
}


.nav-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1080px;
  padding: 20px;
  border-radius: 6px;
  background-color: rgba(122, 142, 87, 0.7);
  z-index: 1000;
}

.nav-container ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.nav-container a {
  color: white;
  text-decoration: none;
}

.nav-container a.active {
  background: #fff;
  color: #5f7043;
  padding: 6px 10px;
  border-radius: 5px;
}

header {
  width: 100%;
  height: auto;
  background-color: #c3d295;
  padding: 0;
  margin: 0;
}

.hero-banner {
  width: 100vw; /* 100% de la largeur du viewport */
  height: 100vh;
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("../images/concert.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-image {
  width: 250px; 
  height: auto;
  margin-top: 150px; 
  max-width: none;
}

body {
  margin: auto;
  padding: 0;
  background-color: #000;
  height: 100%;
  font-family: 'Varela Round', sans-serif;
}

.titre {
  font-family: 'Indie Flower', cursive;
  font-size: 6rem;
  color: #7a8e57;
  font-weight: bold;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px #000;
  animation: appear 1.5s ease-out;
  text-align: center;
  margin-top: 120px;
}

section {
  padding: 10px;
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
}

section h1 {
  font-size: 45px;
  letter-spacing: 4px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 0 auto 0 auto;
  color: #c3d295;
}

section p {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 0 auto 0 auto;
  color: #c3d295;
}

footer {
  min-height: 180px;
  padding: 16px 20px;
  background-image: url(../images/bois4.jpg);
  background-repeat: repeat-x;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
  width: 100vw; /* Prend toute la largeur du viewport */
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

footer nav {
  position: absolute;   
  background: none;   
  padding: 0;
  margin: 73px 0 0 0;

}

.footer-container ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 43px;
}

.footer-container a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

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

table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  margin-top: 20px;
}

table,
th,
td {
  border: 1px solid #000;
}

th,
td {
  padding: 10px;
}

th {
  background-color: #c3d295;
  color: #ffffff;
}

td {
  background-color: #F7F7F2;
}

/* tableau*/
.container-tableau {
  margin-bottom: 90px;
  width: 1080px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;    
}

div#montableau_filter {
  text-align: end;
  float: right;
}

div#montableau_length {
  top: 10px;
  float: left;
}

div#montableau_paginate {
  text-align: end;
  float: right;
  color: #F7F7F2;
}

div#montableau_info {
  top: 10px;
  float: left;
  color: #F7F7F2;
}

.dataTables_length label{
  color: #F7F7F2;
}

.dataTables_filter label {
  color: #F7F7F2;
}

img.tryoimg {
  width: 1080px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 30px;
  transition: filter 0.3s ease;
}

img.tryoimg:hover {
  filter: grayscale(100%);
}

.mamagubida-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
  margin-top: 30px;
  padding-bottom: 30px;
}

.mamagubida-container iframe {
  width: 50%;
  height: 450px;
  border-radius: 10px;
}

.mamagubida-container p {
  width: 40%;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-family: 'Varela Round', sans-serif;
  font-weight: 700;
  padding-top: 20px;
}

.p1 {
  color: #fff;
  font-family: 'Varela Round', sans-serif;
  font-weight: 700;
  text-align: center;
  width: 1080px;
  max-width: 90%;
  margin: auto;
  font-size: 16px;
}

.p3 {
  color: #fff;
  font-family: 'Varela Round', sans-serif;
  font-weight: 700;
  text-align: center;
  width: 1080px;
  max-width: 90%;
  margin: auto;
  font-size: 16px;
  margin-bottom: auto;
}

h2 {
  padding: 30px;
  color: #fff;
  font-family: 'Varela Round', sans-serif;
  font-weight: 700;
  text-align: center;
  width: 1080px;
  max-width: 90%;
  margin: auto;
}

.en-tete {
  display: flex;
  gap: 15px;
}

.en-tete .champ {
  flex: 1;
  display: flex;
  flex-direction: column
}

.champ-large {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.main-section {
  padding: 30px;
  background-color: #7a8e57;
  border-radius: 20px;
  width: 1080px;
  max-width: 90%;
  margin: 40px auto;
  color: #fff;
  position: relative;  
  z-index: 10;
}

.main-section form {
  width: 300px;
  margin: auto;
  box-sizing: border-box;
}

.main-section label {
  font-weight: bold;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.main-section label span {
  color: rgba(255, 8, 0, 0.582);
}

.main-section input,
.main-section textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid var(--vert-clair);
  font-family: 'Varela Round', sans-serif;
}

/* Styles pour les boutons radio */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.radio-option input[type="radio"] {
  width: auto;
  cursor: pointer;
}

.radio-option span {
  color: #fff;
}

.btn-envoyer {
  background-color: var(--vert-principal);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-envoyer:hover {
  background-color: #5f7043;
}

.p4 {
  color: #fff;
  padding: 20px;
  background-color: #7a8e57;
  border-radius: 20px;
  font-weight: 700;
  text-align: center;
  width: 1080px;
  max-width: 90%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* CAROUSEL 11 BOUTONS */
.carousel {
  width: 1080px;
  max-width: 90%;
  height: 450px;
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  background-color: #000;
}

.carousel input[type="radio"] {
  display: none;
}

.slides {
  display: flex;
  width: 1100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.slide {
  width: calc(100% / 11);
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  flex-shrink: 0;
}

.s1  { background-image: url("../images/Chants-de-bataille.jpg"); }
.s2  { background-image: url("../images/De-bouches-a-oreilles.jpg"); }
.s3  { background-image: url("../images/Faut-quils-sactivent.jpg"); }
.s4  { background-image: url("../images/Ce-que-l-on-seme.jpg"); }
.s5  { background-image: url("../images/Grain-de-sable.jpg"); }
.s6  { background-image: url("../images/Humain.jpeg"); }
.s7  { background-image: url("../images/Ladilafe.jpg"); }
.s8  { background-image: url("../images/Mamagubina.jpg"); }
.s9  { background-image: url("../images/Sous-les-etoiles.jpg"); }
.s10 { background-image: url("../images/Ne-quelque-part.jpg"); }
.s11 { background-image: url("../images/Vent-debout.jpg"); }

/* Défilement image */
#slide1:checked ~ .slides { transform: translateX(0); }
#slide2:checked ~ .slides { transform: translateX(-9.09%); }
#slide3:checked ~ .slides { transform: translateX(-18.18%); }
#slide4:checked ~ .slides { transform: translateX(-27.27%); }
#slide5:checked ~ .slides { transform: translateX(-36.36%); }
#slide6:checked ~ .slides { transform: translateX(-45.45%); }
#slide7:checked ~ .slides { transform: translateX(-54.54%); }
#slide8:checked ~ .slides { transform: translateX(-63.63%); }
#slide9:checked ~ .slides { transform: translateX(-72.72%); }
#slide10:checked ~ .slides { transform: translateX(-81.81%); }
#slide11:checked ~ .slides { transform: translateX(-90.90%); }

.controls {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.controls label {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.controls label:hover {
  opacity: 1;
}

#slide1:checked ~ .controls label:nth-child(1),
#slide2:checked ~ .controls label:nth-child(2),
#slide3:checked ~ .controls label:nth-child(3),
#slide4:checked ~ .controls label:nth-child(4),
#slide5:checked ~ .controls label:nth-child(5),
#slide6:checked ~ .controls label:nth-child(6),
#slide7:checked ~ .controls label:nth-child(7),
#slide8:checked ~ .controls label:nth-child(8),
#slide9:checked ~ .controls label:nth-child(9),
#slide10:checked ~ .controls label:nth-child(10),
#slide11:checked ~ .controls label:nth-child(11) {
  opacity: 1;
  background: var(--vert-principal);
}

/* page crédits */
.credits-page .main-section {
  padding: 40px;
  background: linear-gradient(135deg, var(--vert-principal), #5f7043);
  border-radius: 20px;
  width: 1080px;
  max-width: 90%;
  margin: 30px auto;
  color: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credits-page .main-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.credits-page h2 {
  color: var(--vert-clair);
  font-size: 40px;
  text-align: center;
  margin-bottom: 10px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.credits-page .p1 {
  font-size: 25px;
  line-height: 4;
  text-align: center;
  color: #fff;
}

/* Galerie photos */
.gallery-container {
    width: 1080px;
    max-width: 90%;
    margin: 40px auto;
    padding: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: white;
    text-align: center;
}


/* Formulaire upload */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.upload-form label {
    font-size: 18px;
}

.upload-form input[type="file"] {
    padding: 10px;
    border: 2px solid var(--vert-clair);
    border-radius: 8px;
    background: white;
    width: 100%;
}

.upload-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

/* PP */ 
:root{
  --pp-max: 1080px;
  --pp-pad: 20px;
  --pp-radius: 18px;
  --pp-bg: #0b0b10;
  --pp-card: rgba(255,255,255,0.06);
  --pp-text: rgba(255,255,255,0.88);
  --pp-muted: rgba(255,255,255,0.62);
  --pp-border: rgba(255,255,255,0.12);
}

.pp-container{
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 0 var(--pp-pad);
}
.pp-title{
  margin: 0; font-size: clamp(2rem, 4vw, 3rem); 
}
.pp-subtitle{ 
  margin: 10px 0 0; color: var(--pp-muted); 
}

.pp-section{ 
  padding: 40px 0; border-top: 1px solid var(--pp-border); 
}
.pp-h2{ 
  margin: 0 0 16px; font-size: 1.6rem; 
}
.pp-h3{
  margin: 0 0 10px; font-size: 1.2rem; 
}
.pp-lead{
  margin: 0; color: var(--pp-muted); 
  color: #c3d295;
}

.pp-grid{
  display: grid;
  gap: 16px;
}
.pp-grid--4{
  grid-template-columns: repeat(2, 1fr);
}

.pp-card{
  border: 1px solid var(--pp-border);
  background: var(--pp-card);
  border-radius: var(--pp-radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.pp-card__media{
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pp-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.pp-card__body{
  padding: 14px 14px 16px; 
}

.pp-card__top{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.pp-card__title{ 
  margin: 0; 
  font-size: 1.1rem; 
  color:#5f7043;
}

.pp-badge{
  font-size: 0.78rem;
  color: var(--pp-muted);
  border: 1px solid var(--pp-border);
  padding: 4px 8px;
  border-radius: 999px;
}

.pp-card__text{ 
  margin: 10px 0 12px; color: var(--pp-muted); line-height: 1.4; 
}

.pp-link{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
}

.pp-link:hover{ 
  border-bottom-style: solid; 
}

.pp-theme__header{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.pp-split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.pp-list{
  margin: 10px 0 16px;
  padding-left: 18px;
  color: var(--pp-muted);
}

.pp-cta{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pp-border);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.pp-cta:hover{ 
  background: rgba(255,255,255,0.12); 
}

.pp-showcase{
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.pp-showcase img{
  width: 100%;
  display:block;
  height: auto;
}

.pp-docs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.pp-doc{
  text-decoration: none;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--pp-border);
  background: var(--pp-card);
}

.pp-doc__icon{
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 10px;
}

.pp-doc__title{
  display: block;
  color: var(--pp-text);
  font-size: 0.95rem;
  opacity: 0.9;
}