:root {
    --white: #ffffff;
    --gray-light: #eeeeee;
    --gray-dark: #6a6a6a;
    --beige-light: #fdf6f1;
    --beige: #f7d3bc;
    --beige-dark: #e9b399;
    --blue-bright: #7dc3b8;
    --blue-light: #3ba99f;
    --blue: #2b6b68;
    --blue-dark: #1e3e3c;
    --green: #6abf69;
    --green-dark: #519e50;
    --yellow: #fcd74b;
    --red: #e86c5b;
    --red-dark: #c95647;
    --border-radius-small: 12px;
    --border-radius-medium: 15px;
    --border-radius-large: 40px;
    --border-radius-full: 100px;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Caveat";
    scroll-behavior: smooth;
    box-sizing: border-box;
}

/* Scrollbar */
*::-webkit-scrollbar {
    height: .625rem;
    width: .625rem;
}

*::-webkit-scrollbar-track {
    border-radius: .313rem;
    background-color: white;
}

*::-webkit-scrollbar-thumb {
    border-radius: .313rem;
    background-color: var(--blue-light);
}

/* Highlight */
::selection {
    background-color: var(--blue);
    color: #fff;
}

::-moz-selection {
    background-color: var(--blue);
    color: #fff;
}

::-o-selection {
    background-color: var(--blue);
    color: #fff;
}

::-ms-selection {
    background-color: var(--blue);
    color: #fff;
}

::-webkit-selection {
    background-color: var(--blue);
    color: #fff;
}

/* -------------------- GENERIQUE -------------------- */

ul , li {
    list-style: none;
}

h1 {
    font-size: 4rem;
    font-weight: 400;
    line-height: 3.5rem;
    color: var(--blue);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 3rem;
    color: var(--blue);
}

h3 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 2.5rem;
    color: var(--white);
}

