@import url('https://fonts.googleapis.com/css2?family=Allura&family=Damion&family=Great+Vibes&family=Playwrite+NZ+Guides&family=Sintony:wght@400;700&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

body{ 
    background-color: #F4EFEA;
}
/*///////////////////////////////////// HEADER ///////////////////////////////////////////////////////////////////////////////*/
.header { 
    height: 84px;
    background-repeat: no-repeat;
    background-position: 30px;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.3);
}

#logo {
    width: 100px;
    height: auto;
    border-radius: 50%;
}

#header-logo {
    display: flex;
    align-items: center;
    gap: 15px;           
}

#titre-site {
    font-family: "Allura";
    font-size: 32px;
    margin: 0;
    width: 400px;
}

#header-bar {
    background-color: #F4EFEA;
    display: flex;
    align-items: center;      
    gap: 25px;                 
    padding: 15px 25px;
}

#main-nav {
    display: flex;
}

#main-nav ul {
    list-style: none;
    display: flex; 
    gap: 20px;
    margin: 0;
    padding: 0 0 0 170px;
    font-family: "Allura", serif; 
}

#main-nav a {
    text-decoration: none;
    color: black;
    background-color: #D8CCF1;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.2);
    font-size: 25px; 
    padding: 10px 15px; 
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#main-nav li a:hover,
#main-nav li a.current {
    color: white;
    background-color: #5B3B9D;
}




/*//////////////////////////////////////////// PAGE ACCUEIL /////////////////////////////////////////////////////////////////////////////*/

#banniere_image {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#image_cote {
  width: 250px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/simon\ &\ daphne.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}



.milieu {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-evenly;
    align-items: center;
}

main {
    text-align: justify;
    width: 100%;
}

.txt_signature{ 
    font-family: "allura";
    font-size: 25px;
    margin-left: 870px;
}

.txt_intro:first-letter {
    font-family: "Allura", cursive; 
    font-size: 35px;                
    color: #5B3B9D;                 
    float: left;
    line-height: 1;
    margin-right: 10px;
}

.txt_intro {    
    background-color: #D8CCF1; 
    padding: 20px;
    border-left: 5px solid #5B3B9D; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#banniere_image2 {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere2.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#audio_milieu {
    width: 800px;
    height: auto;
    display: flex;
    justify-content: center; 
    align-items: center;    
    background-color: #D8CCF1; 
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 12px;
    flex-direction: column;
}
#audio_milieu audio {
    width: 100%;  
}

.txt_audio {
    font-family: "Allura", cursive; 
    font-size: 20px;                
    text-align: center;           
    color: #5a3ebf;               
    margin: 30px 0;                 
    letter-spacing: 1px;           
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}

.txt_audio {
    width: 80%;
    display: flex;
    font-size: 45px;
    justify-content: center;
}

.milieu2 { 
  display: flex; 
  flex-direction: row; 
  gap: 10px; 
  justify-content: space-evenly; 
  align-items: center; }

#image_cote2 {
  width: 250px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/Lady1.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}
#image_milieu {
  width: 800px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/mileu.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#image_cote3 {
  width: 250px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/Lady\ 2.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}


 /*///////////////////////////////////////////////////// PAGE DONNÉES ////////////////////////////////////////////*/

.txt_base_donnees {
    font-family: "Allura", cursive; 
    font-size: 36px;                
    text-align: center;
    justify-content: center;        
    color: #5a3ebf;               
    margin: 30px 0;                 
    letter-spacing: 1px;           
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}



#banniere_donnees {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#personnages{ 
  align-content: center;
}


 /*////////////////////////////////////////////// PAGE GALERIE /////////////////////////////////////////////////*/

 .txt_galerie {
    font-family: "Allura", cursive; 
    font-size: 36px;                
    text-align: center;
    justify-content: center;        
    color: #5a3ebf;               
    margin: 30px 0;                 
    letter-spacing: 1px;           
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}


#banniere_image_galerie {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

.galerie_utilisateurs {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.mesphotos {
    width: 200px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.mesphotos:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}



#galerie {
  padding: 20px;
}

#galerie .grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

#galerie .photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

#galerie .photo img:hover {
  transform: scale(1.05);
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.modal-content {
  background: #D8CCF1;
  width: 70%;
  max-width: 800px;
  display: flex;
  position: relative;
  border-radius: 10px;
  padding: 20px;
}


.close {
  position: absolute;
  top: 10px;
  right: 15px;

  width: 35px;
  height: 35px;

  font-size: 28px;
  cursor: pointer;

  background: #5B3B9D;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
}

.close:hover {
  background: #fff;
  transform: scale(1.1);
}


.modal-left img {
  width: 250px;
  height: auto;
  border-radius: 10px;
}


