
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif; 

}body {
    background-image:url('../images/fno.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
    display: flex;
    padding-top: 120px; 
    flex-direction: column;
    min-height: 100vh; 

}

main {

    max-width: 1080px ; 
    margin: 50px auto ;
    padding: 40px ;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    border: 2px solid #e84393;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px)
}
@media (max-width: 600px) {
  main {
    padding: 25px;
  }
}


.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.92); 
    backdrop-filter: blur(8px); 
    padding: 1rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.1);
    
}

/* On cible de façon très précise pour gagner contre DataTables */
html body .header .logo {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 2.8rem !important;
    font-weight: 500 !important; /* Teste 500 au lieu de 700 pour voir s'il s'affine */
    color: #333 !important;
    text-decoration: none !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

html body .header .logo span {
    color: #e84393 !important;
    font-weight: 700 !important;
}

.header .navbar ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.header .navbar ul li a {
    text-decoration: none;
    color: #333;                 
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;  
    transition: color 0.3s ease, border-bottom 0.3s ease;
}


.header .navbar ul li a:hover {
    color: #e84393;
    border-bottom: 3px solid #e84393;
}


.header .navbar ul li a.active {
    color: #e84393;
    border-bottom: 3px solid #e84393;
}



h1 {
    font-family: 'Playfair Display', serif; 
    font-style: italic;
    color: #c2185b;
    font-size: 3rem;
    margin-bottom: 35px;
    line-height: 1.2;
    text-align: center;
}

p {
    font-size: 1.2rem;
    line-height: 2; 
    color: #2d3436;
    margin-bottom: 25px;
    text-align: justify; 
}

strong {
    color: #3d3b3c;
    font-weight: 700;
}
.text-center {
    text-align: center; /* C'est cette ligne qui centre le texte */
    width: 100%;        /* S'assure que le paragraphe occupe toute la largeur */
    display: block;
}

/*tableau*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
}

table thead {
    background-color: #ffd1dc;
    color: #c2185b;
}

table th, table td {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: left;
}

table tbody tr:hover {
    background-color: rgba(232, 67, 147, 0.15);
    transition: 0.3s;
}

 
.contenu-accueil {
    display: flex !important;
    flex-direction: row !important;
    align-items: center; 
    justify-content: space-between;
    gap: 50px;
}


.image-side {
    flex: 0.7 !important; 
    display: flex;
    justify-content: center;
}

.img-responsive {
    width: 100%;
    
    max-width: 300px !important; 
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


.texte {
    flex: 1.8 !important; 
    
}



   .mon-formulaire {
    width: 450px;           
    margin: 0 auto; 
    padding: 0;             
    background: none;       
    box-shadow: none;       
}



#en-tete {
    display: flex;
    gap: 20px; 
    margin-bottom: 20px;
}

#en-tete div {
    flex: 1; 
}


label {
    display: block; 
    font-size: 11px;
    font-weight: bold;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase; 
}



input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    box-sizing: border-box; 
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: none;
}


.btn-envoyer {
    width: 100%;
    background-color:#e84393;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}

.btn-envoyer:hover {
    background-color:#d41273;
    transform: translateY(-1px);
}
footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    text-align: center;
    border-top: 1px solid #ffd1dc;
}

footer p {
    margin: 5px 0;
    color: #e84393;
     font-size: 1rem;
    text-align: center;
     
}






.item-overlay {
    position: absolute;
    inset: 0;   

    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
  
}


.item-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.item-overlay p {
    margin: 0;
    max-width: 220px;
    line-height: 1.4;
    font-size: 0.95rem;
}




#btnScrollTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #e84393;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

#btnScrollTop:hover {
    transform: translateY(-5px);
    background-color: #d63384;
}


html {
    scroll-behavior: smooth;
}


@media (max-width: 950px) {
    .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .galerie-grid { grid-template-columns: 1fr; }
}

    /* PAGE PARRENAIRES*/ 

.btn-interlude {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: rgb(161, 31, 31);
    color:  #e84393; 
    text-decoration: none;
    border-radius: 50px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-interlude:hover {
    transform: scale(1.05);
    background-color:  #e84393; 
    color: white;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; 
}

.partner-name-visible {
    font-family: "Limelight", sans-serif;
    font-size: 20px;
    color: rgba(235, 28, 131, 0.6);;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.partner-title{
    font-family: "Limelight", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partner-text{
    color:  #f7f0f3;;
}


.project-content {
    display: flex;            
    flex-direction: row;     
    justify-content: space-between; 
    align-items: center;     
    gap: 40px;                
    width: 100%;              
}

.project-links {
    flex: 1;                 
    display: flex;
    flex-direction: column;   
    gap: 15px;                
    min-width: 250px;        
}

.project-btn {
    background-color: #ffd1dc; 
    color: #e84393;          
    padding: 12px 25px;
    border-radius: 50px;   
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.3s ease;
    display: block;           
}

.partner-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    width: 100%;           
    max-width: 1000px;     
    margin: 20px auto;     
    gap: 15px;             
    flex-wrap: nowrap;     
}

.partner-card {
    position: relative;
    width: 220px;  
    height: 280px; 
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 1; 
}
.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:  rgba(255, 190, 222, 0.6); 
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-card:hover .partner-image {
    transform: scale(1.1);
}

.btn-interlude {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: white;
    color: #0d0a3b;
    text-decoration: none;
    border-radius: 50px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.interlude{
    font-style: italic;
    color: #c2185b;
    text-align: center;
}

.project-section {
    width: 100%; 
    padding: 20px;
    box-sizing: border-box;
}

 */
.project-description {
     
    flex: 2; 
    min-width: 300px; 
}

.project-description h3 {
    font-family: "Limelight", sans-serif;
    font-size: 32px;
    color: rgb(17, 17, 17);
    margin-bottom: 20px;
    text-transform: uppercase;

    display: inline-block;    
    background-color: #ffd1dc; 
    color: #e84393;           
    padding: 10px 20px;       
    border-radius: 15px;  
    margin-bottom: 20px;
}

.project-description p {
    font-family: "Outfit", sans-serif;
    color: rgb(14, 13, 13);
    line-height: 1.6;
    font-size: 16px;
    flex: 2;
    
}

.project-links {
    display: flex;
    flex-direction: column;

    min-width: 250px;
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 15px
}

.project-btn:hover {
    background-color: #bd7097;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.project-btn::before {
    content: "📄 ";
    margin-right: 8px;
}

.project-btn:nth-child(2)::before {
    content: "📋 ";
}

.project-btn:nth-child(3)::before {
    content: "📊 ";
}

/* --- contact/Préciser votre demande--- */

.container-radio {
    display: flex;             
    flex-direction: row;       
    justify-content: flex-start; 
    gap: 15px;                 
    margin: 20px 0;
}

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

.item-radio label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff; 
    border: 2px solid #ddd;    
    border-radius: 25px;       
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease; 
}

.item-radio input[type="radio"]:checked + label {
    background-color: #e84393; 
    border-color: #e84393;
    color: white;              
}

.item-radio label:hover {
    border-color: #e84393;
    color: #e84393;
}

    /*Galerie*/
.galerie-grid {
    column-count: 4;
    column-gap: 20px;
    padding: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    filter: blur(10px); 
    transition: filter 0.4s ease;
}

.gallery-item:hover img {
    filter: blur(0px); 
}

.upload-section {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid #ffd1dc;
}

#image { display: none !important; } 

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #e84393;
    color: #e84393;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}

.btn-submit {
    background-color: #e84393;
    color: white;
    border: none;
    padding: 11px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
}

   /*page crédits*/
.container-credits {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.section-credits {
    margin-bottom: 50px;
}

.titre-page-credit {
    font-size: 28px;
    font-weight: 700;
    color: #444;
    margin-bottom: 20px;
    border-left: 5px solid #ff7aa2;
    padding-left: 12px;
}

.credit-row {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #f7f8fc;
    transition: 0.2s ease;
}

.credit-row:hover {
    background: #eef1f8;
    transform: translateX(3px);
}


.credit-row a {
    color: #6a5acd;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all; 
}

.credit-row a:hover {
    text-decoration: underline;
}


.retour-accueil {
    text-align: center;
    margin-top: 40px;
}

.retour-accueil a {
    display: inline-block;
    padding: 12px 25px;
    background: #ff7aa2;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.retour-accueil a:hover {
    background: #ff5c8a;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .container-credits {
        margin: 20px;
        padding: 20px;
    }

    .titre-page-credit {
        font-size: 22px;
    }
}