h4 {
    font-family: "Amatic SC";
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

h5 {
    font-family: "Nunito";
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

h6 {
    font-family: "Nunito";
    font-size: 1.25rem;
    font-weight: 700;
}

strong {
    font-weight: 700;
}

a {
    cursor: pointer;
    text-decoration: none;
}

.centrage {
    margin: auto 10rem;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex-direction: column;
}

.gap-0-25 { gap: .25rem; }
.gap-0-5  { gap: .5rem; }
.gap-0-75 { gap: .75rem; }
.gap-1    { gap: 1rem; }
.gap-1-5  { gap: 1.5rem; }
.gap-1-75 { gap: 1.75rem; }
.gap-2    { gap: 2rem; }
.gap-3    { gap: 3rem; }
.gap-5    { gap: 5rem; }

.scrollable {
    overflow-x: auto;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

img, h1, h2, h3, h4, h6,
.cta-btn, .modal-close,
.card-category, .card-more,
.no-select {
    user-select: none;
}

/* -------------------- BOUTON -------------------- */

.cta-btn {
    position: relative;
    font-family: "Amatic SC";
    width: fit-content;
    border: none;
    cursor: pointer;
    font-weight: 700;
    padding: .5rem 1.5rem;
    border-radius: var(--border-radius-medium);
    color: var(--blue-dark);
    background-color: var(--yellow);
    transition: transform .4s;
    align-items: center;
}

.cta-btn:hover {
    transform: rotate(-2deg);
    transition: transform .4s;
}

.cta-medium i {
    margin-left: .5rem;
    font-size: 1.25rem;
}

.cta-medium {
    font-size: 1.75rem;
}

.cta-big {
    font-size: 2rem;
}

.cta-arrow {
    justify-content: center;
    margin-top: 1.5rem;
    padding: .5rem 1.5rem;
}

.cta-success {
    color: white;
    background-color: var(--green);
}

.cta-error {
    color: white;
    background-color: var(--red);
    animation: shake-rotate 0.4s ease;
}

@keyframes shake-rotate {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-4deg); }
    50%  { transform: rotate(4deg); }
    75%  { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

/* -------------------- RIBBON -------------------- */

.ribbon {
    --s: 5em;
    --d: 1.5em;
    --c: 1.5em;
    padding: 0 calc(var(--s) + .5em) var(--d);
    line-height: 1.8;
    background:
      conic-gradient(
        at left var(--s) bottom var(--d),
        #0000 25%,
        var(--beige-dark) 0 37.5%,
        var(--beige) 0
      ) 0 / 50% 100% no-repeat,
      conic-gradient(
        at right var(--s) bottom var(--d),
        var(--beige) 62.5%,
        var(--beige-dark) 0 75%,
        #0000 0
      ) 100% / 50% 100% no-repeat;
    clip-path: polygon(
        0 var(--d), var(--s) var(--d), var(--s) 0,
        calc(100% - var(--s)) 0, calc(100% - var(--s)) var(--d),
        100% var(--d), calc(100% - var(--c)) calc(50% + var(--d)/2),
        100% 100%, calc(100% - var(--s) - var(--d)) 100%,
        calc(100% - var(--s) - var(--d)) calc(100% - var(--d)),
        calc(var(--s) + var(--d)) calc(100% - var(--d)),
        calc(var(--s) + var(--d)) 100%, 0 100%, var(--c) calc(50% + var(--d)/2)
    );
    background-color: var(--beige);
    justify-content: space-between;
}

.ribbon-nav {
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
    gap: calc(250px);
}

/* -------------------- NAVBAR -------------------- */

header {
    position: relative;
    padding-top: 6rem;
    background-color: var(--beige-light);
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url(../images/logo/logo.webp);
    background-size: cover;
    background-position: top;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}

header > * {
    position: relative;
    z-index: 2;
}

/* Items */
.nav-group {
    flex: 1;
    justify-content: space-evenly;
}

.nav-group a , .nav-mobile , .mobile-menu-list li a {
    color: var(--blue);
    font-size: 2rem;
    font-weight: 700;
    transition: color .4s;
}

.nav-group a:hover , .mobile-menu-list li a:hover {
    color: var(--blue-light);
    transition: color .4s;
}

.nav-mobile {
    display: none;
}

.fa-bars {
    cursor: pointer;
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 80%;
    max-width: 300px;
    background-color: var(--beige-light);
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 2.75rem;
    justify-content: center;
    transition: right 0.3s ease-in-out;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-social {
    position: absolute;
    bottom: 2.75rem;
}

.mobile-menu-social li a {
    font-size: 1.5rem;
    font-family: "Nunito";
    color: var(--blue);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 2.75rem;
    left: 2.75rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--blue);
}

.close-menu i {
    pointer-events: none;
}

/* Logo */
.logo {
    position: absolute;
    user-select: none;
    left: 50%;
    top: 143px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.logo img {
    max-width: 250px;
    height: auto;
    transition: transform .6s cubic-bezier(.7, 0, 0, 1);
}

.logo img:hover {
    transform: scale(1.05);
    transition: transform .6s cubic-bezier(.7, 0, 0, 1);
}

/* -------------------- HERO -------------------- */

.hero-container {
    align-items: center;
    padding: 4rem 0 5rem 0;
}

/* Left */
.hero-group.left {
    flex: 1;
}

/* Right */
.hero-group.right {
    flex: 1;
    align-items: flex-end;
    justify-content: center;
}

.grid-image {
    display: flex;
    height: 400px;
}

.grid-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 160px;
}

.grid-column picture {
    display: block;
    width: 100%;
}

.img-vertical {
    height: calc(60% - 1rem);
}

.img-horizontal {
    height: 40%;
}

.grid-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mascotte */
.sylvette-container {
    position: absolute;
    width: 450px;
    bottom: -25px;
    right: 10rem;
    user-select: none;
    z-index: 2;
    filter: drop-shadow(0 0 100px var(--beige-light));
}

.sylvette-base {
    width: 100%;
    display: block;
}

.sylvette-arm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform-origin: 18% 72%;
    animation: swingArm 1.75s ease-in-out infinite alternate;
}

@keyframes swingArm {
    0% {
        transform: rotate(-2.5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

/* -------------------- NEWSLETTER -------------------- */

.newsletter-container {
    background-color: var(--blue);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper {
    position: relative;
    justify-content: space-around;
    z-index: 1;
}

/* Right */
.newsletter-form .input-wrapper {
    position: relative;
    width: auto;
}

.newsletter-form .input-wrapper i {
    position: absolute;
    left: 0; top: 0;
    padding: 13px 20px;
    font-size: 1.5rem;
    background-color: var(--blue-light);
    color: var(--white);
    border-radius: var(--border-radius-medium) 0 0 var(--border-radius-medium);
}

.newsletter-form button { 
    align-self: flex-start;
}

.newsletter-form .newsletter-input {
    font-family: "Nunito";
    width: 400px;
    height: 50px;
    color: var(--blue-dark);
    border-radius: 20px var(--border-radius-medium) var(--border-radius-medium) 20px;
    font-size: 1.15rem;
    outline: none;
    border: none;
    padding: .5rem 1.5rem .5rem 5.15rem;
}

.newsletter-form .checkbox-wrapper span {
    font-family: "Nunito";
    color: var(--white);
    position: relative;
    align-items: center;
    cursor: pointer;
}

.newsletter-form .checkbox-wrapper a {
    font-family: "Nunito";
    font-weight: 600;
    color: var(--blue-bright);
}

input[type="checkbox"] {
    appearance: none;
    padding: .5rem;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    transition: background-color 0.2s, border-color 0.2s;
}

input[type="checkbox"]:checked {
    background-color: var(--blue-light);
    border-color: var(--blue-bright);
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

input[type="checkbox"]:checked::after {
    opacity: 1;
}

/* Group */
.newsletter-group {
    position: relative;
}

.newsletter-group.left p {
    font-family: "Nunito";
    font-size: .75rem;
    color: var(--white);
}

.newsletter-group.right {
    align-self: center;
}

.newsletter-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6rem;
    width: 250px;
    height: 400px;
    filter: opacity(0.5);
    background: url(../images/background/fork-knife.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    transform: translate(-30%, 30%) rotate(20deg);
    z-index: 1;
    pointer-events: none;
}

.newsletter-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    z-index: 0;
    background: url(../images/background/food-cyan.webp);
    background-repeat: repeat;
    background-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 100%);
    mask-repeat: no-repeat;
    mask-size: cover;
    pointer-events: none;
}

.newsletter-unsub {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.newsletter-unsub p {
    font-family: "Nunito";
    font-size: 1rem;
    color: var(--blue-dark);
    text-align: center;
}

.newsletter-unsub a {
    margin: 3rem 0;
}

.newsletter-unsub p a {
    font-family: "Nunito";
    font-weight: 700;
    color: var(--blue-light);
}

/* -------------------- SECTION -------------------- */

section {
    padding: 3rem 0;
}

section h4 {
    padding-bottom: 3rem;
}

/* -------------------- ANNONCE -------------------- */

.announce-container {
    background-color: var(--beige-light);
    padding: 0;
}

body:has(.newsletter-container) .announce-container {
    padding-top: 2rem;
}

.announce {
    position: relative;
    background-color: rgba(247, 211, 188, .25);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    align-items: center;
    overflow: hidden;
}

.announce::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    width: 400px;
    height: 400px;
    transform: rotate(-10deg);
    background: url('../images/background/ladle.webp') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
}

.announce::after {
    content: "";
    position: absolute;
    bottom: 30px;
    right: 50px;
    width: 300px;
    height: 300px;
    transform: rotate(-10deg);
    background: url('../images/background/stove.webp') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
}

.announce-title {
    color: var(--blue);
    z-index: 1;
}

.announce-content {
    max-width: 600px;
    font-family: "Nunito";
    font-size: 1.125rem;
    text-align: center;
    color: var(--blue-dark);
}

.announce-date {
    font-family: "Nunito";
    font-size: .75rem;
    color: var(--gray-dark);
    align-self: end;
    margin-top: 1rem;
}

/* -------------------- PLATS -------------------- */

.card-container {
    background-color: var(--beige-light);
    background-size: calc(100vw/8) calc(100vw/6);
    background-image:
      linear-gradient(to right, rgba(233, 179, 153, 0.2) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(233, 179, 153, 0.2) 1px, transparent 1px);
    background-position: center;
}

.card-container h4 {
    color: var(--blue);
}

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}

/* Filtres */
.filters-container {
    margin-top: -1.5rem !important;
    margin-bottom: 1.5rem !important;
    align-items: center;
    justify-content: flex-end;
}

.filters-container p {
    font-family: "Nunito";
    font-size: .85rem;
    color: var(--blue-dark);
}

.search-wrapper {
    position: relative;
}

.filter-search {
    height: 40px;
    font-family: "Nunito";
    padding: 0.5rem 2.75rem 0.5rem 1rem;
    color: var(--blue-dark);
    background-color: var(--white);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--gray-light);
    font-weight: 600;
    font-size: 1rem;
    outline: none;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--gray-dark);
    font-size: 1.2rem;
    padding: 0.25rem;
    border-radius: var(--border-radius-full);
    transition: color .3s ease, background-color .3s ease;
}

.filter-search:focus, .filter-select:focus {
    border-color: var(--blue);
}

.search-button:hover, .search-button:focus {
    color: var(--blue);
    background-color: rgba(0,0,0,0.05);
}

.filter-select {
    height: 40px;
    font-family: "Nunito";
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--gray-light);
    color: var(--blue-dark);
    background-color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

.filter-select option {
    font-family: "Nunito";
    color: var(--blue-dark);
}

/* Card */
.card {
    height: 100%;
    position: relative;
    flex-direction: column;
    border-radius: var(--border-radius-large);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.card-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;  
    user-select: none; 
}

.badge {
    position: absolute;
    font-family: "Nunito";
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0 .5rem;
    color: var(--blue-dark);
    top: 1.75rem;
    right: 1.75rem;
    user-select: none;
}

.badge-ribbon {
    --r: .5em;
    width: fit-content;
    padding-inline: calc(var(--r) + .3em);
    line-height: 1.5;
    clip-path: polygon(0 0,100% 0,calc(100% - var(--r)) 50%,100% 100%,0 100%, var(--r) 50%);
    background: var(--yellow);
}

.card-content {
    flex-grow: 1;
    text-align: center;
    justify-content: space-between;
    margin-top: -2.75rem;
    color: var(--blue-dark);
    border-radius: var(--border-radius-large);
    padding: 1.75rem;
}

.card-wrapper .card-content {
    background-color: var(--beige);
}

.card-details {
    justify-content: space-between;
}

.card-category {
    font-family: "Nunito";
    font-size: 1.125rem;
    color: var(--white);
    padding: 0.125rem 1rem;
    border-radius: var(--border-radius-medium);
    margin-right: auto;
    text-transform: lowercase;
}

.card-more {
    font-family: "Nunito";
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--blue);
    align-items: center;
    cursor: pointer;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-content::-webkit-scrollbar { 
    display: none; 
}

.modal-content {
    position: relative;
    border-radius: var(--border-radius-large);
    max-width: 500px;
    max-height: 90vh;
    width: 100%;
    overflow-y: scroll;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}

.modal-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / .4;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.modal-body {
    position: relative;
    background-color: var(--beige);
    padding: 1.75rem;
    flex-direction: column;
    color: var(--blue-dark);
    margin-top: -2.75rem;
    border-radius: var(--border-radius-large);
}

.modal-header .card-category {
    position: absolute;
    top: 1.75rem;
    left: 1.75rem;
}

.modal-body h5 {
    text-align: center;
}

.modal-text {
    gap: .5rem;
}

.modal-text > span {
    font-family: "Nunito";
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

.modal-price span {
    display: inline-block;
    width: fit-content;
    height: 40px;
    padding: .5rem;
    align-content: center;
    color: var(--blue-dark);
    background-color: var(--white);
    border-radius: var(--border-radius-small);
}

.modal-ingredients span , .modal-remarque span {
    font-size: 1rem !important;
    font-weight: 500;
}

.modal-dispenser-container {
    align-items: center;
}

.modal-dispenser-container > span {
    font-family: "Nunito";
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

.numbers-list span {
    display: inline-block;
    width: 40px;
    height: 40px;
    font-family: "Nunito";
    font-size: 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--blue);
    align-content: center;
    color: var(--blue-dark);
    background-color: var(--white);
    border-radius: var(--border-radius-small);
}

.allergen-list span {
    font-family: "Nunito";
    font-weight: 700;
    font-size: 1rem;
    height: 40px;
    padding: .5rem;
    align-content: center;
    color: var(--blue-dark);
    background-color: var(--white);
    border-radius: var(--border-radius-small);
}

.modal-freezing h6 {
    align-items: center;
}

h6 .fa-check {
    color: var(--green-dark);
}

h6 .fa-xmark {
    color: var(--red-dark);
}

.modal-date {
    justify-content: space-between;
    align-items: end;
    flex-wrap: nowrap;
}

.modal-date p {
    font-family: "Nunito";
    font-weight: 500;
    font-size: .75rem;
    color: var(--gray-dark);
}

.modal-close {
    padding: 0.5rem 1rem;
    border: none;
    background-color: var(--blue);
    color: white;
    font-family: "Nunito";
    font-size: 1.125rem;
    font-weight: bold;
    align-items: center;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-wrap: nowrap;
}

.modal-close:hover {
    background-color: var(--blue-dark);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------- DISTRIBUTEURS -------------------- */

.dispensers-container {
    position: relative;
    background-color: var(--blue-light);
    z-index: 0;
}

.dispensers-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/background/food.webp);
    opacity: 0.1;
    pointer-events: none;
}

.dispensers-container h4 {
    color: var(--beige);
}

.dispensers-container .centrage > p {
    max-width: 750px;
    margin: auto;
    font-size: 2rem;
    line-height: 1;
    color: var(--beige-light);
    text-align: center;
    padding-bottom: 3rem;
}

.dispensers-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 275px));
    justify-content: center;
    z-index: 1;
}

