body {
    background-color: #171717;
    color: white;
    font-family: "Helvetica", serif;
}

body h1, h2, h3 {
    font-family: "Helvetica", serif;
}

.main-title, body h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.875rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.3;
}

/*hero*/
#zone1 .zone-content {
    display: grid;
    grid-template-columns: 1fr;
}

#zone1 .zone-content div.image img {
    max-width: calc(100% - 3.8rem + 2rem);
    margin-left: 3.8rem;
    min-height: 100%;
}

.zone-subtitle {
    font-size: 0.65rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 2;
    letter-spacing: .1em;
    border-bottom: 1px solid #b29d68;
    padding: 5px;
}

.border-subtitle {
    display: flex;
}

section .zone-content {
    display: grid;
    padding: 2rem;
}

body > * {
    max-width: 3000px;
    margin: 0px auto;
}

h2.main-title {
    padding-top: 10px;
}

div.zone-title-and-zone-subtitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
div.retrait-gauche-text {
    padding-top: 20px;
}
@media (min-width: 1200px) {
    #zone1 .zone-content {
        grid-template-columns: 200px auto;
    }
}

@media (max-width: 1199px) {
    #zone1 .zone-content {
        grid-gap: 2rem;
    }

    #zone1 .zone-content div.image {
        grid-row: 1/2;
    }

    section .zone-content > div:has(.full-image) {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

@media (min-width: 1200px ) {
    #zone1 .zone-content .zone-title-and-zone-subtitle {
        margin-right: -50vw;
        z-index: 2;
    }

    h1.zone-subtitle {
        font-size: 1.5rem;
    }

    h2.main-title {
        font-size: 3.5rem;
        padding-top: 2rem;

    }
}

@media (min-width: 1200px) {
    #zone1 .zone-content {
        grid-template-columns: 450px auto;
    }

    h1.zone-subtitle {
        font-size: 1.5rem;
    }

 h2.main-title {
        font-size: 3rem;
        padding-top: 2rem;
    }

    #zone1 .zone-content .zone-title-and-zone-subtitle {
        margin-right: -30vw;
        padding-left: 150px;
    }

    body p + button {
        margin-top: 60px;
    }

    body h2 + p,
    body h2 + div p:first-child {
        padding-top: 40px;

    }

    div.retrait-gauche-text {
        padding-left: 40px;

    }
}

@media (min-width: 1200px) {
    section .zone-content {
        grid-template-columns: 1fr 1fr;
    }
   section#zone7.zone div.zone-content {
        grid-template-columns: 1fr 2fr;
    }
    section .zone-content > div:has(.portrait-oval) {
        grid-column: 2/3;
    }

    figure.portrait-oval img {
        max-width: 700px;
        height: auto;
        width: 100%;
    }

    div figure.portrait-oval {
        text-align: left;
    }

    section .zone-content > div:has(.full-image) {
        grid-column: 1/2;
        grid-row: 1/2;
        max-width: calc(450px + 2rem + 3.8rem);
    }

    section .zone-content .full-image img {
        max-width: 100%;
    }

    section .zone-content {
        padding: 0rem;
    }

    div figure.full-image {
        height: auto;
    }

    div figure.full-image::after {
        height: 90%;
        right: -10%;
    }

    section div.text-block {
        max-width: 50rem;
        padding-left: 2rem;
        margin: 0px 0px 0px auto;
    }
    div.text-zone7 div.text-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0px auto 0px 0px;
        padding: 3rem 0rem 10rem 12rem;
    }
    div.text-zone6 div.text-block{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    section .zone-content > div .section-figure {
        max-width: 800px;
        margin-left: auto;
        text-align: right;
        height: auto;
    }

    div figure.section-figure::after {
        height: 90%;
        left: 35%;
        top: -5%;
    }

    div figure.section-figure {
        height: 90%;
    }

    div.zone-content div.text_button {
        max-width: 876px;
        padding-left: 2rem;
        margin: 0px auto 0px 0px;
        grid-column: 2/3;
        grid-row: 1/2;
    }

    div figure.section-figure-pile::after {
        bottom: 0%;
        top: 25%;
        width: 100%;
        right: -1%;
    }

    section#zone2 div.text-zone-content2 {
        padding-bottom: 200px;
    }

    section#zone2 > div.zone-content > div:has(.lot-bijoux) {
        display: flex;
        align-items: flex-end;
        justify-content: right;
    }
    body div.text-block h2 + h2{
        padding-top: 0px;
    }


}

