
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-dark: #0a1628;
    --primary-blue: #1a2f4a;
    --accent-blue: #2d5a7b;
    --bright-blue: #4db8ff;
    --teal: #5dd9c1;
    --text-light: #e8f1f5;
    --text-gray: #b0c4d0;
}

main {
    flex: 1;
    width: 100%;
    padding-top: 100px; 
    width: 1080px;
    margin:auto;
}


main.page-donnees,
main.page-galerie,
main.page-contact,
main.page-partenaires {
    padding-top: 100px;
    width: 1080px;
    margin:auto;
}

/* header*/
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--primary-dark);
    overflow-x: hidden;
    
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 1080px;
    margin:auto;
}


header {
    background: rgba(10, 22, 40, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 20px;
    height: 90px;
}


.container-header {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.logo h1 {
    color: var(--teal);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

header nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    color: var(--teal);
}

nav a#active {
    color: var(--teal);
}

#logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block; 
}

#logo-link h1 {
    transition: color 0.3s ease;
    pointer-events: none; 
}

#logo-link:hover h1 {
    color: var(--bright-blue);
}

/* index*/
.section-principale {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-sombre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 47, 74, 0.5) 100%);
    z-index: 1;
}

.contenu-accueil {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

.sous-titres-accueil {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--teal);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.titre {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-light);
    letter-spacing: 4px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
}



.bouton-explorer {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bouton-explorer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--teal);
    transition: left 0.4s ease;
    z-index: -1;
}

.bouton-explorer:hover::before {
    left: 0;
}

.bouton-explorer:hover {
    color: var(--primary-dark);
}



.presentation {
    padding: 10rem 0;
    background: var(--primary-dark);
}

.presentation .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.a-propos {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--teal);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.titre-a-propos {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
}

.presentation-paragraphe {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 300;
    max-width: 520px;
}

.presentation-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}


.presentation-image img {
    width: 100%;
    max-width: 420px;   
    max-height: 320px;  
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    object-position: center top;
}

.explorer {
    padding: 10rem 0;
    background: var(--primary-blue);
    width: 100%; /* Prend toute la largeur */
}

.explorer .container {
    max-width: 1080px; /* Limite le contenu */
    margin: 0 auto; /* Centre le contenu */
    padding: 0 2rem; /* Ajoute un peu de padding sur les côtés */
}

.titre-explorer {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--teal);
    letter-spacing: 2px;
    font-weight: 600;
}

.explorer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.explorer-card {
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.explorer-card:hover {
    transform: translateY(-10px);
}

.explorer-card-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.explorer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.explorer-card-image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}


.explorer-card:hover .explorer-card-image video {
    opacity: 1;
}



.explorer-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.9) 100%);
}

.explorer-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.explorer-card-content h3 {
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 900;
}




.decouvrir {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;

}


.decouvrir-contenu {
    position: relative;
    z-index: 2;
    text-align: center;
}

.decouvrir-contenu h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.decouvrir-contenu p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

.bouton-decouvrir {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--teal);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.bouton-decouvrir:hover {
    background: var(--bright-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(93, 217, 193, 0.4);
}

/* footer*/
footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(77, 184, 255, 0.1);
    padding: 3rem 0;
}

.container-footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollAnimation {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* données*/
.stats-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2f4a 100%);
}

.section-titre {
    text-align:center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--text-light);
    letter-spacing: 2px;
    font-weight: 600;

}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: center;
    margin-top: 5rem;
}



.stat-item {
    padding: 2rem;
}

.stat-numero {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-texte {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}



.container-table {
    margin: 60px auto;
    max-width: 95%;
    overflow-x: auto;
}

/*tableau*/
#montableau {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(
        180deg,
        var(--primary-blue),
        var(--primary-dark)
    );
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

#montableau thead th {
    background: linear-gradient(
        180deg,
        var(--primary-dark),
        #041c2c
    );
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 18px 22px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 5;
}

#montableau td {
    padding: 16px 22px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.25s ease, transform 0.2s ease;
}

#montableau tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

#montableau tbody tr:hover {
    background: rgba(0, 180, 255, 0.15);
    transform: scale(1.005);
}

#montableau td:first-child {
    font-weight: 700;
    color: var(--bright-blue);
}

#montableau td:last-child {
    font-weight: 600;
}


.dataTables_wrapper {
    color: var(--text-light);
    margin-top: 20px;
}

.dataTables_filter input,
.dataTables_length select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--text-light);
    padding: 6px 10px;
}


.dataTables_paginate .paginate_button {
    color: var(--text-light) !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 6px;
    margin: 0 3px;
}

.dataTables_paginate .paginate_button.current {
    background: var(--bright-blue) !important;
    color: #000 !important;
}

.dataTables_wrapper,
.dataTables_wrapper label,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    color: var(--text-light) !important;
}

.dataTables_filter input {
    background: var(--primary-dark) !important;
    color: var(--text-light) !important;
}

.dataTables_empty {
    background: var(--primary-dark) !important;
    color: var(--bright-blue) !important;
    font-weight: 600;
    text-align: center;
}

.dataTables_filter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.dataTables_filter label {
    color: var(--text-light) !important;
}

.dataTables_filter input {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid var(--bright-blue) !important;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 220px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dataTables_filter input:focus {
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 3px rgba(93, 217, 193, 0.35);
}

/* contact*/
#montableau tbody tr {
    background-color: transparent;
}

#montableau tbody tr td {
    color: var(--text-light) !important;
}

#montableau tbody tr.selected,
#montableau tbody tr.selected td {
    background: rgba(77, 184, 255, 0.25) !important;
    color: #fff !important;
}

#en-tete {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

