/* ---------------------------------------------------------------------*/
/*                  Style de la section Photographe                         */
/* ---------------------------------------------------------------------*/

*, *::before, *::after {
    box-sizing: border-box;
}

header,
.imageheader,
nav.nav-photo {
    max-width: none;
}

/* =====================================================
   Navigation
===================================================== */

nav.nav-photo a.nav {
    width: auto;
    padding: 0 15px;
}

.nav-photo{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:42px;
    padding:20px 0;
    z-index: 1000;

}

.nav-photo a{

    position:relative;

    text-decoration:none;

    color:#30352f;

    font-family:'Lato',sans-serif;

    font-size:.95rem;

    font-weight:500;

    letter-spacing:.12em;

    text-transform:uppercase;

    transition:all .25s ease;

}

.nav-photo a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:2px;

    background:#b77a44;

    transform:translateX(-50%);

    transition:.25s;

}

.nav-photo a:hover{

    color:#b77a44;

}

.nav-photo a:hover::after{

    width:42px;

}

.nav-photo a.active{

    color:#b77a44;

}

.nav-photo a.active::after{

    width:42px;

}




/* --------------------- Filtres de la galerie --------------------- */

.galerie-filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
}

.filtre-btn {
    background-color: #d6d1be;
    border: 1px solid black;
    border-radius: 30px;
    padding: 8px 20px;
    font-family: Lato, Helvetica, sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtre-btn:hover {
    background-color: #e9995f;
    color: white;
}

.filtre-btn.actif {
    background-color: #e9995f;
    color: white;
    font-weight: 600;
}


/* --------------------------- Protection photo --------------------------- */


#message-protection{
    position:fixed;
    background:rgba(30,30,30,.92);
    color:#fff;
    padding:8px 14px;
    border-radius:6px;
    font-size:13px;
    opacity:0;
    transition:opacity .2s ease;
    pointer-events:none;
    z-index:99999;
    white-space:nowrap;
    box-shadow:0 3px 12px rgba(0,0,0,.25);
}

#message-protection.visible{
    opacity:1;
}

.galerie-item img,#lightbox-img{
user-select:none;-webkit-user-select:none;
-webkit-user-drag:none;
}





/* --------------------------- Grille photo --------------------------- */

.galerie-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 40px auto;
}

.galerie-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 5px;
    cursor: zoom-in;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.3);
}

/* Filigrane automatique sur chaque vignette de la galerie */
.galerie-item::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24%;
    max-width: 90px;
    aspect-ratio: 1563 / 474;
    background-image: url("images/filigrane.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .75;
    pointer-events: none;
    z-index: 2;
}

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

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

.galerie-legende {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.galerie-item:hover .galerie-legende {
    opacity: 1;
}



/* --------------------------- Visionneuse plein écran --------------------------- */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.ouverte {
    display: flex;
}

.lightbox-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 90%;
    max-height: 78vh;
    overflow: hidden;
    border-radius: 5px;
}