#zone2 .zone-content, #zone3 .zone-content {
    background-color: #F4F1EA;
    color: #222;
    overflow: hidden;
}

figure.portrait-oval {
    text-align: center;
}

figure.full-image::after {
    content: "";
    display: block;
    position: absolute;
    top: -5%;
    right: -20%;
    width: 65%;
    height: 115%;
    background-color: rgba(178, 157, 104, .15);
    z-index: -1;
}

figure.full-image img {
    max-width: 90%;
    height: auto;
}

figure.full-image {
    position: relative;
    z-index: 1;
    transform: translate(-2rem, 0px);

}

body p {
    font-family: "Helvetica", sans-serif;
    line-height: 1.35;
    font-size: 1.5rem;
    font-weight: 200;
}

div.text-block {
    padding-top: 30px;
    padding-bottom: 10px;
    height: 100%;
}

h2 + p {
    padding-top: 20px;
}

p + button {
    margin-top: 20px;
}

a.cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: white;
    border-radius: 40px;
    padding: 20px 40px;
    color: #8c741d;
    font-family: "Helvetica", sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 10%;
    gap: 25px;


}

.secondary-color {
    color: #968441;
}

.texte-underline {
    text-decoration: underline;
    text-decoration-color: CurrentColor;
    text-underline-offset: 10px;
}

a.cta::after {
    content: "";
    display: block;
    width: 41px;
    height: 30px;
    background-color: CurrentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' width='41' height='30' viewBox='0 0 41 30' fill='none' xmlns='http://www.w3.org/2000/svg' data-v-3cb4a881=''%3E%3Cpath d='M27.4 0.950195C26.6 1.6502 26.1 1.6502 25.2 1.5502C25.2 1.5502 27.4 10.6502 36.3 14.3502C15 14.3502 3.9 13.8502 0 13.8502C0.1 14.2502 0.1 14.5502 0.1 14.9502C0.1 15.3502 0.1 15.7502 0 16.1502C4 16.1502 15 15.6502 36.3 15.6502C27.4 19.3502 25.2 28.4502 25.2 28.4502C26.1 28.3502 26.7 28.4502 27.4 29.0502C29.3 19.1502 36.6 16.6502 40.4 14.9502C36.6 13.2502 29.2 10.8502 27.4 0.950195Z' fill='currentColor' data-v-3cb4a881=''%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' width='41' height='30' viewBox='0 0 41 30' fill='none' xmlns='http://www.w3.org/2000/svg' data-v-3cb4a881=''%3E%3Cpath d='M27.4 0.950195C26.6 1.6502 26.1 1.6502 25.2 1.5502C25.2 1.5502 27.4 10.6502 36.3 14.3502C15 14.3502 3.9 13.8502 0 13.8502C0.1 14.2502 0.1 14.5502 0.1 14.9502C0.1 15.3502 0.1 15.7502 0 16.1502C4 16.1502 15 15.6502 36.3 15.6502C27.4 19.3502 25.2 28.4502 25.2 28.4502C26.1 28.3502 26.7 28.4502 27.4 29.0502C29.3 19.1502 36.6 16.6502 40.4 14.9502C36.6 13.2502 29.2 10.8502 27.4 0.950195Z' fill='currentColor' data-v-3cb4a881=''%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

}

button {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
}

button a:hover {
    background-color: #8c741d;
    gap: 10px;
}

#zone3 .zone-content {
    background-color: #F4F1EA;
}

#zone4 .zone-content {
    background-color: white;
}

#zone5 .zone-content {
    background-color: #E4DBC1;
}

figure.section-figure::after {
    content: "";
    display: block;
    position: absolute;
    top: -20%;
    right: 0%;
    left: calc(50% - 50vw);
    bottom: 55%;
    background-color: rgba(178, 157, 104, .15);
    z-index: 0;
}

