/* beige #E0C9A5 */
/* dark  #231F20*/
/* doré #C09148 */
/* grey #D9D9D9 */

/* ******GENERAL******* */
html {
    scroll-behavior: smooth;
    scrollbar-width: auto;
}

* {
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    position: relative;
    color: #282828;
}

.noScroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit
}

ul li {
    list-style: none;
}

button {
    font-family: inherit;
}

.btn-custom {
    box-shadow: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 25px;
    position: relative;
    color: #282828;
    border-radius: 0;
    padding: 0;
    border: none;
    max-width: 250px;
    min-width: min(230px, 100%);
}

.btn-custom .content {
    /*min-width: min(230px, 100%);*/
    min-height: 57px;
    display: flex;
    height: 100%;
    width: 100%;
    padding: 7px 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.btn-custom::before {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    height: 43px;
    width: 55px;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover::before {
    right: -50px;
    top: 0;
}

.btn-custom::after {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    height: 52px;
    width: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover::after {
    right: -50px;
    bottom: -31px;
}

.btn-custom .bg {
    min-width: min(200px, 100%);
    min-height: 57px;
    transform: translate(5px, 5px);
    transition: 0.3s ease-in-out;
    height: 100%;
    width: 100%;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    /*max-width: 250px;*/
}

.btn-custom.light .content {
    border: 1px solid #C09148;
    background: #ffffff;
    /*max-width: 250px;*/
}

.btn-custom.light .bg {
    background-color: #E0C9A5;
}

.btn-custom:hover .bg {
    transform: translate(8px, 8px);
}

.btn-custom.light::before {
    background-image: url("/public/images/france-amande-amande-creme-1.png");
}

.btn-custom.light::after {
    background-image: url("/public/images/france-amande-amande-creme-2.png");
}

.btn-custom.dark .content {
    color: white;
    border: 1px solid #E0C9A5;
    background: #231F20;
}

.btn-custom.dark .bg {
    background-color: #C09148;
}

.btn-custom.dark::before, .btn-custom.beige::before {
    background-image: url("/public/images/france-amande-amande-gold-1.png");
}

.btn-custom.dark::after, .btn-custom.beige::after {
    background-image: url("/public/images/france-amande-amande-gold-2.png");
}

.btn-custom.beige .content {
    border: 1px solid #C09148;
    background: #ffffff;
}

.btn-custom.beige .bg {
    background: #C09148;
}

.btn-custom.grey .content {
    border: 1px solid #C09148;
    background: #D9D9D9;
}

.btn-custom.grey .bg {
    background: #ffffff;
}

.btn-custom.grey::before {
    background-image: url("/public/images/france-amande-amande-blanc-1.png");
}

.btn-custom.grey::after {
    background-image: url("/public/images/france-amande-amande-blanc-2.png");
}

h1, h2, h3, h4, h5, .title {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.wallpaper {
    background-image: url("/public/images/france-amande-wallpaper-1.png");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.wallpaper-dark {
    background-image: url("/public/images/france-amande-wallpaper-dark.jpg");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.wallpaper-almond-few {
    background-image: url("/public/images/france-amande-bg-amande-scarse.png");
    background-repeat: repeat-y;
    background-size: contain;
    background-position: 50%;
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.hoverUnderline {
    position: relative;
}

.hoverUnderline::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 1px;
    background-color: #7D7D7D;
    width: 100%;
}

.hoverUnderline::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 1px;
    background-color: #ffffff;
    width: 100%;
    transition: 0.2s ease-in-out;
    transform-origin: right;
}

.hoverUnderline:hover::after {
    transform: scale(0);
}

.title.primary {
    text-transform: uppercase;
    font-size: clamp(1.1875rem, 1.0555rem + 0.4225vw, 1.5625rem);
}

.title.secondary {
    font-size: clamp(2.75rem, 1.6644rem + 1.7901vw, 3.8125rem);
    color: #282828;
    font-weight: 500;
}

.title.tertiary {
    font-size: clamp(1.6875rem, 1.5833rem + 0.5556vw, 2.25rem);
    color: #C09148;
    font-weight: 400;
}

.transparent {
    opacity: 0;
}

.bg-beige {
    background: #E0C9A5;
}

.bg-white {
    background: white;
}

.bg-gold {
    background: #C09148;
}

.bg-grey {
    background: #D9D9D9;
}

.color-white {
    color: white !important;
}

.color-gold {
    color: #C09148 !important;
}

.color-beige {
    color: #E0C9A5 !important;
}

.color-dark {
    color: #231F20 !important;
}

.color-black {
    color: black !important;
}


.pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.underline {
    text-decoration: underline;
}

.container {
    width: min(100%, 1500px);
    /*padding-right: 96px;*/
    /*padding-left: 96px;*/
    margin: 0 auto;
}

.wideContainer {
    width: 100%;
    padding: 0;
}

.title.primary {
    font-size: clamp(1.1875rem, 1.0555rem + 0.4225vw, 1.5625rem);
}


.text {
    text-align: justify;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.text ul li {
    list-style: url("/public/images/france-amande-puce-1.png");
    /*list-style-type: '&#x1F514;*/
}

.textRight {
    text-align: right;
}

.textLeft {
    text-align: left;
}

img {
    max-width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb75 {
    margin-bottom: 75px;
}

.mb100 {
    margin-bottom: 100px;
}

.mb130 {
    margin-bottom: 130px;
}

.mb150 {
    margin-bottom: 150px;
}

.mb200 {
    margin-bottom: 200px;
}

.mb300 {
    margin-bottom: 300px;
}

.mb25 {
    margin-bottom: 25px;
}

.mt100 {
    margin-top: 100px;
}

.mt200 {
    margin-top: 200px;
}

.mt300 {
    margin-top: 300px;
}

.mt400 {
    margin-top: 400px;
}

.mt50 {
    margin-top: 50px;
}

.mt30 {
    margin-top: 30px;
}

.mt25 {
    margin-top: 25px;
}

.mt15 {
    margin-top: 15px;
}

.mt10 {
    margin-top: 10px;
}

.mt5 {
    margin-top: 5px;
}

.mr25 {
    margin-right: 25px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml25 {
    margin-left: 25px;
}

.ml50 {
    margin-left: 50px;
}

.px-7pc {
    padding-right: 7%;
    padding-left: 7%;
}

.px-3vw {
    padding-right: 3vw;
    padding-left: 3vw;
}

.py-3vw {
    padding-top: 3vw;
    padding-bottom: 3vw;
}

.py-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.px-25 {
    padding-right: 25px;
    padding-left: 25px;
}

.px-50 {
    padding-right: 50px;
    padding-left: 50px;
}

.pt25 {
    padding-top: 25px;
}

.pt50 {
    padding-top: 50px;
}

.pt100 {
    padding-top: 100px;
}

.pt200 {
    padding-top: 200px;
}

.pb50 {
    padding-bottom: 50px;
}

.pb100 {
    padding-bottom: 100px;
}

.pb200 {
    padding-bottom: 200px;
}

.py-25 {
    padding-top: 25px;
    padding-bottom: 25px;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.my-15 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.my-25 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.my-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.w100 {
    width: 100%;
}

.h100 {
    height: 100%;
}

.maxContent {
    width: max-content !important;
}

.maxW100pc {
    max-width: 100%;
}

.maxW300px {
    max-width: 300px;
}

.maxW350px {
    max-width: min(100%, 350px);
}

.maxW400px {
    max-width: min(100%, 400px);
}

.maxW500px {
    max-width: min(500px, 100%);
}

.maxW700px {
    max-width: min(700px, 100%);
}

.maxW750px {
    max-width: min(750px, 100%);
}

.maxW900px {
    max-width: 900px;
}

.maxW1200px {
    max-width: 1200px;
}

.maxW1400px {
    max-width: 1400px;
}

.maxH90vh {
    max-height: 90vh;
}

.maxH90vh img {
    max-height: 90vh;
}

.d-flex {
    display: flex;
}

.flex-gap-5 {
    gap: 5%;
}

.flex-gap-7 {
    gap: 7%;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.d-none {
    display: none;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-space-around {
    justify-content: space-around;
}

.justify-content-space-between {
    justify-content: space-between;
}

.justify-self-center {
    justify-self: center !important;
}

.justify-self-end {
    justify-self: flex-end;
}

.align-self-center {
    align-self: center;
}

.align-self-end {
    align-self: flex-end !important;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.uppercase {
    text-transform: uppercase;
}

.regCase {
    text-transform: none !important;
}

.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
}

.justify {
    text-align: justify;
}

.loader {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1500;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.hero {
    min-height: min(600px, calc(100vh - 160px));

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding-right: 10vw;*/
    /*padding-left: 10vw;*/
    padding-top: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero .logo {
    height: 250px;
    width: 250px;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;

}

.fanion {
    min-height: 205px;
    width: min(100%, 1000px);
    background-image: url("/public/images/france-amande-fanion.png");
    background-size: cover;
    background-repeat: no-repeat;
    margin: -100px auto 100px;
    justify-content: center;
    padding-top: 15px;
    display: flex;
    position: absolute;
}

.fanion.amandes .content {
    position: relative;
}

.fanion.amandes .content::before {
    position: absolute;
    content: "";
    top: -55%;
    left: -488px;
    height: 139px;
    width: 133px;
    background-image: url("/public/images/france-amande-double-amande-blanche.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.fanion.amandes .content::after {
    position: absolute;
    content: "";
    top: -55%;
    right: -488px;
    height: 139px;
    width: 133px;
    background-image: url("/public/images/france-amande-double-amande-blanche-right.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.fanionWrapper {

    position: relative;
}

.fanionWrapper::before {
    position: absolute;
    content: "";
    min-height: 100px;
    width: min(100%, 1000px);
    background: #ffffff;
    margin: -50px auto 100px;
}

.fanion .title {
    font-weight: 600;
    font-size: clamp(2.0625rem, 1.8889rem + 0.9259vw, 3rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
}

.intro {
    font-size: clamp(1.3125rem, 1.2315rem + 0.4321vw, 1.75rem);
    margin-bottom: 100px;
}

.bordered, .bordered img {
    position: relative;
    display: block;
    z-index: 1;
}

.bordered::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    border: 2px solid #231F20;
    z-index: 0;
    display: block;
}

.cardContainer .bordered::after {
    top: 10px;
    left: 10px;
}

.bordered.golden::after {
    border-color: #C09148;
}

.bordered.light::after {
    border-color: #E0C9A5;
}

.bordered.full.grey::after {
    border-color: #D9D9D9;
    background-color: #D9D9D9;
}

.bordered.full.golden::after {
    border-color: #C09148;
    background-color: #C09148;
}

.bordered.full.light::after {
    border-color: #E0C9A5;
    background-color: #E0C9A5;
}

/* ******* end General******* */


/* *******HEADER******* */
.header {
    background: #ffffff;
}

.header .top {
    background: #D5B686;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    border-bottom: 2px solid #C09148;
    letter-spacing: 1px;
}

.header .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 120px;
    transition: height 200ms ease-in-out;

}

.header .bottom .logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 120px;
    padding-left: 30px;
    transition: height 200ms ease-in-out;
}

.header .bottom .menu {
    margin-left: auto;
    margin-right: 30px;
}

.header .bottom .menu ul {
    display: flex;
    gap: 2vw;
    margin-bottom: 0;
    margin-top: 0;
}

.menu ul li.active {
    color: #C09148;
}

.header .menu li {
    position: relative
}

.header .menu li::before {
    position: absolute;
    content: "";
    background-image: url("/public/images/france-amande-double-amandes-dorees.png");
    height: 31px;
    width: 22px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    right: calc(50% - 11px);
    transition: 200ms 200ms ease-in-out;
    bottom: calc(50% - 15px);
    opacity: 0;
}

.header .menu li:hover::before {
    bottom: -25px;
    opacity: 1;
}

.header .menu li a, .menu li {
    position: relative;
    text-transform: uppercase;
    font-size: 17px;
    background: #ffffff;
}

.header .menu li a::before {
    position: absolute;
    content: "";
    bottom: 0;
    right: 50%;
    width: 0;
    height: 1px;
    background-color: #E0C9A5;
    transition: 200ms ease-in-out;
}

.header .menu li:hover a::before, .header .menu li:hover a::after {
    width: 50%;
}

.header .menu li a::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #E0C9A5;
    transition: 200ms ease-in-out;
}

.header .bottom .social {
    margin-right: 30px;
    margin-left: 30px;

}

.header.sticky {
    position: sticky;
    width: 100vw;
    top: 0;
    right: 0;
    z-index: 100;
    transform: translateY(-38px);
}

.header .logo img {
    height: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

.header.sticky .logo, .header.sticky .bottom {
    height: 80px;
}

.header .hamburger {
    display: none;
    margin-right: 30px;
    margin-left: auto;
    cursor: pointer;
    position: relative;
}
.header #hamburger{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    content: "";
}
/* *********end header************ */

/* ********* sideNav************ */
/** sidenav **/
.sideNav {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: white;
    top: 0;
    z-index: 1001;
    height: 100vh;
    width: 100%;
    transform: translateX(100vw);
    transition: 0.7s ease-in-out;
    transform-origin: left;
    right: 0;
}

.sideNav.active {
    transform: translateX(0vw);
}

.sideNavFilter {
    position: absolute;
    background-color: #0006;
    opacity: 0;
    height: 100%;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
}

.sideNavFilter.active {
    display: block;
    animation: 1s ease 0.2s normal forwards 1 fadeIn;
}

.sideNav .close {
    position: absolute;
    height: 75px;
    right: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sideNav .social {
    position: absolute;
    height: 75px;
    left: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sideNav .menu li {
    margin-bottom: 30px;
    font-size: 20px;
}

/* *********end sideNav************ */

/* *********MAIN************ */
main {
    /*min-height: 120vh;*/
    width: 100vw;
    position: relative;
    overflow: hidden;
}

/* ********* end MAIN************ */

/* ********* contact************ */
.contact .hero:after {
    position: absolute;
    content: "";
    margin-bottom: min(8vw, 115px);
    margin-right: 3vw;
    bottom: 0;
    right: 0;
    background-image: url("/public/images/france-amande-logo-grise.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 8vw;
    width: 10vw;
    max-width: 160px;
    opacity: 0.8;
}

.contact .hero .foster::before {
    position: absolute;
    content: "";
    margin-bottom: 3%;
    margin-left: -28%;
    bottom: 0;
    left: 0;
    background-image: url("/public/images/france-amande-double-amande-blanche.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 150px;
    width: 155px;
}

.contact .hero .foster::after {
    position: absolute;
    content: "";
    margin-bottom: 3%;
    margin-right: -28%;
    top: 0;
    right: 0;
    background-image: url("/public/images/france-amande-double-amande-blanche-right.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 150px;
    width: 155px;
}

.contact .hero .foster {
    padding: 2vw;
    border: 2px solid #C09148;
    font-size: clamp(1.5625rem, 1.5278rem + 0.1852vw, 1.75rem);
}

.contact .container > .left {
    width: min(100%, 750px);
    padding: 5vw;
    padding-top: 0;
}

.contact .container .right .contact {
    margin-bottom: 50px;
    font-size: 19px;
}

.contact .contact-title {
    font-size: clamp(1.6875rem, 1.5833rem + 0.5556vw, 2.25rem);
    margin-bottom: 20px;
}

.doubleField {
    display: flex;
    gap: 45px
}

.formLine {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doubleField .formLine {
    margin-bottom: 50px;
    width: 50%;

}

.formLine label {
    text-transform: uppercase;
    font-size: 20px;
}

.formLine input::placeholder, .formLine input {
    font-family: "Source Sans 3", sans-serif;
    color: #282828;
    font-size: 18px;
}

.formLine input {
    border: none;
    border-bottom: 1px solid #282828;
}

.formLine input:focus {
    outline: none;
}

.formLine textarea {
    width: 100%;
    font-size: 18px;
    padding: 15px;
    font-family: "Source Sans 3", sans-serif;
    border-radius: 0;
    border: 1px solid #282828;
    resize: none;
}

/* ********* end contact************ */

/* ********* actualites ************ */
.actualites .hero {
    background-image: url("/public/images/france-amande-assiette-amandes.jpg");
}

.cardContainer {
    max-width: min(100%, 1500px);
    margin-right: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-gap: 50px 2%;
}

.card {
    display: flex;
    flex-direction: column;
    max-width: min(100%, 350px);
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
}

.card .imgWrapper {
    height: 350px;
    width: 100%;
    position: relative;
    display: block;
    z-index: 1;
    margin-bottom: 20px;
}

.card .imgWrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card .date {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
}

.card .cardTitle {
    text-transform: uppercase;
    text-align: center;
    font-size: 24px;
}

.card .cardText {
    text-align: justify;
    max-height: 125px;
    overflow: hidden;
    line-height: 30px;
}
.actualites .card .cardText{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ********* end actualites ************ */

/* *********  actualite ************ */
.paysageContainer {
    margin-right: auto;
    margin-left: auto;
    max-width: min(1000px, 100%);
}

.actualiteTitle {
    font-size: clamp(2rem, 1.9653rem + 0.1852vw, 2.1875rem);
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
    color: #282828;
}

.backWrapper {
    padding-right: 7%;
    padding-left: 7%;
}

.back {
    height: 60px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 1px solid #231F20;
}

.back a {
    width: 100%;
    height: 100%;
}

.actualite .portraitContainer .bordered img {
    max-height: min(100vh, 600px);
}

/* ********* end actualite ************ */

/* *********  about ************ */

.about .hero {
    background-image: url("/public/images/france-amande-amandes-de-bouche.jpg");
}

.about .cardContainer {
    max-width: min(100%, 1350px);
    grid-row-gap: 100px;
}

.about .card {
    /*max-width: min(100%, 300px);*/
}

.about .card .imgWrapper {
    /*height: 300px;*/
}

.about .cardTitle {
    margin-bottom: 5px;
    font-size: 26px;
    font-weight: 400;
}

.about .cardSubTitle {
    font-size: 20px;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.about .card .cardText {
    max-height: none;
    font-weight: 300;
}

/* *********  end about ************ */


/******** ACCUEIL **********/
.accueil .hero {
    height: calc(100vh - 150px);
    background-image: url("/public/images/france-amande-champs-amandiers.jpg");
}

.accueil .whiteLogo {
    padding-top: 59px;
    max-width: min(70%, 350px);
    padding-bottom: 50px;
}

.accueil .accueilFanion {
    margin-top: 50px;
    max-width: min(90%, 900px);
}

.accueil .accueilFanionSmart {
    display: none;
}

.accueil .accueilFanionSmartXs {
    display: none;
    margin-bottom: 50px;
    opacity: 0.9;
}

.accueil .filiereText {
    position: absolute;
    height: 100%;
    top: 0;
    right: 100px;
    z-index: 10;
    padding-right: 146px;
}

.accueil .amandeFiliere {
    z-index: 1;
}

.accueil .filiereAmande {
    width: min(100%, 1500px);
    margin-right: auto;
    margin-left: auto;
}

.accueil .filiereAmande .bordered img {
    height: 850px;
}

.accueil .infosFiliere div div .bordered:nth-child(1) {
    transform: translateY(-18vh);
}

.accueil .infosFiliere div div .bordered:nth-child(2) {
    transform: translateY(6vh);
}

.accueil .infosFiliere div div .bordered:nth-child(1)::after {
    left: -15px;
}

.accueil .missions .missionGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 23px;
    grid-row-gap: 23px;
    max-width: min(100%, 1500px);
    margin-right: auto;
    margin-left: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.missionGrid .mission {
    min-height: 200px;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.missionGrid .mission.border-black {
    border: 1px solid #231F20;
}

.missionGrid .mission.red {
    border: 1px solid rgba(204, 16, 19, 9%);
    background-color: rgba(204, 16, 19, 9%);
}

.missionGrid .mission.beige {
    border: 1px solid rgba(224, 201, 165, 46%);
    background-color: rgba(224, 201, 165, 46%);
}

.missionGrid .mission.blue {
    border: 1px solid rgba(233, 235, 243, 90%);
    background-color: rgba(233, 235, 243, 90%);
}

.missionGrid .logo {
    opacity: 0.8;
}

.accueil .acteurs {
    background-image: url("/public/images/france-amande-acteurs.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.accueil .wrapper {
    gap: 20px;
    padding: 5%;
}

.accueil .acteurs .wrapper .flex-1:nth-child(1) {
    padding: 0 20px;
}

.acteursGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 2fr repeat(3, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
}

.accueil .acteur {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 56px 30px;
}

.acteur .title {
    color: #ffffff;
    font-size: clamp(1.5625rem, 0.8594rem + 2.25vw, 2.125rem);
}

.acteursGrid .acteur:nth-child(1) {
    grid-area: 1 / 1 / 4 / 2;
    border-bottom: 1px solid #C09148;
    border-right: 1px solid #C09148;
}

.acteursGrid .acteur:nth-child(2) {
    grid-area: 4 / 1 / 6 / 2;
    border-top: 1px solid #C09148;
    border-right: 1px solid #C09148;
}

.acteursGrid .acteur:nth-child(3) {
    grid-area: 3 / 2 / 6 / 3;
    border-top: 1px solid #C09148;
    border-left: 1px solid #C09148;
}

.acteursGrid .acteur:nth-child(4) {
    grid-area: 1 / 2 / 3 / 3;
    border-bottom: 1px solid #C09148;
    border-left: 1px solid #C09148;
}

.acteursGrid .acteur .text {
    text-align: center;
}

.accueil .partners .partner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.accueil .partners .partner .text {
    max-width: min(100%, 250px);
    text-align: center;
    font-weight: 600;
}

.accueil .partners .partner img {
    object-fit: contain;
    object-position: center;
    height: 160px;
}

/******** end ACCUEIL **********/
/******** PAGE **********/
.page h2{
    font-size: clamp(1.875rem, 1.8519rem + 0.1235vw, 2rem);
    text-align: start;
}
.page .container {
    text-align: justify;
    line-height: 30px;
}
/******** end PAGE **********/

/******** FOOTER **********/
.footer {
    z-index: 50;
}

.footer .top {
    font-size: 16px;
    border-top: 2px solid #231F20;
    border-bottom: 2px solid #231F20;
    padding: 30px 12px;
}

.footer .social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer .bottom {
    margin: 10px;
    color: #7D7D7D;
    font-weight: 400;
    font-size: 14px;
}

.footer .bottom a {
    margin-right: 5px;
    margin-left: 5px;
    font-weight: 600;
}

.footer .nav > div {
    font-size: 18px;
    margin-bottom: 18px;
    width: 100%;
}

.footer .social {
    font-size: 20px;
}

.footer .top .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/******** end FOOTER **********/



.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    margin-top: 30px;
    padding: 20px;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    margin-top: 30px;
    padding: 20px;
}


/******** Media queries **********/
@media screen and (max-width: 1600px) {
    .container {
        padding-right: 7%;
        padding-left: 7%;
    }

    .accueil .filiereText {
        padding-right: 140px;
    }
}

@media screen and (max-width: 1500px) {
    .accueil .acteurs .wrapper {
        flex-direction: column;
    }

    .acteurs .wrapper .flex-2 {
        width: 100%;
        margin-left: 15vw;
        padding-bottom: 50px;
    }

    .acteurs .wrapper .flex-3 {
        width: min(100%, 990px);
        margin-right: 5vw;
        margin-left: auto;
    }

    .acteurs .flex-2 .text {
        max-width: min(100%, 615px);
    }
}

@media screen and (max-width: 1400px) {

    .contact .hero:after {
        display: none;
    }

    .fanion.amandes .content::before {
        top: -74%;
        left: -343px;
        height: 121px;
        width: 113px;
        transform: rotate(26deg);
    }

    .fanion.amandes .content::after {
        top: -74%;
        right: -343px;
        height: 121px;
        width: 113px;
        transform: rotate(-26deg);
    }

    .cardContainer {
        margin-right: min(5vw, 30px);
        margin-left: min(5vw, 30px);
    }

    .accueil .filiereText {
        height: 100%;
        width: 100%;
        padding-right: 7%;
        padding-left: 7%;
        background-image: url("/public/images/france-amande-filiere-francaise-lg-tablet.jpg");
        background-position: 54% top;
        background-repeat: no-repeat;
        margin: 0;
        right: 0;
    }

    .accueil .filiereAmande {
        min-height: max(100vh, calc(800px + 16vh));
        margin-top: 0;
    }

    .accueil .filiereAmande .bordered img {
        display: none;
    }

    .flex-xl-2 {
        flex: 2;
    }

    .accueil .infosFiliere .infoImage img {
        max-height: 300px;
    }

    .accueil .infosFiliere .bordered.infoImage.small {
        transform: translateY(15vh);
    }

    .accueil .infosFiliere div .flex-1:nth-child(1) {
        justify-content: flex-start;
    }

    .accueil .infosFiliere div .flex-1:nth-child(3) {
        justify-content: flex-end;
    }

    .accueil .missions .missionGrid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1199px) {
    .flex-xl-column {
        flex-direction: column;
    }

    .header .hamburger {
        display: block;
    }

    .header .bottom .menu, .header .bottom .social {
        display: none;
    }

    .footer .nav:nth-child(4) {
        text-align: center
    }

    .accueil .infosFiliere div .flex-1:nth-child(1) {
        justify-content: space-around;
        width: min(500px, 100%);
        padding-bottom: 75px;
    }

    .accueil .infosFiliere {
        padding-bottom: 100px;
    }

    .acteurs .wrapper .flex-3 {
        margin-right: auto;
        margin-left: auto;
    }

    .acteurs .wrapper .flex-2 {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .acteurs .wrapper .flex-2 .title.secondary, .acteurs .wrapper .flex-2 .text {
        text-align: center;
    }

}

@media screen and (max-width: 1190px) {

    .mt-l-50 {
        margin-top: 50px;
    }

    .footer .upper {
        width: 100%;
        justify-content: space-around;
    }

    .footer .item {
        width: 50%;
        align-items: center;
    }

    /*.footer .bottom .item.nav::nth(1){*/
    /*    */
    /*}*/
    .footer .top .container {
        justify-content: space-around;
        padding: 30px min(10vw, 100px);
    }

    .cardContainer {
        grid-template-columns: 50% 50%;
        grid-gap: 50px 0;
    }

    .bordered::after {
        display: none;
    }

    .bordered.persist::after {
        display: block;
    }

    .back {
        border: none;
        width: max-content;
    }

    .back svg {
        height: 25px;
        width: 25px;
    }


}

@media screen and (max-width: 991px) {
    .flex-lg-column {
        flex-direction: column;
    }

    .flex-lg-column-reverse {
        flex-direction: column-reverse;
    }

    /*.title {*/
    /*    font-size: 21px;*/
    /*}*/
    .hamburger {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /*.container {*/
    /*    padding-right: 0;*/
    /*    padding-left: 0;*/
    /*}*/
    .tablet-smart-px-7pc {
        padding-right: 7%;
        padding-left: 7%;
    }

    .text-sm-center, .text-sm-center p, .text-sm-center span {
        text-align: center;
    }

    .mx-sm-auto {
        margin-right: auto;
        margin-left: auto;
        display: block;
    }

    .mx-sm-15 {
        margin-right: 15px;
        margin-left: 15px;
    }

    .contact .hero::after {
        display: none;
    }

    .contact .hero .foster::before {
        margin-top: -13vw;
        margin-left: 4vw;
        top: 0;
        left: 0;
        height: 10vw;
        width: 10vw;
        transform: rotate(30deg);
        max-width: 160px;
        max-height: 160px;
    }

    .contact .hero .foster::after {
        top: unset;
        margin-bottom: -13vw;
        margin-right: 4vw;
        bottom: 0;
        right: 0;
        height: 10vw;
        width: 10vw;
        transform: rotate(67deg);
        max-width: 160px;
        max-height: 160px;
    }

    .fanion.amandes .content::before {
        top: -70%;
        left: -14vw;
        height: 112px;
        width: 100px;
        transform: rotate(26deg);
    }

    .fanion.amandes .content::after {
        top: -70%;
        right: -14vw;
        height: 112px;
        width: 100px;
        transform: rotate(-26deg);
    }

    .fanion .title {
        transform: translateY(30px);
    }

    .hero .logo {
        height: 200px;
        width: 200px;
    }

    .actualite .portraitContainer .bordered img {
        width: 100%;
        object-fit: cover;
        max-height: min(70vh, 500px);
    }

    .actualite .portraitContainer .bordered {
        width: 100%;
    }

    .accueil .accueilFanion {
        display: none;
    }

    .accueil .accueilFanionSmart {
        display: block;
        width: min(97%, 730px);
    }

    .accueil .missions .missionGrid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media screen and (max-width: 850px) {
    .cardContainer {
        grid-template-columns: 100%;
        grid-gap: 70px;
    }

    .card .imgWrapper {
        height: 300px;
    }
}

@media screen and (max-width: 767px) {
    .flex-md-column {
        flex-direction: column;
    }

    .align-items-md-center {
        align-items: center;
    }

    .justify-content-md-center {
        justify-content: center;
    }

    .mb-sm-20 {
        margin-bottom: 20px;
    }

    .footer .item {
        width: 100%;
        text-align: center;
    }

    .footer .item {
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .accueil .filiereText {
        background-image: url("/public/images/france-amande-filiere-francaise-smartphone-1.jpg");
        background-position: 50% bottom;
        background-size: cover;
    }

    .accueil .filiereAmande .filiereText .title, .accueil .filiereAmande .filiereText .text {
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .accueil .filiereAmande .filiereText .btn-custom {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .accueil .missions .missionGrid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .accueil .mission {
        width: min(410px, 100%);
        margin: auto;
    }
    .page h2{
        text-align: center;
    }
}


@media screen and (max-width: 640px) {
    .accueil .acteurs .acteursGrid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .accueil .acteurs .acteursGrid .acteur {
        grid-area: auto;
        border: none;
        position: relative;
    }

    .accueil .acteurs .acteursGrid .acteur .title, .accueil .acteurs .acteursGrid .acteur .text {
        max-width: min(100%, 420px);
    }

    .accueil .acteurs .acteursGrid .acteur:nth-child(2)::after, .accueil .acteurs .acteursGrid .acteur:nth-child(3)::after, .accueil .acteurs .acteursGrid .acteur:nth-child(4)::after {
        position: absolute;
        content: "";
        top: 0;
        right: 0;
        left: 0;
        width: 200px;
        height: 2px;
        margin-right: auto;
        margin-left: auto;
        background: #C09148;
    }
}


@media screen and (max-width: 575px) {
    /* breakpoint = XSM */
    /*.title {*/
    /*    font-size: 18px;*/
    /*    line-height: 25px;*/
    /*}*/
    .text {
        font-size: 17px;
    }

    .d-xsm-flex {
        display: flex;
    }

    .d-xsm-none {
        display: none !important;
    }

    .flex-xsm-column {
        flex-direction: column;
    }

    .flex-xsm-column-reverse {
        flex-direction: column-reverse;
    }

    .px-xsm-0 {
        padding-right: 0;
        padding-left: 0;
    }

    .mb-xsm-15 {
        margin-bottom: 15px;
    }

    .mt-xsm-5 {
        margin-top: 5px;
    }

    .mb-xsm-20 {
        margin-bottom: 20px;
    }

    .hero {
        padding-bottom: 40px;
        padding-top: 40px;
    }

    .heroFanion {
        padding-bottom: 200px;
    }

    .contact .hero .foster::before {
        display: none;
    }

    .contact .hero .foster::after {
        display: none;
    }

    .contact .hero .foster {
        border: none;
    }

    .doubleField {
        flex-direction: column;
        gap: 0;
    }

    .doubleField .formLine {
        width: 100%;
    }

    .fanion {
        margin-bottom: 0;
    }

    .accueil .accueilFanionSmart {
        display: none;
    }

    .accueil .accueilFanionSmartXs {
        display: block;
        width: min(97%, 730px);
        margin-top: 50px;
    }

    .accueil .whiteLogo {
        max-width: 150px;
        padding-top: 0;
    }

    .accueil .hero {
        padding-top: 0;
        padding-bottom: 0;
    }
}


@media screen and (max-width: 362px) {
    .header.sticky {

        transform: translateY(-60px);
    }
}


@media (min-width: 769px) {
    .sideNav {
        width: 50vw;
    }

}

@media screen and (min-width: 576px) and (max-width: 767px) {
    /* breakpoint = SM */
    .d-sm-none {
        display: none !important;
    }

    .flex-sm-column {
        flex-direction: column;
    }

    .flex-sm-column-reverse {
        flex-direction: column-reverse;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /* breakpoint = MD */
    .d-md-none {
        display: none !important;
    }

    .flex-md-column-reverse {
        flex-direction: column-reverse;
    }

    .footer .upper .logo {
        align-items: flex-start;
    }


}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    /* breakpoint = L */
    .d-l-none {
        display: none !important;
    }

    .footer .upper .logo {
        align-items: flex-start;
    }

}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    /* breakpoint = XL */
    .d-xl-none {
        display: none !important;
    }
}

@media screen and (min-width: 1400px) {
    /* breakpoint = XXL */
    .d-xxl-none {
        display: none !important;
    }
}

/******** end Media queries **********/