.dispensers-wrapper .card-content {
    background-color: var(--blue-bright);
    color: var(--white)
}

.dispensers-wrapper .card-details {
    justify-content: center;
}

.dispensers-wrapper .dispenser-location {
    display: inline-flex;
    width: max-content;
    font-size: 1.5rem;
}

.dispensers-wrapper .dispenser-location i {
    color: var(--blue-light);
}

.dispensers-wrapper .dispenser-details {
    font-family: "Nunito";
    font-size: .9rem;
    line-height: 1;
}

/* -------------------- PRODUITS LOCAUX -------------------- */

.partners-container {
    background-color: var(--beige);
}

.partners-container h4 {
    color: var(--blue);
}

.partners-container .centrage > p {
    max-width: 750px;
    margin: auto;
    font-size: 2rem;
    line-height: 1;
    color: var(--blue-dark);
    text-align: center;
}

.partners-wrapper {
    width: 100%;
    margin-top: 3rem !important;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    padding: 1rem;
    text-align: center;
}

.swiper-slide div {
    width: 300px;
    height: 150px;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-slide a {
    color: var(--blue-dark);
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--blue);
}

.swiper-slide {
    margin-bottom: 1rem;
}

.swiper-pagination-bullet-active {
    background-color: var(--blue) !important;
}

