@charset "utf-8";
/* CSS Document */
/* =========================================
   Import des Typographies Google Fonts
   - Pinyon Script : Pour la signature/titre (Très fine et élégante)
   - Playfair Display : Pour les titres (élégance)
   - Lato : Pour les textes (lisibilité et modernité)
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* =========================================
   STYLES GÉNÉRAUX
========================================= */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #fafafa;
    letter-spacing: 0.5px;
}
h1, h2, h3, h4, h5, .section-title {
    font-family: 'Playfair Display', serif;
}
a {
    text-decoration: none;
}

/* =========================================
   NAVIGATION ET TITRE ARTISTE
========================================= */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eaeaea;
    padding: 1.5rem 0;
}

/* Le titre William Marcheval en cursive ultra-fine avec ombre subtile */
.navbar-brand {
    font-family: 'Pinyon Script', cursive;
    font-size: 3.4rem; /* Légèrement agrandi pour compenser l'extrême finesse du trait */
    color: #111 !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15); 
    transition: text-shadow 0.4s ease, transform 0.4s ease;
    line-height: 1;
}
.navbar-brand:hover {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555 !important;
    margin: 0 10px;
    font-family: 'Lato', sans-serif;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #000 !important;
}

/* =========================================
   EN-TÊTES DE PAGES (Commun à toutes les pages)
========================================= */
.page-header {
    padding-top: 150px;
    padding-bottom: 60px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}
.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #111;
}
.page-header p {
    font-family: 'Lato', sans-serif;
}

/* =========================================
   PAGE : ACCUEIL (Diaporama principal)
========================================= */
/* Le conteneur principal verrouille la hauteur */
.home-carousel {
    height: 25vh;
    min-height: 200px; /* Sécurité pour éviter un bandeau trop fin sur téléphone */
    background-color: #fafafa;
    overflow: hidden; /* Coupe tout débordement éventuel */
}

/* Les sous-conteneurs s'adaptent strictement au conteneur principal */
.home-carousel .carousel-inner,
.home-carousel .carousel-item {
    height: 100%;
    width: 100%;
}

/* L'image est forcée de se contenir dans la boîte 100%x100% */
.home-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain; /* Ajuste l'image pour qu'elle rentre en entier sans être coupée ni déformée */
    margin: 0 auto;
    display: block;
}

/* =========================================
   PAGE : BIOGRAPHIE
========================================= */
.artist-portrait {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.bio-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.bio-subtitle {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}
.exhibition-list {
    list-style: none;
    padding-left: 0;
}
.exhibition-list li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: baseline;
}
.exhibition-year {
    font-weight: 700;
    margin-right: 15px;
    min-width: 60px;
}

/* =========================================
   PAGE : CONCEPT (La Chronique)
========================================= */
.architecture-box {
    background-color: #fff;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}
.architecture-list {
    list-style: none;
    padding-left: 0;
}
.architecture-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    font-weight: 300;
}
.architecture-list strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #111;
    font-weight: 600;
    display: inline-block;
    width: 150px;
}
.cycle-section {
    padding: 5rem 0;
}
.cycle-section:nth-child(even) {
    background-color: #fff;
}
.cycle-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.cycle-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: #111;
}
.cycle-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
}
.tomes-section {
    background-color: #111;
    color: #fff;
    padding: 5rem 0;
}
.tomes-title {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}
.tome-card {
    border-left: 3px solid #d4af37;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.tome-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.tome-card p {
    font-size: 1rem;
    font-weight: 300;
    color: #ccc;
    line-height: 1.6;
}

/* =========================================
   PAGE : PORTFOLIO
========================================= */
.gallery-grid {
    margin-bottom: 5rem;
    max-width: 1400px; 
}
@media (min-width: 1200px) {
    .col-xl-dense { flex: 0 0 auto; width: 16.666667%; }
}
@media (min-width: 1600px) {
    .col-xl-dense { width: 12.5%; }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #eee;
    aspect-ratio: 1 / 1; 
    border: 1px solid #eaeaea;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); 
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.gallery-item:hover {
    transform: scale(1.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
    border: none;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 0.5rem;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1; 
}
.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-family: 'Playfair Display', serif;
}
.gallery-overlay p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d4af37; 
    margin-bottom: 0;
}
.modal-content {
    border: none;
    border-radius: 0;
}
.modal-image-container {
    background-color: #f9f9f9;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}
.modal-image-container img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25), 0 10px 15px rgba(0,0,0,0.1);
}
.modal-info-container {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.artwork-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #111;
}
.artwork-meta {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    border-top: 1px solid #eaeaea;
    padding-top: 1.5rem;
}
.artwork-meta ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.artwork-meta li {
    margin-bottom: 0.4rem;
}
.btn-acquire {
    border: 1px solid #111;
    background: transparent;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 12px 25px;
    border-radius: 0;
    transition: all 0.3s ease;
    width: fit-content;
}
.btn-acquire:hover {
    background: #111;
    color: #fff;
}
.archives-section {
    background-color: #111;
    color: #fff;
    padding: 6rem 0;
}
.archives-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* =========================================
   PAGE : CONTACT
========================================= */
.contact-section {
    margin-bottom: 6rem;
}
.contact-info-box {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid #eaeaea;
    height: 100%;
}
.contact-info-list {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}
.contact-info-list li {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: center;
}
.contact-info-list strong {
    color: #111;
    margin-right: 10px;
    min-width: 100px;
}
.form-control, .form-select {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 300;
    background-color: #fff;
    transition: border-color 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: #111;
    box-shadow: none;
}
.form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.btn-submit {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    padding: 15px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-submit:hover {
    background: transparent;
    color: #111;
}

/* =========================================
   PIED DE PAGE (Footer)
========================================= */
footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0;
    font-size: 0.85rem;
}