.modal-right {
  margin-left: 20px;
}

.modal-right h2 {
  font-family: "Allura", cursive;
  font-size: 40px;
  margin-bottom: 10px;
}

.modal-right p {
  font-size: 16px;
  margin-bottom: 10px;
}

#ajout-photo {
  margin: 30px;
  padding: 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  max-width: 400px;
}

#ajout-photo input,
#ajout-photo textarea,
#ajout-photo button {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
}
/*//////////////////////////// PAGE JEU /////////////////////////////////////////////////////////////////////////////////*/



body {
    font-family: 'Allura', sans-serif;
    text-align: center;
    background-color: #f9f5f2;
}

h1 {
    margin-top: 20px;
    color: #5B3B9D;
    font-family: 'Allura';
    font-size: 40px;
}

#memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 150px);
    grid-gap: 15px;
    justify-content: center;
    margin: 30px;
}

.card {
    width: 150px;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

/* DOS DE LA CARTE */
.card-front {
    background-color: #D8CCF1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5B3B9D;
    font-size: 36px;
    font-weight: bold;
    border: 2px solid black;
}

/* IMAGE DU PERSONNAGE */
.card-back {
    transform: rotateY(180deg);
    border: 2px solid #ccc;
}

.card-back img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

#score {
    font-size: 20px;
    color: #5B3B9D;
    margin-top: 20px;
    font-weight: bold;
}
/* Bouton Rejouer style Bridgerton */
#reset-btn {
    background-color: #f8e1e7;   /* Rose très pâle */
    color: #5B3B9D;              /* Bordeaux élégant */
    border: 2px solid #5B3B9D;   /* Bordure */
    border-radius: 12px;          /* Coins arrondis */
    padding: 10px 20px;           /* Taille du bouton */
    font-family: 'Allura', serif; /* Typographie classique */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Effet au survol */
#reset-btn:hover {
    background-color: #F4EFEA; /* Bord couleur */
    color: #5B3B9D;            /* Texte clair */
    transform: scale(1.05);    /* Petit effet d'agrandissement */
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

/*//////////////////////////// PAGE CONTACT /////////////////////////////////////////////////////////////////////////////////*/

#banniere_image_contact {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

.txt_contact {
  font-family: "Allura", cursive; 
  font-size: 36px;                
  text-align: center;
  justify-content: center;        
  color: #5a3ebf;               
  margin: 30px 0;                 
  letter-spacing: 1px;           
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}

#contact_logo {
  width: 150px;       
  height: 132px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/2.png'); 
  margin: auto;
  background-size: cover;     
  background-position: center;  
  border-radius: 6px;           
} 

.milieu {
  display: flex;
}

form {
  width: 850px;
  margin: 40px auto;
  padding: 25px;
  background-color: #F4EFEA;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.50);
  box-sizing: border-box;
}

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

.champ {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 15px;
}

label {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 6px;
  color: black;
  letter-spacing: 1px;
}

label span {
  color: red;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #5B3B9D;
  font-size: 14px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

textarea {
  height: 120px;
  resize: vertical;
}

.boutons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

input[type="submit"],
input[type="reset"] {
  background-color: #D8CCF1;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-size: 19px;
  cursor: pointer;
  font-family: "Allura", cursive;
  box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #5B3B9D;
  color: white;
}

#image_cote_contact1 {
  width: 250px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/simon\ &\ daphne.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#image_cote_contact2 {
  width: 250px;       
  height: 400px;     
  object-fit: cover;
  margin-bottom: 12px;
  background-image: url('../images/simon\ &\ daphne.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}

#audio_milieu_contact {
  width: 1340px;
  height: auto;
  display: flex;
  justify-content: center; 
  align-items: center;    
  background-color: #D8CCF1; 
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-bottom: 12px;
  flex-direction: column;
}

#audio_milieu audio {
  width: 100%;  
}

.txt_audio {
  font-family: "Allura", cursive; 
  font-size: 20px;                
  text-align: center;           
  color: #5a3ebf;               
  margin: 30px 0;                 
  letter-spacing: 1px;           
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}

.txt_audio {
  width: 80%;
  display: flex;
  font-size: 45px;
  justify-content: center;
}

/* ========================= */
/* Type de demande (radios) */
/* ========================= */

.type-demande {
  margin: 15px 0;
}

.type-demande strong {
  display: block;
  margin-bottom: 8px;
}

.type-demande label {
  text-transform: none;
  font-size: 15px;
  cursor: pointer;
  margin-left: 6px;
}

.type-demande input[type="radio"] {
  width: auto;
  margin-right: 6px;
  transform: scale(1.2);
  accent-color: #5B3B9D;
}

/* ========================= */
/* Message de confirmation */
/* ========================= */

