body {
    font-family: 'josefin sans', sans-serif;
    color: #242B53;
    font-size: 16px;
}


/* Buttons */

.btn-devis {
    background-color: #763117;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 22px;
    transition: 0.5s ease;
    /* font-weight: bold; */
}

.btn-devis:hover {
    background-color: #431b0d;
    color: #fff;
    text-decoration: none;
}

.btn-dash {
    display: block;       /* or display: inline-block; with width: 100% */
    width: 100%;
    font-size: 1.2rem;
    color: #fff;
    background-color: #3F447C;
    border: 5px solid #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    transition: 0.5s ease;
    margin: 0;
}

.btn-dash:hover, 
.btn-primary-own:hover {
    background-color: #242B53;
}

.btn-primary-own {
    background-color: #3F447C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.5s ease;
    border: none;
}

.btn-secondary-own {
    background-color: #D1E2F6;
    color: #3F447C;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.5s ease;
    border: none;
}

.clear-button {
    position: absolute;
    right: 10px;
    top: 52%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Container */

.bck-container {
    padding: 20px;
    border: 10px solid #F7F1EC;
}

.border-end {
    border-right: 2px solid #7a85a3 !important;
}  

.container-code {
    background-color: #333;
    padding: 20px;
    color: #fff;
}

.container-white {
    padding: 20px;
    background-color: #fff;
}

.cinq-plus {
    justify-content: center;
}


/* Bootstrap rework */

.dropdown-menu {
    border-radius: 0;
}

.toast {
    border-radius: 0;
    border: 10px solid #3F447C;
}

.modal-content {
    border-radius: 0;
    border: 10px solid #3F447C
}

.modal-header {
    border-radius: 0;
    background-color: #F7F1EC;
}

.masonry {
    column-count: 1;       /* number of columns */
    column-gap: 1rem;      /* space between columns */
}

.masonry-galerie {
    column-count: 5;       /* number of columns */
    column-gap: 1rem;      /* space between columns */
}

.masonry-galerie-prod {
    column-count: 1;       /* number of columns */
    column-gap: 1rem;      /* space between columns */
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.form-control-own, 
.input-group-text-own {
    border: 1px solid #242B53;
    border-radius: 0;
}

.accordion-button {
    background-color: #F7F1EC;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
    background-color: #3F447C;
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: #3F447C; /* ta couleur de fond */
    color: #fff;               /* couleur du texte */
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1); /* rend la flèche blanche */
}

.accordion-button::after {
    background-image: var(--bs-accordion-btn-icon); /* icône par défaut */
}

.table *, 
.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: #242B53;
}

.text-pointer {
    cursor: pointer;
}

.no-focus:focus {
    outline: none;
    box-shadow: none;
}

.delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 0, 0, 1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 25px;
    height: 25px;
    font-weight: bold;
}

.nav-pills .nav-link {
    color: #242B53;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #FFF;
    border-radius: 0;
    color: #242B53;
}

.border-1 {
    border: 1px solid #431b0d;
}

.dash-list {
    list-style: none;
    padding-left: 1rem;
}

.dash-list li::before {
    content: "– ";
    margin-left: -1rem;
}

/* fonts */

.text-h1 {
    font-family: 'cormorant garamond', serif;
}

.text-h2 {
    font-family: 'caladea', serif;
    font-style: italic;
}

/* Pagination  */

.pagination {
    justify-content: center;
}

.pagination .page,
.pagination .next,
.pagination .last,
.pagination .first,
.pagination .previous {
    border: 1px solid #242B53;
    padding: 5px 10px;
    margin-right: 5px;
}

.pagination .page a,
.pagination .next a,
.pagination .last a,
.pagination .first a,
.pagination .previous a {
    text-decoration: none;
    color: #242B53;
}

.pagination .current {
    border: 1px solid #242B53;
    background-color: #242B53;
    color: #fff;
    padding: 5px 10px;
    margin-right: 5px;
}

/* IMG */

.img-zoom-container {
    overflow: hidden; /* ensures image doesn't overflow */
    height: 100%;     /* optional, matches your flex container */
}

.img-zoom-container img {
    transition: transform 0.5s ease; /* smooth zoom */
}

.img-zoom-container:hover img {
    transform: scale(1.1); /* zoom in 10% */
}

.img-portrait {
    width: auto;           /* let width adjust based on height */
    height: 400px;  
    width: 300px;       /* fixed portrait height */
    object-fit: cover;     /* crop if needed */
}

.img-landscape {
    width: 100%;           /* let width adjust based on height */
    aspect-ratio: 16/9;
    object-fit: cover;     /* crop if needed */
}

.image-container {
    position: relative;
    width: fit-content;
}

.logo-rond {
    width: 50%;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-overlay-bottom {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-wrapper {
    position: relative;
    width: 100%;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}

.image-overlay.always-visible {
    opacity: 1;
}

.mosaic-item {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    box-sizing: border-box;
    pointer-events: none;
}

/* AS Titles */

.bg-overlay {
    position: relative;
    padding: 60px;
}

.bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("../img/logos/10_monogramme/10_Monogramme_bleu_profond.png") center/contain no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.bg-overlay * {
    position: relative;
    z-index: 1; /* ensures text is above background */
}

/* Colors  */

.text-primary-own {
    color: #242B53;
}

.text-secondary-own {
    color: #763117;
}

.bck-white {
    background-color: #FFF;
}

.bck-danger {
    background-color: #c62828;
}

.bck-lin {
    background-color: #F7F1EC;
}

.bck-bleu-profond {
    background-color: #242B53;
}

.bck-bleu-ciel {
    background-color: #D1E2F6;
}

.bck-bleu-marine {
    background-color: #3F447C;
}

.bck-terracotta {
    background-color: #763117;
}

.text-hover:hover {
    color: #763117;
}


ol {
    list-style-type: disc !important;
    margin: 0;
}

.splash-sm{
    width: 60%;
}

/* Textes */

.text-cinqplus {
    font-size: 1.5rem;
}