/* -------------------- FOOTER -------------------- */

.footer-container {
    padding: 3rem 0;
    background-color: var(--blue);
}

.footer-content {
    flex: 1;
}

.footer-info , .footer-socials {
    flex-basis: 10%;
}

.footer-wrapper img {
    width: auto;
    height: 200px;
}

.footer-content h6 {
    font-family: "Nunito";
    color: var(--white);
}

.footer-content p , .footer-content ul li a {
    font-size: 1.125rem;
    font-family: "Nunito";
    color: var(--white);
}

.footer-content li a i {
    font-size: 1.25rem;
}

.footer-socials ul li a {
    width: fit-content;
    align-items: center;
}

/* -------------------- FOOTER -------------------- */

.copyright-container {
    padding: 1.5rem 0;
    font-size: 1rem;
    background-color: var(--blue-dark);
}

.copyright-wrapper {
    justify-content: space-between;
    align-items: center;
}

.copyright-wrapper p , .copyright-wrapper p strong {
    font-family: "Nunito";
    color: var(--white);
}

.afsca {
    align-items: center;
}

.afsca img {
    border-radius: var(--border-radius-full);
    width: 50px;
}

.heart {
    display: inline-block;
    font-size: 1.125rem;
    transform-origin: center;
}

.animate-beat {
    animation: beat 2s infinite ease-in-out;
}

