/* classes globales */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: #333;
    background: #f4f1ea url('https://www.transparenttextures.com/patterns/cream-paper.png');
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

h3 {
    color: #1a2b4c;
    font-size: 28px;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: inline-block;
}

p {
    font-size: 18px;
    line-height: 28px;
    text-align: justify;
    color: #444;
}

header {
    background: #1a2b4c;
    color: white;
    padding: 30px 0;
    text-align: center;
    border-bottom: 5px solid #d4af37;
}

nav {
    background: #111;
    border-bottom: 2px solid #d4af37;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

nav a:hover, nav a.page-active {
    background: #d4af37;
    color: #1a2b4c;
    border-bottom-color: white;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    width: 1080px;
    margin: 0 auto;
}

footer {
    background: #1a2b4c;
    color: #ccc;
    text-align: center;
    padding: 16px 24px;
    border-top: 5px solid #d4af37;
}

footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
footer p {
    margin: 5px 0;
    font-size: 14px;
    color: white;
}

footer a:hover {
    color: white;
}

.oracle {
    background-color: #222222; 
    color: #d4af37;           
    font-family: 'Cinzel', serif;
    font-size: 18px;           
    
    border: 2px dashed #d4af37; 
    padding: 15px;           
    margin-bottom: 30px;       
    
    display: inline-block;   
}
/* classes spécifiques */

.titre-principal {
    font-size: 56px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px black;
}

.sous-titre {
    font-style: italic;
    color: #d4af37;
    font-size: 20px;
    margin-top: 10px;
}

.banniere {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/nuage.jpg') center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boite-texte-banniere {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border: 3px solid #d4af37;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.boite-texte-banniere h2 {
    color: #1a2b4c;
    margin: 0 0 20px;
    font-size: 36px;
}

.section-presentation {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.bloc-texte {
    flex: 2;
    min-width: 300px;
}

.bloc-image {
    min-width: 300px;
    text-align: center;
}

.bloc-image img {
    width: 100%;
    max-width: 400px;
    border: 8px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.intro_olympe_cartes {
    text-align: center; 
}
.conteneur-cartes {
    margin-top: 24px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.carte-olympe {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.carte-olympe:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.carte-olympe img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid #d4af37;
    margin-bottom: 15px;
}

/* --- Données --- */
#montableau {
    width: 100%;
    background-color: white;
    margin-top: 20px;
    border-collapse: collapse; 
    border: 2px solid #1a2b4c; 
}

/* La ligne des titres (en haut) */
#montableau thead th {
    background-color: lightgoldenrodyellow; 
    color: #000000;
    font-family: 'Cinzel', serif;
    padding: 15px;
    text-align: left;
}

/*  cellules  tableau */
#montableau tbody td {
    padding: 10px;
    border-bottom: 1px solid #ccc; 
}


#montableau tbody tr:hover {
    background-color: #f4f1ea; 
}
/* --- GALERIE De base  ( PHP ) --- */
.galerie_base {
    text-align: center;
    font-size: 28px;
    color: #1a2b4c;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
}
.galerie {
    display: flex;         
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;           
    padding: 40px 0;
}