.lightbox img {
    display: block;
    max-width: 90%;
    max-height: 78vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* Filigrane automatique sur l'image agrandie */
.lightbox-filigrane {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 26%;
    max-width: 240px;
    aspect-ratio: 1563 / 474;
    background-image: url("images/filigrane.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .75;
    pointer-events: none;
}

.lightbox-legende {
    color: #fff;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 1.3em;
    text-align: center;
    margin-top: 15px;
    max-width: 80%;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lightbox-fermer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.2em;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prec, .lightbox-suiv {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5em;
    cursor: pointer;
    padding: 10px 20px;
    user-select: none;
}

.lightbox-prec { left: 10px; }
.lightbox-suiv { right: 10px; }

.lightbox-prec:hover, .lightbox-suiv:hover, .lightbox-fermer:hover {
    color: #e9995f;
}





/* ---------------------------------------------------------------------*/
/*                Refonte accueil / présentation photo                  */
/* ---------------------------------------------------------------------*/

:root{
    --photo-bg:#f7f5ef;
    --photo-text:#2d312d;
    --photo-muted:#5f665f;
    --photo-accent:#c67b45;
    --photo-accent-dark:#a66435;
    --photo-card:#ffffff;
    --photo-shadow:0 12px 30px rgba(0,0,0,.10);
    --fineart-bg:#f7f5ef;
    --fineart-card:#ffffff;
    --fineart-text:#2d312d;
    --fineart-muted:#6b716b;
    --fineart-accent:#c67b45;
    --fineart-accent-dark:#a86435;
    --fineart-shadow:0 12px 30px rgba(0,0,0,.10);
}

body{
    background:var(--photo-bg);
    color:var(--photo-text);
    font-family:'Lato',sans-serif;
    color:#323232;
    font-weight:400;
    line-height:1.8;
}

header
{
    width:100%;
}

.imageheader
{
    width:100%;
    object-fit:cover;
}


h1{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    letter-spacing:.04em;
    color: var(--photo-text);
}


h2{
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 500;
    color: #2d312d;
    text-align: center;
    margin-bottom: 18px;
    text-shadow: none;
    font-size: 2.3rem;
    margin-top: 5px;
    border:none;
}

h2::after{
    content:"";
    width:70px;
    display:block;
    margin:18px auto 0;
}

h3{
    font-family:'Cormorant Garamond',serif;
    font-size:1.7rem;
    font-weight:500;
    color:#444;
}

p{
    margin-bottom:20px;
    line-height:1.75;
    color:black;
}

section{
    margin-top:0px;
    margin-bottom: 0px;
}

.flex{
    display:flex; 
}


.cartes-fineart p,
.format p{

    max-width:none;

}

/* --------------------------- Hero d'accueil --------------------------- */

.hero-photo{
    position:relative;
    width:100%;
    min-height:72vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px;
    box-sizing: border-box;
    margin:0 auto 70px auto;
    color:white;
    overflow:hidden;
    border-radius: 0 !important;
    background:
        linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.42)),
        url("images/20251008-cevennes-1.jpg") center/cover no-repeat;
}

.hero-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.45));
}

.hero-photo h1,
.hero-photo p,
.hero-photo a{
    position:relative;
    z-index:1;
}

.hero-photo h1{
    font-size:clamp(2.4rem,5vw,4.5rem);
    color:#efd9bd;
    line-height:1.05;
    margin:0 0 20px 0;
    letter-spacing:.04em;
    text-transform:uppercase;
    text-shadow:0 2px 14px rgba(0,0,0,.35);
}

.hero-photo p{
    font-size:clamp(1.05rem,2vw,1.35rem);
    line-height:1.7;
    margin:0 auto 34px auto;
    color:rgba(255,255,255,.94);
}

/* --------------------------- Boutons --------------------------- */

.btn-newsletter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:999px;
    background:var(--photo-accent);
    color:white;
    text-decoration:none;
    font-weight:600;
    letter-spacing:.02em;
    box-shadow:0 8px 20px rgba(198,123,69,.28);
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-newsletter:hover{
    background:var(--photo-accent-dark);
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(198,123,69,.35);
}

/* --------------------------- Présentation --------------------------- */

.presentation{
    max-width:1200px;
    margin:0 auto 60px auto;
    padding:0 24px;
    gap:56px;
    align-items:center;
}

.presentation h1{
    font-size:clamp(2rem,4vw,3rem);
    line-height:1.1;
    margin:0 0 24px 0;
}

.presentation p{
    font-size:1.06rem;
    line-height:1.95;
    text-align:justify;
    margin:20px;
    color:var(--photo-text);
}

.portrait{
    position:relative;
    background:var(--photo-card);
    border-radius:28px;
    padding:16px;
    box-shadow:var(--photo-shadow);
}

.portrait::before{
    content:"";
    position:absolute;
    inset:14px;
    border:none;
    border-radius:22px;
    pointer-events:none;
}

