/* GLOBAL */

:root {
    font-size: 1em;
    color: black;
    line-height: 1.4;
    /* font-family: 'Ortica Linear';  */
    font-family: 'Ortica Angular';
}

header, footer, main {
    padding: 2rem;
}

html, header, footer {
    background-color: #0C090A;
}

body {
    margin: unset;
    background-color: white;
}

#menu, footer ul, .bijoux #galerie ul {
    list-style: none;
    padding: unset;
}

ul {
    margin-block: unset;
}

header nav a, footer a, footer p {
    color: white;
}

header nav a, footer a {
    text-decoration: none;
}

a.active, header nav a:hover, header nav a:active, header nav a:focus, footer a:hover, header nav a:active, header nav a:focus {
    text-decoration: underline;
}

a {
    color: black;
}

h1 {
    margin-block: 0 1rem;
}

h1 + p {
    margin-block: unset;
}

h2, h3, h4, h5, h6 {
    margin-block: 2rem 1rem;
}

button:hover, button:active, button:focus {
    cursor: pointer;
}

.sr-only {
    width: 1px;
    height: 1px;
    position: absolute;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0; 
}

/* header */

#menu, nav {
    display: flex;
    flex-wrap: wrap;
}

#titre, #menu {
    margin: unset;
}

header nav {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

#menu {
    gap: 1rem;
}

/* images */

img {
    width: 100%;
}

main img {
    object-fit: cover;
}

/* footer */

footer {
    margin-top: 1rem;
}

footer #contact p {
    margin-top: unset;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

footer #contact a {
    width: fit-content;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

footer #contact a img {
    width: 30px;
    margin-right: 0.5rem;
}

footer #annexes p {
    margin-bottom: unset;
}

/* PAGES */

#home main img, .bijoux main img, #ateliers main img {
    border: 6px ridge #D4AF37;
}

/* home, ateliers */

#home #img, #ateliers #img {
    display: flex;
    margin-top: 2rem;
}

#home img, #ateliers #img {
    object-fit: cover;
    max-height: 500px;
}

#infos {
    max-width: 950px;
}

/* bijoux, ateliers */

.mosaique {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.mosaique a, .mosaique > div, .mosaique .pic {
    aspect-ratio: 1/1;
}

.mosaique > div, #bijoux .mosaique div, .bijoux .mosaique > div > div:not(.infos), .mosaique .pic {
    display: flex;
    height: 100%;
}

@media (min-width: 400px) {
    .mosaique {
        grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    } 
}

/* bijoux */

#bijoux h3 {
    margin-top: 1rem;
}

#bijoux .mosaique a {
    color: black;
    padding: 0 1rem 1rem 1rem;
    /* border: 3px solid black; */
    /* border-radius: 10px; */
    border: 6px ridge #D4AF37;
    text-decoration: none;
}

#bijoux .mosaique a:hover, #bijoux .mosaique a:active, #bijoux .mosaique a:focus {
    color: white;
    background-color: black;
}

/* série */

.bijoux:not(#bijoux) h3 {
    margin-top: unset;
}

.bijoux:not(#bijoux) .mosaique > div {
    flex-direction: column;
    height: unset;
    /* vignettes */
    /* padding: 1rem;
    background-color: lightgrey; */
}

.bijoux .couleurs {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.bijoux .pastille div {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.bijoux .carousel .carousel-container {
    position: relative;
}

.bijoux .carousel .carousel-inner, .bijoux .carousel .controls, .bijoux .carousel .controls div {
    height: 100%;
}

.bijoux .carousel .carousel-inner {
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.bijoux .carousel .controls div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bijoux .carousel .controls button {
    pointer-events: auto;
    margin: 1rem;
    font-size: 2.5rem;
    color: white;
    background-color: transparent;
    border: none;
}

.bijoux .carousel .controls button:hover, .bijoux .carousel .controls button:active, .bijoux .carousel .controls button:focus {
    text-decoration: underline;
}

.bijoux .carousel .carousel-item {
    display: none;
}

.bijoux .carousel .carousel-item.active {
    display: flex;
}

/* mentions légales */

#mentions-legales #infos p {
    margin-block: unset;
}