#en-tete .champ {
    width: 180px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start;
}

.formulaire {
    flex: 1;
    background: rgba(255, 255, 255, 0.05); /* Léger fond transparent */
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px); /* Effet de verre moderne */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

label {
    margin-bottom: 8px;
    color: var(--teal, #20c997); /* Utilise ta variable ou une couleur par défaut */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input:not([type="radio"]), 
select, 
textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--teal, #20c997);
    box-shadow: 0 0 10px rgba(32, 201, 151, 0.2);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.radio-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.radio-item input {
    margin-right: 10px;
    cursor: pointer;
}

.radio-item span {
    color: white;
    font-size: 0.9rem;
    text-transform: none; 
}

.envoyer {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #20c997, #008080);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.envoyer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 201, 151, 0.4);
}

.envoyer:active {
    transform: translateY(0);
}

.asterisque {
    color: red;
}

footer a{
    color: var(--teal);
}

footer a:hover{
    color: var(--text-light)
}

.contact-wrapper {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    gap: 40px;                 
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
}

.bloc-images {
    margin-top: 0;
    flex-shrink: 0; 
}

.bloc-images img {
    width: 450px;  
    height: 550px; 
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease;
}

.bloc-images img:hover {
    transform: scale(1.05);
}

.formulaire {
    flex: 1;
    max-width: 300px; 
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.message_erreur {
    background: var(--text-gray);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 25px black;
    border: 2px;
    margin: 20px;
    font-size: 14px;
    color: rgb(27, 88, 112);
    font-weight: bold;
    padding: 5px;

}

#titre-contact {
    font-family: 'Playfaire Display', serif;
    font-size: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
    text-align: center;
}

#titre-galerie {
    font-family: 'Playfaire Display', serif;
    font-size: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
    text-align: center;
}

#titre-tableau {
    font-family: 'Playfaire Display', serif;
    font-size: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
    text-align: center;
}

#titre-credits {
    font-family: 'Playfaire Display', serif;
    font-size: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
    text-align: center;
}

.titre_pages {
    font-family: 'Playfaire Display', serif;
    font-size: 2rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

/* crédits*/
.credit_photo {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    background: rgba(26, 47, 74, 0.6);
    padding: 10px 14px;
    margin: 10px auto;
    border-radius: 10px;
    max-width: 900px;
    line-height: 1.5;
    transition: background 0.3s ease, transform 0.2s ease;
}

.credit_photo:hover {
    background: rgba(45, 90, 123, 0.7);
    transform: translateY(-2px);
}

.credit_photo a {
    color: var(--bright-blue);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.credit_photo a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.credit_photo a:hover {
    color: var(--teal);
}

.credit_photo a:hover::after {
    width: 100%;
}



#titre-partenaires {
    font-family: 'Playfaire Display', serif;
    font-size: 3rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out;
    text-align: center;
}

/* galerie*/
.galerie-section {
    padding: 0 0 100px 0;
    width: 100%;
}

.galerie-container {
    width: 900px;
    margin: 0 auto;
    background-color: rgba(26, 47, 74, 0.6);
    padding: 20px;
    border-radius: 12px;
    
    
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-auto-rows: 200px; 
    gap: 15px;
    
    
    grid-auto-flow: dense; 
    
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    
    width: 100%;
    height: 100%; 
    
    transition: transform 0.3s ease;
}

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

.galerie-item:hover img {
    transform: scale(1.1);
}


.galerie-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.galerie-item:hover .galerie-photo {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.galerie-item.format-vertical {
    grid-row: span 2; 
}


.galerie-item.format-horizontal {
    grid-column: span 2;
}

.mesphotos{
    width: 200px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2000;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.lightbox-image {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    object-fit: contain;
    border: 2px solid rgba(255,255,255,0.1);
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3100;
}

.galerie-form {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background: var(--primary-blue);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    text-align: center;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

.galerie-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--bright-blue);
    font-size: 1.1rem;
}

.galerie-form input[type="file"] {
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--teal);
    background: var(--primary-dark);
    color: var(--text-light);
    cursor: pointer;
}

.galerie-form input[type="file"]::file-selector-button {
    background: var(--bright-blue);
    color: var(--primary-dark);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.galerie-form input[type="file"]::file-selector-button:hover {
    background: var(--teal);
    color: var(--primary-dark);
}

.galerie-form input[type="submit"] {
    background: var(--bright-blue);
    color: var(--primary-dark);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galerie-form input[type="submit"]:hover {
    background: var(--teal);
    color: var(--primary-dark);
    transform: translateY(-2px);
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* partenaires*/
.project-section {
    width: 1080px;
    margin: 60px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.project-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.project-description {
    flex: 1;
}

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

.project-description p {
    font-family: "Outfit", sans-serif;
    color: white;
    line-height: 1.6;
    font-size: 16px;
}

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

.project-btn {
    display: block;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #0d0a3b;
    text-decoration: none;
    border-radius: 50px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn:hover {
    background-color: #80c4e7;
    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: "📊 ";
}

.btn-interlude {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: white;
    color: #0d0a3b; 
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Playfair Display', 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: #80c4e7; 
    color: white;
}


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

.partner-name-visible {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.partner-title{
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partner-text{
    color: white;
}

.partner-container {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;    
    gap: 30px;              
    width: 1080px;
    margin: 40px auto;      
    padding: 20px;
    z-index: 13;
    flex-wrap: nowrap !important; 
    overflow: visible; 
}

.partner-card {
    position: relative;
    width: 260px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0; 
}
.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(13, 10, 59, 0.85); 
    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{
    color: var(--bright-blue);
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.amorce {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    text-align: center;
}

.project-description h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gray)
}