.portrait img{
    width:100%;
    display:block;
    border-radius:20px;
    object-fit:cover;
}


/* --------------------------- Footer --------------------------- */

.footer-photo{
    position:relative;
    padding:32px 20px 32px;
    text-align:center;
}

.footer-photo::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:60px;
    height:2px;
    opacity:.55;
}

.deuxcolreseauxsociaux{
    display:flex;
    justify-content:center;
    gap:22px;
    margin:0 0 32px 0;
}

.lien-social{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:55px;
    height:55px;
    border-radius:50%;
    border:1px solid rgba(45,49,45,.18);
    color:var(--photo-muted);
    transition:background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.lien-social:hover{
    background:var(--photo-accent);
    border-color:var(--photo-accent);
    color:#fff;
    transform:translateY(-3px);
}

.mediasociaux{
    width:40px;
    height:40px;
}

.footer-photo-texte p{
    margin:0 0 8px 0;
    font-family:"Cormorant Garamond", serif;
    font-style:italic;
    font-size:15px;
    letter-spacing:.2px;
    color:var(--photo-muted);
}

.footer-credit,
.footer-sites{
    font-size:13px;
    opacity:.85;
}

.footer-sites{
    margin-bottom:0;
}

.footer-credit span{
    font-style:normal;
    color:var(--photo-accent-dark);
}

.footer-photo-texte a{
    color:var(--photo-accent-dark);
    text-decoration:none;
    border-bottom:1px solid transparent;
    transition:border-color .2s ease;
}

.footer-photo-texte a:hover{
    border-bottom-color:currentColor;
}




/* ===================================================================== */
/*                     PAGE TIRAGES                                    */
/* ===================================================================== */


.page-tirages{
    background:var(--fineart-bg);
    color:var(--fineart-text);
}

/* ===================================================================== */
/* HERO                                                                  */
/* ===================================================================== */

.hero-tirages{
    width:100%;
    box-sizing:border-box;
    min-height:72vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 25px;
    color:white;
    background:
        linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
        url("images/202510-cevennes-bleues.jpg") center center / cover no-repeat;
}

.surtitre{

    text-transform:uppercase;
    letter-spacing:5px;
    font-size:.9rem;
    opacity:.85;

}

.hero-tirages h1{

    font-size:clamp(2.8rem,6vw,4.8rem);
    margin:15px 0 25px;
    color:#efd9bd;
    font-weight:300;

}

.hero-texte{

    font-size:1.3rem;
    line-height:1.9;

    color:rgba(255,255,255,.95);

}

/* ===================================================================== */
/* INTRO                                                                 */
/* ===================================================================== */


.contenu-large{
    max-width:980px;
    margin:auto;
    padding:0 24px;
    box-sizing:border-box;
}

@media (max-width:560px){
    .contenu-large{
        padding:0 18px;
    }
}


.tirages-intro h2{

    font-size:2rem;
    margin-bottom:40px;
    margin-top: 40px;
    text-align:center;

}

.tirages-intro p{

    font-size:1.08rem;
    line-height:2;
    text-align:justify;
    margin-bottom:28px;

}



/* ===================================================================== */
/* FINE ART                                                              */
/* ===================================================================== */

.fineart{

    padding:55px 25px;
    background:white;

}

.cartes-fineart{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    justify-content:center;
    gap:35px;
}

.cartes-fineart article{

    background:var(--fineart-card);
    border-radius:18px;
    padding:40px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.35s;
    align-items: start;
    height: 100%;

}

.cartes-fineart article:hover{

    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.cartes-fineart h3{

    margin-bottom:20px;
    color:var(--fineart-accent);

}

.cartes-fineart p{

    line-height:1.9;
    color:var(--fineart-muted);

}



/* ===================================================================== */
/* PETITES ANIMATIONS                                                    */
/* ===================================================================== */

.cartes-fineart article,
.format,
.faq-item,
.photo-gauche img{

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.photo-gauche img:hover{

    transform:scale(1.02);

}

.faq-item:hover{

    box-shadow:0 10px 22px rgba(0,0,0,.08);

}

/* ===================================================================== */
/* CONTACT                                                               */
/* ===================================================================== */

.contact{
    max-width:600px;
    margin:60px auto 100px auto;
    padding:0 24px;
    text-align:center;
}

.contact-intro h1{
    margin-bottom:20px;
}

.contact-intro p{
    max-width:520px;
    margin:0 auto 50px auto;
    color:var(--photo-muted);
    line-height:1.8;
}

.form-contact{
    display:flex;
    flex-direction:column;
    gap:26px;
    text-align:left;
    background:var(--photo-card);
    padding:45px 40px;
    border-radius:18px;
    box-shadow:var(--photo-shadow);
}

.form-contact .champ{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-contact label{
    font-family:'Lato',sans-serif;
    font-size:.78rem;
    font-weight:600;
    letter-spacing:.09em;
    text-transform:uppercase;
    color:var(--photo-muted);
}

.form-contact input[type="text"],
.form-contact input[type="email"],
.form-contact select,
.form-contact textarea{
    width:100%;
    border:none;
    border-bottom:1px solid #d8d4c6;
    background:transparent;
    padding:10px 2px;
    font-family:'Lato',sans-serif;
    font-size:1rem;
    color:var(--photo-text);
    border-radius:0;
    transition:border-color .25s ease;
}

.form-contact input[type="text"]:focus,
.form-contact input[type="email"]:focus,
.form-contact select:focus,
.form-contact textarea:focus{
    outline:none;
    border-bottom-color:var(--photo-accent);
}

.form-contact textarea{
    resize:vertical;
    min-height:130px;
    line-height:1.6;
}

.form-contact select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:linear-gradient(45deg, transparent 50%, var(--photo-muted) 50%), linear-gradient(135deg, var(--photo-muted) 50%, transparent 50%);
    background-position: right 6px top 55%, right 0 top 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat:no-repeat;
    cursor:pointer;
}

.form-contact input::placeholder,
.form-contact textarea::placeholder{
    color:#a9ab9f;
}

.recaptcha-wrap{
    display:flex;
    justify-content:center;
}

.form-contact .btn-newsletter{
    align-self:center;
    border:none;
    cursor:pointer;
    font-size:1rem;
    padding:14px 46px;
}

@media (max-width:560px){
    .form-contact{
        padding:32px 22px;
        gap:22px;
    }
}

/* ===================================================================== */
/* RESPONSIVE                                                            */
/* ===================================================================== */

@media (max-width:960px){


    .cartes-fineart{
        grid-template-columns:1fr;
    }

    .presentation{
        grid-template-columns:1fr;
        gap:34px;
    }

    .flex{
        flex-direction: column;   
    }

    .portrait{
        max-width:420px;
        margin:0 auto;
    }


    .hero-photo{
        min-height:62vh;
        padding:90px 20px;
    }

}

@media (max-width:700px){

    .hero-tirages{

        min-height:60vh;

        padding:80px 20px;

    }

    .hero-tirages h1{

        font-size:2.6rem;

    }

    .hero-texte{

        font-size:1.05rem;

    }

    .tirages-intro h2,
    .papier h2,
    .texte-droite h2{

        font-size:1.9rem;

    }

}

@media (max-width: 560px){

    .hero-photo{
        min-height:56vh;
        padding:70px 18px;
    }

    .presentation{
        padding:0 18px;
    }


    .btn-newsletter{
        width:100%;
        max-width:320px;
    }
}

@media all and (max-width: 760px) {
    #menu.nav-photo {
        height: auto;
        flex-wrap: wrap;
        gap: 16px 24px;   /* un peu plus serré que 42px pour que ça tienne mieux sur mobile */
        padding: 15px 10px;
    }
    .galerie-grille {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lightbox-prec, .lightbox-suiv {
        font-size: 1.8em;
        padding: 6px 12px;
    }
}



