@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+ */
}



/* NAVBAR */
/* =========================
   NAVBAR — MOBILE FIRST
========================= */

.apropos-nav {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.apropos-nav-container {
    background: #F6F2E2;
    border-radius: 30px;
    padding: 10px 20px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* logo */
.logo a {
    font-family: 'Cooper', serif;
    font-size: 22px;
    color: #7a8450;
    text-decoration: none;
}

.logo span {
    color: #F9CACC;
}

/* ===== BURGER ===== */

#burger-toggle {
    display: none;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 24px;
    height: 3px;
    background: #7a8450;
    border-radius: 3px;
}

/* menu mobile (caché par défaut) */
.apropos-nav-container nav {
    display: none;
}

/* menu ouvert */
#burger-toggle:checked~nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #F6F2E2;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.apropos-nav-container nav a {
    text-decoration: none;
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

.apropos-nav-container nav a:hover,
.apropos-nav-container nav a.active {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #7a8450;
}

@media (min-width: 1024px) {

    .apropos-nav-container {
        width: 75%;
        max-width: 1200px;
        padding: 6px 40px;
        border-radius: 40px;
    }

    /* cacher burger */
    .burger {
        display: none;
    }

    /* afficher menu */
    .apropos-nav-container nav {
        display: flex;
        position: static;
        transform: none;
        flex-direction: row;
        gap: 0;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    .apropos-nav-container nav a {
        margin: 0 12px;

    }
}



/* =========================
   APROPOS — MOBILE FIRST
========================= */

.apropos {
    position: relative;
    background-color: #f6cfcf;
    padding: 30px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: 120px;
}

/* Motif pattes */
.apropos::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/stamp-pattes-cat.png");
    background-repeat: repeat;
    background-size: 140px;
    opacity: 0.06;
    pointer-events: none;
}

.apropos-content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.apropos-text {
    max-width: 600px;
}

.apropos-text h1 {
    font-family: "Cooper", serif;
    font-size: 42px;
    line-height: 1.1;
    color: #7a8450;
    margin-bottom: 25px;
}

.apropos-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #141414;
    line-height: 1.8;
    margin-bottom: 20px;
}

.apropos-image {
    display: flex;
    justify-content: center;
    z-index: 1;

}

.apropos-image img {
    object-fit: cover;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    border-radius: 20px;
    aspect-ratio: 1/1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =========================
   A PROPOS — TABLETTE
========================= */

@media (min-width:768px) {

    .apropos {
        padding-top: 120px;
        padding-bottom: 80px;

    }

    .apropos::before {
        background-size: 220px;
        opacity: 0.1;
    }

    .apropos-content {
        max-width: 720px;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center;
        text-align: left;
        align-items: center;
        gap: 120px;
    }

    .apropos-text h1 {
        font-size: 53px;
        margin-bottom: 30px;
    }

    .apropos-text p {
        font-size: 16px;
        max-width: 320px;
    }

    .apropos-image img {
        max-width: 320px;

    }

}

/* =========================
   A PROPOS — DESKTOP MEDIUM
========================= */

@media (min-width:1024px) {

    .apropos {
        padding: 120px 80px;
    }

    .apropos-content {
        max-width: 1000px;
        justify-content: space-between;
    }

    .apropos-text {
        max-width: 450px;
    }

    .apropos-text h1 {
        font-size: 83px;
    }

    .apropos-text p {
        font-size: 18px;
    }

    .apropos-image {
        justify-content: flex-end;
    }

    .apropos-image img {
        max-width: 350px;
    }

}

/* =========================
   A PROPOS — DESKTOP LARGE
========================= */

@media (min-width:1200px) {


    .apropos {
        padding: 180px 120px;
    }

    .apropos-content {
        margin: 50px auto;
        width: 1200px;
        gap: 100px;
        margin: 0 auto
    }

    .apropos-text {
        max-width: 1200px;
        line-height: 1.8;
    }

    .apropos-text h1 {
        margin-bottom: 40px;
    }

    .apropos-text p {
        font-size: 20px;
        color: #141414;
        max-width: 500px;
    }

    .apropos-image img {
        max-height: 420px;
        max-width: 420px;
    }
}

/* =========================
   NOTRE HISTOIRE — MOBILE FIRST
========================= */

.notrehistoire-about {
    background: #F6F2E2;
    padding: 50px 20px;

    display: flex;
    justify-content: center;
}

.notrehistoire-about-text {
    width: 100%;
    max-width: 700px;
}

.notrehistoire-about h2 {
    font-family: "Cooper", serif;
    font-size: 32px;
    color: #b25c5c;
    text-align: center;
    margin-bottom: 25px;
    text-decoration: wavy underline;
    text-underline-offset: 10px;
    text-decoration-color: #7a8450;
    -moz-text-decoration-color: #7a8450;
}

.notrehistoire-about p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #141414;
    line-height: 1.8;
    text-align: center;
}

/* =========================
   NOTRE HISTOIRE — DESKTOP MEDIUM
========================= */

@media (min-width:1024px) {

    .notrehistoire-about {
        padding: 80px;
    }

    .notrehistoire-about-text {
        width: 100%;
        max-width: 1200px;
    }

    .notrehistoire-about h2 {
        font-size: 68px;
        text-align: center;
        margin-bottom: 35px;
    }

    .notrehistoire-about p {
        text-align: center;
        font-size: 20px;
        line-height: 1.6;
    }

}