.message-retour {
  width: 60%;
  margin: 20px auto;
  padding: 15px;
  background-color: #D8CCF1;
  color: #5a3ebf;
  border-radius: 12px;
  text-align: center;
  font-family: "Allura", cursive;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}



/* /////////////////////////////////////PAGE PARTENAIRES ////////////////////////////////////////////////////////*/

#banniere_image_partenaires {
  width: 100%; 
  height: 200px; 
  margin-bottom: 12px;
  background-image: url('../images/banniere.jpeg'); 
  background-size: cover;       
  background-position: center;  
  border-radius: 6px;           
}
 

:root{
  --pp-max: 1080px;
  --pp-pad: 24px;
  --pp-radius: 20px;

  --pp-bg: #F4EFEA;
  --pp-card: #ffffff;
  --pp-text: #5a2d82;
  --pp-muted: #7b6a91;
  --pp-border: rgba(90,45,130,0.25);

  --pp-accent: #5a2d82;
  --pp-accent-soft: #D8CCF1;
}


body{
  background: #F4EFEA;
  color: var(--pp-text);
  font-family: "Playfair Display", "Cormorant Garamond", serif;
}


.pp-container{
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 0 var(--pp-pad);
}

.pp-section{
  padding: 64px 0;
  border-top: 1px solid var(--pp-border);
}


.section-title{
  font-family: "Allura", cursive;
  font-size: 50px;
  color: var(--pp-accent);
  text-align: center;
  margin-bottom: 20px;
}

.pp-team .pp-h2{
  font-family: "Allura", cursive;
  font-size: 2.6rem;
  color: var(--pp-accent);
  margin-bottom: 28px;
}

.pp-h2{
  margin: 0 0 16px;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.pp-h3{
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.pp-lead{
  margin: 0;
  color: var(--pp-muted);
  font-style: italic;
}


.pp-grid{
  display: grid;
  gap: 24px;
}

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


.pp-card{
  border: 1px solid var(--pp-border);
  background: #ffffff;
  border-radius: var(--pp-radius);
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(90,45,130,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.pp-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(90,45,130,0.16);
}

.pp-card__media{
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--pp-border);
}

.pp-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.pp-card:hover .pp-card__media img{
  transform: scale(1.06);
}

.pp-card__body{
  padding: 18px 18px 20px;
}

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

.pp-card__title{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pp-text);
}

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

.pp-badge{
  font-size: 0.75rem;
  color: var(--pp-text);
  background: var(--pp-accent-soft);
  border: 1px solid var(--pp-accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.pp-link{
  color: var(--pp-text);
  text-decoration: none;
  border-bottom: 1px solid var(--pp-accent);
  font-weight: 500;
}

.pp-link:hover{
  color: var(--pp-accent);
}

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

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

.pp-list{
  margin: 12px 0 20px;
  padding-left: 20px;
  color: var(--pp-muted);
  line-height: 1.6;
}

.pp-cta{
  display:inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--pp-accent);
  background: #D8CCF1;
  color: var(--pp-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(90,45,130,0.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.pp-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(90,45,130,0.18);
}

.pp-showcase{
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: #F4EFEA;
  box-shadow: 0 14px 28px rgba(90,45,130,0.10);
}

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

#photo{
  height: 339px;
  object-fit: cover;
}


@media (max-width: 768px){
  .pp-grid--4{
    grid-template-columns: 1fr;
  }

  .pp-split{
    grid-template-columns: 1fr;
  }

  .pp-theme__header{
    flex-direction: column;
    align-items: flex-start;
  }
}

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


/*//////////////////// PAGE CRÉDITS /////////////////////////////////////////////////////////////*/

.credits-page {
    background-color: #F4EFEA;
    padding: 50px 20px;
    font-family: 'Playfair Display', serif;
    color: #5B3B9D;
    text-align: center;
}

.credits-page h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.credits-page .intro {
    font-family: 'Allura', cursive;
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.credit-card {
    background-color: #ffffff;
    border: 2px solid #D8CCF1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.credit-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.credit-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.credit-card p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.credit-card a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    color: #5B3B9D;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid #5B3B9D;
    border-radius: 6px;
    transition: all 0.3
}


/*////////////////////////////////////////// FOOTER //////////////////////////////////*/

.footer {
    background-color: #D8CCF1;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    color: #000;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.footer p:nth-of-type(3) {
    font-family: 'Allura', cursive;
    font-size: 1.4rem;
}

.footer nav ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer nav ul li {
    display: inline-block;
    margin: 0 10px;
}

.footer nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.footer p:hover,
.footer nav ul li a:hover {
    color: #5a2d82;
    background-color: #ffffff;
    border-radius: 4px;
}