figure.section-figure {
    position: relative;
    text-align: center;
    margin-top: 120px;
}

figure.section-figure-pile {
    position: relative;
    text-align: left;
    margin-top: 120px;
    max-width: 900px;
    z-index: 1;
}

img.lot-bijoux {
    height: auto;
    max-width: 90%;
}


figure.section-figure-pile::after {
    content: "";
    display: block;
    position: absolute;
    background-color: rgba(178, 157, 104, .15);
    z-index: -1;
    bottom: 55%;
}

#zone4 h2 {
    color: #171717;
}

#zone4 figcaption {
    color: #171717;
    font-family: "Jacques Francois";
    font-size: 1.6rem;
    line-height: 1.3em;
}

#zone5 h2 {
    color: #171717;
}

#zone6 .zone-content {
    background-color: #EAE8DC;
}

#zone7 .zone-content {
    background-color: #F6F1E9;
}

figure.empire-figure img {
    height: auto;
    max-width: 90%;
}

figure.section-figure-pile img {
    height: auto;
    max-width: 90%;
}

figure.section-figure-piece-fin img {
    height: auto;
    width: 100%;
    max-width: 90%;
    aspect-ratio: 3/4;
    object-fit: cover;
}


figure.section-figure-buste img {
    height: auto;
    max-width: 90%;
}

/*Mon CSS*/
#zone6 .zone-content {
    display: grid;
}

@media (min-width: 1200px) {
  section#zone6.zone.zone-6 {
        grid-template-columns: 1fr 1fr;
    }
    section#zone6.zone.zone-6 .zone-content{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    section#zone6 div.zone-content div.text-zone6{
        max-width: 78rem;
        padding-left: 2rem;
        margin: 0px 0px 0px auto;

    }
    section .zone-content div:has(.cadre_portrait){
        grid-column: 2/3;
        grid-row: 1/2;
    }
    div.text-zone6{
        padding-bottom: 10px;
    }
    h2.main-title, h2.main-title{
        font-size: 3rem;
        padding-top: 2rem;
    }
}
img.cadre_portrait{
    height: auto;
    width: 90%;
    max-width: 700px;
    margin: 0px auto;
    display: block;
}

h2.main-title, h2.main-title, p.zone-text{
    color: #171717;
}

body footer{
    background-color: #F6F1E9;
    text-align: center;
    padding: 40px 20px 80px 20px;
    border-top: 1px solid #E4DBC1;
}

footer p{
    color: #171717;
}
footer p+p{
    padding-top: 30px;
}
@media (min-width: 1200px) {
 body footer{
        display: flex;
        justify-content: space-between;
        padding: 80px 60px;
    }
    footer p+p{
        padding-top: 0px;
    }
}

/* ── ZONE 4 : carousel mobile / grille desktop ── */

/* Annule le grid global pour zone4 */
#zone4 .zone-content {
    display: block;
    background-color: white;
    padding: 2rem;
}

/* ── Mobile first : carousel horizontal ── */
.empire-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    padding: 0 0 1rem 0;
    margin: 0;
    scrollbar-width: none;
    align-items: flex-start;
}

.empire-grid::-webkit-scrollbar {
    display: none;
}

.empire-grid li {
    flex: 0 0 85vw;
    scroll-snap-align: start;
}

.empire-figure {
    margin: 0;
    width: 100%;
}

.empire-figure img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.empire-figure figcaption {
    margin-top: 0.75rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dots .dot.active {
    background: #b8960c;
}

/* ── Desktop : 3 colonnes ── */
@media (min-width: 1200px) {
    .empire-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: unset;
        scroll-snap-type: unset;
        padding: 0;
        gap: 2rem;
    }

    .empire-grid li {
        flex: unset;
        min-width: 0;
    }

    .empire-figure img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .carousel-dots {
        display: none;
    }
}



/* external css: flickity.css */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body { font-family: sans-serif; }

.gallery {
    background: #EEE;
}

.gallery-cell {
    width: 66%;
    height: 200px;
    margin-right: 10px;
    background: #8C8;
    counter-increment: gallery-cell;
}

/* cell number */
.gallery-cell:before {
    display: block;
    text-align: center;
    content: counter(gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}