@keyframes beat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.15); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.1); }
  60%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* -------------------- INFO / LEGAL -------------------- */

.info-container div * {
    font-family: "Nunito";
    font-size: 1rem;
    line-height: 1.75;
}

.info-container li {
    margin-left: 2rem;
    padding-left: .5rem;
}

.info-container li::before {
    content: '-';
    margin-right: 1rem;
}

.info-container h2 , .info-container hr {
    margin: 1rem 0;
}

.info-container a {
    font-weight: 700;
    color: var(--blue-light);
    transition: color .3s ease;
}

.info-container a:hover {
    color: var(--blue);
}

table {
    width: 100%;
    max-width: 600px;
    margin: 1em 0;
    border-collapse: collapse;
}

.cookie-table tr {
    border-bottom: 1px solid var(--blue); 
}

.cookie-table th, .cookie-table td {
    padding: 8px;
    text-align: left;
}

/* Ordinateur */
@media screen and (max-width: 1440px) {
    header {
        padding-top: 5rem;
    }
    .logo {
        top: 127px;
    }
    .centrage {
        margin: auto 7.5rem;
    }
    .sylvette-container {
        width: 375px;
        right: 5rem;
    }
    .logo img {
        max-width: 200px;
    }
    .nav-mobile {
        display: flex;
        justify-content: space-between;
    }
    .nav-group:not(.nav-mobile) {
        display: none;
    }
    .ribbon {
        --s: 2em;
    }
}