/*QUI SOMMES-NOUS ? — MOBILE FIRST*/

.quisommesnous-about {
    background: #F9CACC;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.quisommesnous-about-text {
    width: 100%;
    max-width: 700px;
}

.quisommesnous-about h2 {
    font-family: "Cooper", serif;
    font-size: 32px;
    color: #7a8450;
    text-align: center;
    margin-bottom: 25px;

}

.quisommesnous-about p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #141414;
    line-height: 1.8;
    text-align: center;
}

.quisommesnous-image {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.quisommesnous-image img {
    object-fit: cover;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    border-radius: 20px;
    aspect-ratio: 1/1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 35px;
}

/* QUI SOMMES-NOUS ? — DESKTOP MEDIUM */

@media (min-width:1024px) {

    .quisommesnous-about {
        padding: 80px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 90px;
    }

    .quisommesnous-text {
        max-width: 480px;
        text-align: left;
        gap: 50px;
    }

    .quisommesnous-about h2 {
        font-size: 65px;
        text-align: left;
        text-decoration: none;
        color: #7a8450;
        margin-bottom: 55px;

    }

    .quisommesnous-about p {
        text-align: left;
        font-size: 20px;
        color: #141414;
        line-height: 1.9;
    }

    .quisommesnous-image {
        justify-content: flex-start;
    }

    .quisommesnous-image img {
        max-width: 500px;
        aspect-ratio: 3/4;

    }

}

/* NOTRE MISSION — MOBILE FIRST */


.notremission {
    background: #7a8450;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.notremission-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.notremission-text {
    width: 100%;
    max-width: 700px;
}

.notremission h2 {
    font-family: "Cooper", serif;
    font-size: 32px;
    color: #F6F2E2;
    text-align: center;
    margin-bottom: 25px;

}

.notremission p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #F6F2E2;
    line-height: 1.8;
    text-align: center;
}

.notremission-image {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


.notremission-image img {
    object-fit: cover;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    border-radius: 20px;
    aspect-ratio: 1/1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 35px;
}

/* NOTRE MISSION — DESKTOP MEDIUM */

@media (min-width:1024px) {

    .notremission {
        background: #7a8450;
        padding: 100px 80px;
    }

    .notremission-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 120px;
    }

    .notremission-text {
        max-width: 450px;
        text-align: left;
    }

    .notremission h2 {
        font-size: 65px;
        text-align: left;
        text-decoration: none;
        color: #F6F2E2;
        margin-bottom: 55px;
    }

    .notremission p {
        color: #F6F2E2;
        text-align: left;
        font-size: 20px;

    }

    .notremission-image img {
        max-width: 500px;
        aspect-ratio: 3/4;
    }

}

/* =========================
   VENEZ NOUS RENCONTRER
========================= */

.venez-rencontrer {
    background: #F6F2E2;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.rencontrer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
}

.rencontrer-text {
    text-align: center;
    max-width: 500px;
}

.hero-title {
    position: relative;
    display: inline-block;
}

/* Patte décorative */
.hero-title::after {
    content: "";
    position: absolute;
    right: 20px;
    top: -20px;
    width: 40px;
    height: 40px;
    background-image: url("images/stamp-pattes-chat-rose.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.rencontrer-text h2 {
    font-family: "Cooper", serif;
    font-size: 38px;
    color: #7a8450;
    margin-bottom: 20px;
}

.rencontrer-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #141414;
}

.rencontrer-image img {
    object-fit: cover;
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    aspect-ratio: 1/1;
}


/* ===== DESKTOP ===== */

@media(min-width:1024px) {

    .venez-rencontrer {
        padding: 100px 80px;
    }

    .rencontrer-container {
        flex-direction: row;
        justify-content: center;
        gap: 120px;
        max-width: 1100px;
    }

    .rencontrer-text {
        text-align: left;
    }

    /* Agrandir la patte décorative et ajuster sa position */

    .hero-title::after {
        width: 70px;
        height: 70px;
        right: 60px;
        top: -20px;
        rotate: 15deg;

    }

    .rencontrer-text h2 {
        font-size: 65px;
    }

    .rencontrer-text p {
        font-size: 20px;
    }

    .rencontrer-image {
        display: flex;
        justify-content: center;
    }

    .rencontrer-image img {
        object-fit: cover;
        width: 100%;
        max-width: 500px;
        /* même taille que mission */
        min-width: 0;
        border-radius: 20px;
        aspect-ratio: 3/4;
        /* même ratio */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

.btn-rencontrer {
    display: inline-block;
    margin-top: 25px;
    background: #F9CACC;
    color: #7a8450;
    padding: 14px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    transition: all .25s ease;
}

.btn-rencontrer:hover {
    background: #7a8450;
    color: #F9CACC;
    transform: translateY(-2px);
}


/* =========================
   BOUTON BACK TO TOP
========================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #F9CACC;
    color: #7a8450;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.back-to-top i {
    color: #7a8450;
    font-size: 18px;
    line-height: 1;
}

.back-to-top i:hover {
    color: #F9CACC;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: #7a8450;
    color: #fff;
}