@font-face {
    font-family: 'Cooper';
    src: url('CooperBlack.woff2') format('woff2'),
        url('CooperBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* montserrat-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('./fonts/montserrat-v31-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/montserrat-v31-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/montserrat-v31-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* =========================
   NOS MIMIS HERO — MOBILE FIRST
========================= */

.nos-mimis {
    background: #7a8450;
    padding: 120px 20px 80px;

}

.nosmimis-container {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.patte-divider {
    display: none;
}



/* TEXTE */
.nosmimis-text h1 {
    font-family: "Cooper", serif;
    font-size: 48px;
    line-height: 1.1;
    color: #F9CACC;
    padding-bottom: 40px;
    padding-top: 40px;
}

.nosmimis-text p {
    color: rgb(255, 255, 255);
    font-size: 19px;
    font-weight: 300;
    padding: auto;
}

.nosmimis-text p {
  line-height: 1.8; /* Ajuste la valeur pour l’espacement général */
}


.nosmimis-text span {
    color: #F9CACC;
}

/* IMAGE */
.nosmimis-images {
    display: flex;
    justify-content: center;
}

.nosmimis-images img {
    object-fit: cover;
    min-width: 300px;
    max-width: 380px;
    border-radius: 20px;
    aspect-ratio: 1/1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =========================
   TABLETTE
========================= */

@media (min-width: 768px) {

    .nos-mimis {
        padding: 140px 40px 100px;
    }

    .nosmimis-container {
        max-width: 720px;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center;
        text-align: left;
        align-items: center;
        gap: 24px;
    }
 
    .patte-divider{
        display:block;
        width:100%;
        max-width:600px;
        margin:0 auto;
        align-content: center;
    }

    .nosmimis-text h1 {
        font-size: 53px;
        margin-bottom: 30px;
    }

    .nosmimis-images img {
        min-width: 300px;
        max-width: 300px;
    }

}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {

    .nos-mimis {
        padding: 120px 80px;
    }

    .nosmimis-container {
        margin: 0 auto;
        gap: 24px;
        max-width: 1000px;
    }

    .nosmimis-text h1 {
        width: 100%;
        font-size: clamp(2rem,
                calc(2.4rem + 2.5vw),
                5rem);
        line-height: 1.1;
        margin: 0;
    }

    .nosmimis-images {
        justify-content: flex-end;
    }

    .nosmimis-images img {
        max-width: 400px;
    }
}

/* =========================
   LARGE DESKTOP
========================= */

@media (min-width: 1200px) {

    .nosmimis-container {
        margin: 0 auto;
        max-width: 1200px;
        gap: 48px;
    }

    .patte-divider{
        display:block;
        width: 1000px;
        max-width:1800px;
        padding: 50px;
        align-content: center;
    }

    .nosmimis-text h1 {
        font-size: clamp(4.7rem, 5.5vw, 5.8rem);
    }


    .nosmimis-images img {
        max-height: 520px;
        max-width: 520px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

}


.nosmimis-presentation {
    background-color: #F6F2E2;
}

/* =========================
   NOS MIMIS GRID — MOBILE FIRST
========================= */

/* 📱 MOBILE = 1 colonne */

.nosmimis-grid{
    max-width:1200px;
    margin:0 auto;
    padding:80px 20px;

    display:grid;
    grid-template-columns:1fr;
    gap:40px;
    
}

.nosmimis-cardvert,
.nosmimis-cardrose,
.nosmimis-cardbleu {
    text-align:center;
}

.nosmimis-cardvert img,
.nosmimis-cardrose img,
.nosmimis-cardbleu img {
    width:100%;
    max-width:320px;
    margin:0 auto;
    display:block;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:12px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
    
}

/* cadre fixe */
.img-zoom{
    overflow:hidden;        /* coupe le zoom */
    border-radius:12px;
    max-width:320px;
    margin:0 auto;
}

/* image */
.img-zoom img{
    width:100%;
    display:block;
    transition:transform .5s ease;
}

/* zoom uniquement l'image */
.img-zoom:hover img{
    transform:scale(1.08);
}


.nosmimis-cardvert h3{
    font-family:"Montserrat", serif;
    color:#7a8450;
    margin-top:18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nosmimis-cardrose h3{
    font-family:"Montserrat", serif;
    color:#b16467;
    margin-top:18px;
    margin-bottom: 10px;
    font-weight: 600;
}
.nosmimis-cardbleu h3{
    font-family:"Montserrat", serif;
    color:#32518a;
    margin-top:18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nosmimis-cardvert p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#7a8450;
    line-height:1.8;
    font-weight: 400;
}
.nosmimis-cardrose p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#b16467;
    line-height:1.8;
}
.nosmimis-cardbleu  p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#32518a;
    line-height: 1.8;
}

/* =========================
   TABLETTE = 2 colonnes
========================= */

@media (min-width:600px){

.nosmimis-grid{
    grid-template-columns:repeat(2,1fr);
    gap:40px 30px;
}

.nosmimis-cardrose:last-child{
    grid-column:1 / -1;
    justify-self:center;
}

.nosmimis-cardvert,
.nosmimis-cardrose,
.nosmimis-cardbleu {
    max-width: 320px;
}

}

/* =========================
   DESKTOP
========================= */

@media (min-width:1024px){

.nosmimis-grid{
    max-width:1200px;
    gap: 150px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nosmimis-cardvert,
.nosmimis-cardrose,
.nosmimis-cardbleu {
    max-width: 520px;
}
.nosmimis-cardvert img,
.nosmimis-cardrose img,
.nosmimis-cardbleu img {
    width:100%;
    max-width:420px;
    margin:0 auto;
    display:block;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:12px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
    
}

/* cadre fixe */
.img-zoom{
    overflow:hidden;        /* coupe le zoom */
    border-radius:12px;
    max-width:420px;
    margin:0 auto;
}

.nosmimis-cardvert h3{
    font-family:"Montserrat", serif;
    color:#7a8450;
    margin-top:22px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}

.nosmimis-cardrose h3{
    font-family:"Montserrat", serif;
    color:#b16467;
    margin-top:22px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}
.nosmimis-cardbleu h3{
    font-family:"Montserrat", serif;
    color:#32518a;
    margin-top:22px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}

.nosmimis-cardvert p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#7a8450;
    line-height:1.8;
    font-weight: 400;
    font-size: 22px;

}
.nosmimis-cardrose p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#b16467;
    line-height:1.8;
    font-weight: 400;
    font-size: 22px;
}
.nosmimis-cardbleu  p{
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    color:#32518a;
    line-height: 1.8;
    font-weight: 400;
    font-size: 22px;
}

/* dernière carte centrée */
.nosmimis-cardrose:last-child{
    grid-column:1 / -1;
    justify-self:center;
    max-width:420px;
}

}