@media screen and (max-width: 1500px) {
    .newsletter-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .newsletter-group.right {
        align-self: center;
    }
}

@media screen and (max-width: 1250px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-group {
        text-align: center;
        align-items: center;
    }
    .card-container {
        background-size: calc(100vw / 6) calc(100vw / 5);
    }
    .copyright-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* Laptop */
@media screen and (max-width: 1024px) {
    header {
        padding-top: 4rem;
    }
    .logo {
        top: 111px;
    }
    .centrage {
        margin: auto 5rem;
    }
    .sylvette-container {
        width: 375px;
        right: 5rem;
    }
    .logo img {
        max-width: 150px;
    }
    .card-container {
        background-size: calc(100vw / 4) calc(100vw / 3);
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    header {
        padding-top: 3rem;
    }
    .logo {
        top: 95px;
    }
    .centrage {
        margin: auto 1.5rem;
    }
    .sylvette-container {
        width: 300px;
        right: 2.5rem;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 1.5rem;
    }
    .newsletter-form button {
        align-self: center;
    }
    .card-container {
        background-size: calc(100vw / 3.5) calc(100vw / 2.5);
    }
}

@media screen and (max-width: 630px) {
    .grid-image {
        width: 400px;
    }
    .nav-mobile li:first-child {
        opacity: 0;
    }
    .logo {
        left: 10rem;
    }
    .ribbon {
        margin: auto 1rem;
    }
    .filters-container {
        flex-direction: column;
        align-items: end;
    }
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-content ul li {
        justify-content: center;
        align-items: center;
    }
    .afsca {
        justify-content: center;
    }
    .announce::before , .announce::after {
        opacity: 0;
    }
}

@media screen and (max-width: 450px) {
    .grid-image {
        width: 300px;
    }
    .grid-column:first-child {
        display: none;
    }
    .swiper-slide img {
        max-width: 200px;
    }
    .newsletter-form .newsletter-input {
        width: 310px;
        padding: .5rem 1.5rem .5rem 5rem;
    }
    .checkbox-wrapper {
        flex-wrap: nowrap;
        text-align: left;
    }
    .card-container {
        background-size: calc(100vw / 2) calc(100vw / 1);
    }
}

@media screen and (max-width: 350px) {
    .logo {
        left: 8rem;
    }
    .sylvette-container {
        right: .75rem;
    }
    .grid-image {
        width: 250px;
    }
    .newsletter-form .newsletter-input {
        width: 250px;
    }
}
