/************************************************************
   BANDE ROUGE DE TEST (OPTIONNELLE)
************************************************************/
/*
body::before {
    content: "TEST PAGES CSS";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: red !important;
    color: white;
    font-size: 10px;
    text-align: center;
    z-index: 999999;
}
*/


/************************************************************
    1 — STRUCTURE DES PAGES GALERIES
*************************************************************/

/* Contexte global */
.am-galerie {
    background: transparent !important;
}

/* Conteneur slogan */
.am-galerie .am-hero-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 2vw !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* Texte */
.am-galerie .am-hero-text {
    font-size: clamp(20px, 3vw, 48px) !important;
    color: #000 !important;
}

/* Logo desktop */
.am-galerie .am-hero-logo {
    width: clamp(80px, 12vw, 260px) !important;
    height: auto !important;
    display: block !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Logo mobile — 2× plus grand */
@media (max-width: 768px) {
    .am-galerie .am-hero-logo {
        width: clamp(140px, 40vw, 340px) !important;
        height: auto !important;
    }
}

/* Légendes sous sculptures */
.am-caption {
    background: rgba(0, 0, 0, 0.70);
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.95em;
    text-align: center;
    display: inline-block;
}

/* Titre sticky */
.am-hero-wrap {
    position: sticky !important;
    top: 20px;
    z-index: 9999 !important;
    padding: 20px 0;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.10);
    transition: padding 0.3s ease, background 0.3s ease;
}

.am-hero-wrap.is-sticky {
    padding: 12px 0;
    background: rgba(255,255,255,0.20);
}

/* Espace sous le titre */
body.am-galerie .entry-content {
    margin-top: 40px !important;
}


/************************************************************
    2 — BOUTON "CLIQUER POUR ZOOMER"
*************************************************************/

/* Cercle */
.am-gallery-hover-hint {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 135px !important;
    height: 135px !important;
    aspect-ratio: 1 / 1 !important;

    transform: translate(-50%, -50%);
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.70) !important;
    border: 1px solid rgba(255,255,255,0.5);

    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    pointer-events: none;

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

    z-index: 10;
}

/* Affichage au survol */
.am-image-wrapper:hover .am-gallery-hover-hint {
    opacity: 1;
}

/* Mobile : bouton toujours visible et 25 % plus petit */
@media (max-width: 768px) {
    .am-gallery-hover-hint {
        opacity: 1 !important;          /* toujours visible */
        width: 100px !important;        /* 135px → 100px */
        height: 100px !important;
        display: flex !important;       /* au cas où un autre CSS le cacherait */
        pointer-events: none !important;/* ne bloque pas le tap sur l'image */
        z-index: 9999 !important;       /* par-dessus tout */
    }
}

    

/* SVG */
/* (le SVG est centré automatiquement par le cercle) */
.am-zoom-svg {
    width: 90% !important;
    height: 90% !important;
}

/* Texte rouge */
.am-zoom-svg text {
    fill: red !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
}



/************************************************************
    3 — FOND DE PAGE AUTRUCHES
*************************************************************/

body.page-id-1438 {
    background-image: url("https://www.amupcycling.fr/wp-content/uploads/2025/12/fd-autruche_2-scaled.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body.page-id-1438 #outer-wrap,
body.page-id-1438 #wrap,
body.page-id-1438 #main,
body.page-id-1438 .site-main,
body.page-id-1438 .content-area,
body.page-id-1438 .content-area .site-content {
    background: transparent !important;
}


/************************************************************
    4 — FOND DE PAGE CHATS
*************************************************************/

body.page-id-1344 {
    background-image: url("https://www.amupcycling.fr/wp-content/uploads/2025/12/fd-chat-scaled.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body.page-id-1344 #outer-wrap,
body.page-id-1344 #wrap,
body.page-id-1344 #main,
body.page-id-1344 .site-main,
body.page-id-1344 .content-area,
body.page-id-1344 .content-area .site-content {
    background: transparent !important;
}


/************************************************************
    5 — FOND DE PAGE COQS
*************************************************************/

body.page-id-1345 {
    background-image: url("https://www.amupcycling.fr/wp-content/uploads/2025/12/fd-coq-scaled.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body.page-id-1345 #outer-wrap,
body.page-id-1345 #wrap,
body.page-id-1345 #main,
body.page-id-1345 .site-main,
body.page-id-1345 .content-area,
body.page-id-1345 .content-area .site-content {
    background: transparent !important;
}


/************************************************************
    6 — FOND DE PAGE POISSONS
*************************************************************/

body.page-id-1334 {
    background-image: url("https://www.amupcycling.fr/wp-content/uploads/2025/12/fd-poisson-scaled.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body.page-id-1334 #outer-wrap,
body.page-id-1334 #wrap,
body.page-id-1334 #main,
body.page-id-1334 .site-main,
body.page-id-1334 .content-area,
body.page-id-1334 .content-area .site-content {
    background: transparent !important;
}