/* Calameo full screen modal */
#calameoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

#calameoModal iframe {
    width: 80vw;
    height: 80vh;
    max-width: 1000px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    background: #fff;
}

#calameoModal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

/* CARROUSEL */

.display-1{
    color: #fff;
}

/* BIO */

.qui-sommes-nous p{
    font-size: 1rem;
    color: black;
}

.car-draw{
    max-width: 10%;
    position: relative;
    z-index: 100;
}

.polaroid{
    max-width: 20%;
    position: relative;
    z-index: 100;
}

#bio-header-bloc{
    max-height: 300px;
}

#bio-title{
    background-color: #5B6E7F;
    font-size: 3rem;
    display: inline-block;
    padding: 12px 24px;
    padding-right: 60px;
    position: relative;
    left: -8%;
    color: white;
    padding-left: 15%;
    margin-bottom: 25px;
}

#bio-title:after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;              
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-bottom: 38px solid transparent;
    border-right: 38px solid white; 
}

#ouvrage-header-bloc{
    max-height: 300px;
    position: relative;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}

#ouvrage-title{
    background-color: #5B6E7F;
    font-size: 3rem;
    display: inline-block;
    padding: 12px 24px;
    padding-left: 60px;
    position: relative;
    right: -8%;
    color: white;
    padding-right: 15%;
    margin-bottom: 25px;
}

#ouvrage-title:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;              
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-bottom: 38px solid transparent;
    border-left: 38px solid white; 
}

#ouvrage-only-mobile{
    display: none;
}

.ouvrage-detail{
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

.ouvrage-mini-banniere:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;              
    width: 0;
    height: 0;
    border-top: 38px solid white;
    border-bottom: 38px solid white;
    border-left: 38px solid white; 
}

#inspi-bloc{
    max-height: 300px;
}

#inspi-title{
    background-color: #5B6E7F;
    font-size: 3rem;
    display: inline-block;
    padding: 12px 24px;
    padding-right: 60px;
    position: relative;
    /*left: -15%;*/
    color: white;
    padding-left: 2%;
    margin-bottom: 25px;
}

#inspi-title:after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;              
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-bottom: 38px solid transparent;
    border-right: 38px solid white; 
}

.link-bio{
    background-color: #5B6E7F;
    text-align: center;
    padding: 15px;
    border: 5px solid white;
}

.link-bio > a{
    color: white;
}

/* INSTAGRAM */
.insta-profile-card{
    width:100%;
    border-radius:22px;
    background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
    color:#fff;
    font-family:Arial,sans-serif;
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.insta-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.insta-logo{
    width:70px;
    height:70px;
    border-radius:20px;
    background:rgba(255,255,255,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(5px);
}

.insta-logo svg{
    width:25px;
    height:25px;
}

.insta-user h3{
    margin:0;
    font-size:22px;
    font-weight:bold;
}

.insta-user p{
    margin:5px 0 0;
    font-size:14px;
    opacity:0.9;
    color: white;
}

.insta-btn{
    color:white;
}

.insta-btn:hover{
    transform:translateY(-2px);
    background:#f8f8f8;
    color: orange;
}

/* FACEBOOK */
.facebook-profile-card{
    width:100%;
    border-radius:22px;
    background:linear-gradient(135deg,#1877f2,#0d5bd3);
    color:#fff;
    font-family:Arial,sans-serif;
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.facebook-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.facebook-logo{
    width:70px;
    height:70px;
    border-radius:20px;
    background:rgba(255,255,255,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(5px);
}

.facebook-logo svg{
    width:25px;
    height:25px;
}

.facebook-user h3{
    margin:0;
    font-size:22px;
    font-weight:bold;
}

.facebook-user p{
    margin:5px 0 0;
    font-size:14px;
    opacity:0.9;
    color: white;
}

.facebook-btn{
    color:white;
}

.facebook-btn:hover{
    transform:translateY(-2px);
    background:#f8f8f8;
    color: lightblue;
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1280px) {
    .car-draw{
        max-width: 10%;
        text-align: center;
    }

    .full-screen-medium{
        width: 100%;
        float: left;
    }

    .polaroid{
        max-width: 70%;
    }

    #bio-header-bloc{
       max-height: 100%;
       text-align: center;
    }

    #bio-title{
        background-color: #5B6E7F;
        text-align: center;
        font-size: 2.1rem;
        display: block;
        padding: 5px 5px 5px 5px;
        left: 0;
    }

    #bio-title::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    #ouvrage-header-bloc{
        max-height: 100%;
        display: block;
        text-align: center;
    }
 
    #ouvrage-title{
        background-color: #5B6E7F;
        font-size: 2.1rem;
        text-align: center;
        display: block;
        padding: 5px 5px 5px 5px;
        right: 0;
    }
 
    #ouvrage-title::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    .mobile-hide{
        display: none;
    }

    #ouvrage-only-mobile{
        display: inline-block;
        text-align: center;
    }

    #ouvrage-no-mobile{
        display: none;
    }

    #inspi-bloc{
        max-height: 100%;
        display: block;
        text-align: center;
    }
    
    #inspi-title{
        background-color: #5B6E7F;
        font-size: 1.8rem;
        text-align: center;
        display: block;
        padding: 5px 5px 5px 5px;
        left: 0;
    }
    
    #inspi-title:after{
        content: "";
        position: absolute;
        top: 0;
        right: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    #inspi-mobile-hide{
        display: none;
    }

    .link-bio{
        text-align: center;
        color: black;
    }

    .link-bio > a{
        color: black;
    }

    /* INSTAGRAM */
    .insta-profile-card{
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .car-draw{
        max-width: 25%;
        text-align: center;
    }

    .polaroid{
        max-width: 70%;
    }

    #bio-header-bloc{
       max-height: 100%;
       text-align: center;
    }

    #bio-title{
        background-color: #5B6E7F;
        text-align: center;
        font-size: 2.1rem;
        display: block;
        padding: 5px 5px 5px 5px;
        left: 0;
    }

    #bio-title::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    #ouvrage-header-bloc{
        max-height: 100%;
        display: block;
        text-align: center;
    }
 
    #ouvrage-title{
        background-color: #5B6E7F;
        font-size: 2.1rem;
        text-align: center;
        display: block;
        padding: 5px 5px 5px 5px;
        right: 0;
    }
 
    #ouvrage-title::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    .mobile-hide{
        display: none;
    }

    #ouvrage-only-mobile{
        display: inline-block;
        text-align: center;
    }

    #ouvrage-no-mobile{
        display: none;
    }

    #inspi-bloc{
        max-height: 100%;
        display: block;
        text-align: center;
    }
    
    #inspi-title{
        background-color: #5B6E7F;
        font-size: 1.8rem;
        text-align: center;
        display: block;
        padding: 5px 5px 5px 5px;
        left: 0;
    }
    
    #inspi-title:after{
        content: "";
        position: absolute;
        top: 0;
        right: 0;              /* largeur du triangle */
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 0px solid transparent;
        border-right: 0px solid white;  /* couleur du triangle */
    }

    #inspi-mobile-hide{
        display: none;
    }

    .link-bio{
        text-align: center;
        margin: 5px;
    }

    /* INSTAGRAM */
    .insta-profile-card{
        width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