.galerie img {
    width: 30%;         
    object-fit: cover;      
    filter: grayscale(100%); 
    transition: all 0.4s ease; 
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.galerie img:hover {
    filter: grayscale(0%);   
    transform: scale(1.05);  
    border-color: #d4af37;   
    cursor: pointer;
}

/* --- GALERIE  PERSO --- */
.section-intro-galerie {
    text-align: center;
    margin-bottom: 40px;
}
.section-categorie {
    padding: 40px 0;
    border-bottom: 2px solid #d4af37;
}
.galerie-perso {
    font-size: 28px;
    color: #1a2b4c;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    border-top: 3px solid #d4af37;
    padding: 20px 0;
    
}

.fond-gris {
    background: #e8e4da;
    border-top: 2px solid #d4af37;
}

.titre-ligne {
    text-align: center;
    font-size: 30px;
    color: #1a2b4c;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.conteneur-ligne {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.carte-photo {
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.carte-photo:hover {
    transform: scale(1.1);
}

.carte-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.carte-photo span {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 18px;
    display: block;
}

.carte-dieu {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carte-dieu:hover .face-avant {
    opacity: 0;
}

.carte-dieu:hover .face-arriere {
    opacity: 1;
}

.face-avant {
    width: 100%;
    height: 100%;
    border: 2px solid #d4af37;
    background: white;
    transition: opacity 0.3s;
}

.face-avant img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.nom-dieu {
    font-size: 20px;
    padding-top: 15px;
    font-weight: bold;
    color: #1a2b4c;
    text-align: center;
}

.face-arriere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a2b4c;
    border: 2px solid #d4af37;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.3s;
    opacity: 0;
}

.face-arriere h3 {
    color: #d4af37;
    border-bottom: 1px solid #d4af37;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

.face-arriere p {
    font-size: 14px;
    line-height: 20px;
    margin: 5px 0;
    text-align: center;
    color: white;
}

.icone-deco {
    font-size: 40px;
    margin-top: 20px;
}
/* --- Contact --- */



.section-contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.form-contact {
    background: white;
    padding: 30px;
    border: 1px solid #d4af37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    width: 300px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}



.form-demande p {
    font-style: italic;
    margin-bottom: 15px;
  
    margin-left: 0;
}


.conteneur-radio {
    display: flex;
    flex-direction: column;
    gap: 11px;
   
  
}

.radio {
    display: flex;
    align-items: center; 
    margin-left: 0;
}


.radio input[type="radio"] {
    margin: 0 15px 0 0;
    cursor: pointer;
    accent-color: #d4af37;
    width: 18px;
    height: 18px;
}


.radio label {
    cursor: pointer;
    color: #1a2b4c;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}

#en-tete {
    display: flex;
    gap: 8px;
   
}

.form-contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1a2b4c;
    text-transform: uppercase;
}

.form-contact input,
.form-contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.form-contact textarea {
    height: 100px;
    resize: none;

}

.bouton-envoyer {
    background: #1a2b4c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;      
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    font-family: 'Cinzel', serif;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.bouton-envoyer:hover {
    background: #d4af37;
    color: #1a2b4c;
}

/* --- Crédis --- */

.conteneur-credits {
    max-width: 900px;
    margin: 0 auto; 
    padding: 20px;
}

.texte-credits {
    text-align: center;
    color: #1a2b4c;
    border-bottom: 3px solid #d4af37;
    display: block;
    margin-bottom: 30px;
}


.table-credits {
    width: 100%;
    border-collapse: collapse; 
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table-credits th {
    background: #1a2b4c;
    color: #d4af37; 
    padding: 15px;
    font-family: 'Cinzel', serif;
    text-align: left;
}

.table-credits td {
    padding: 10px;
    border-bottom: 1px solid #eee;
 
}


.table-credits img {
    width: 80px;        
    height: 80px;       
    object-fit: cover;  /* image est bien mit dans le carré */
    border-radius: 5px; 
    border: 2px solid #ccc;
   
}


.table-credits tr:hover {
    background-color: #f4f1ea;
}


.table-credits a {
    color: #1a2b4c;       
    font-weight: bold;    
    text-decoration: none; 
    border-bottom: 1px solid transparent; 
    transition: all 0.3s ease; 
}


.table-credits a:hover {
    color: #d4af37;       
    border-bottom: 1px solid #d4af37; 
}

/* --- PARTENAIRES --- */



.intro-partenaires {
    text-align: center; 
}

.conteneur-partenaires {
    margin-top: 24px;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 30px;
}

.carte-partenaire {
    background: white;
    border: 1px solid #ddd;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 560px; 
    padding: 20px 20px 25px 20px;
    
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.carte-partenaire:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.carte-partenaire img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid #d4af37;
    margin-bottom: 15px;
}

.carte-partenaire h4 {
    margin: 10px 0 15px 0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #1a2b4c;
    text-transform: uppercase;
}

.carte-partenaire p {
    font-size: 16px;
    color: #666;
    margin: 10px 15px 20px 15px;
    font-style: italic;
    line-height: 1.5;
}


.btn-partenaire {
    background: #1a2b4c;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;      
    font-family: 'Cinzel', serif;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    width: auto; 
    border: 1px solid #1a2b4c;
}

.btn-partenaire:hover {
    background: #d4af37;
    color: #1a2b4c;
    border-color: #d4af37;
}


.boite-texte-banniere {
    margin: 30px auto;
    background: white;
}


.presentation-texte {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}


.section-livrables {
    margin-top: 60px;
    text-align: center;
}

.livrables-content {
    background: #e8e4da;
    padding: 30px;
    border: 2px solid #d4af37;
    max-width: 800px;
    margin: 20px auto;
}

.section-livrables ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.section-livrables li {
    margin-bottom: 15px;
}

.section-livrables a {
    color: #1a2b4c;
    font-weight: bold;
    text-decoration: none;
}

.section-livrables a:hover {
    color: #d4af37;
}