:root {
    --store-primary: #146c43;
    --store-primary-dark: #0b4f30;
    --store-primary-light: #e8f5ee;

    --store-accent: #f4a62a;
    --store-accent-light: #fff5df;

    --store-white: #ffffff;
    --store-background: #f7f9f8;
    --store-border: #e3e9e5;

    --store-text: #17211c;
    --store-text-secondary: #647069;
    --store-text-light: #89928d;

    --store-danger: #c0392b;

    --store-shadow-small:
        0 8px 25px rgba(17, 65, 43, 0.07);

    --store-shadow-medium:
        0 18px 45px rgba(17, 65, 43, 0.12);

    --store-radius-small: 12px;
    --store-radius-medium: 20px;
    --store-radius-large: 30px;

    --store-container-width: 1240px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;
    background: var(--store-background);
    color: var(--store-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    line-height: 1.5;
}


button,
input,
a {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


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


button {
    border: none;
    cursor: pointer;
}


/* ==============================
   En-tête
   ============================== */

.store-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 76px;
    padding: 12px max(24px, calc((100% - var(--store-container-width)) / 2));

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(227, 233, 229, 0.85);

    backdrop-filter: blur(14px);
}


.store-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}


.store-logo-icon {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    background:
        linear-gradient(
            145deg,
            var(--store-primary),
            var(--store-primary-dark)
        );

    border-radius: 14px;
    color: var(--store-white);
    font-size: 23px;
    font-weight: 900;

    box-shadow: 0 9px 20px rgba(20, 108, 67, 0.22);
}


.store-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}


.store-logo-text strong {
    color: var(--store-primary-dark);
    font-size: 20px;
    letter-spacing: 0.4px;
}


.store-logo-text small {
    margin-top: 4px;
    color: var(--store-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}


.store-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}


.store-navigation a {
    position: relative;
    color: var(--store-text-secondary);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}


.store-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;

    height: 2px;

    background: var(--store-primary);
    border-radius: 999px;

    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}


.store-navigation a:hover {
    color: var(--store-primary);
}


.store-navigation a:hover::after {
    transform: scaleX(1);
}


.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;
    padding: 10px;

    background: var(--store-primary-light);
    border-radius: 13px;
}


.mobile-menu-button span {
    width: 100%;
    height: 2px;

    background: var(--store-primary-dark);
    border-radius: 999px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.mobile-navigation {
    display: none;
}


/* ==============================
   Présentation
   ============================== */

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
    align-items: center;
    gap: 40px;

    min-height: 570px;
    padding:
        70px
        max(24px, calc((100% - var(--store-container-width)) / 2));

    background:
        linear-gradient(
            135deg,
            #f3fbf6 0%,
            #ffffff 52%,
            #fff8ea 100%
        );
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}


.hero-badge,
.section-label {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    background: var(--store-primary-light);
    border: 1px solid rgba(20, 108, 67, 0.12);
    border-radius: 999px;

    color: var(--store-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


.hero-content h1 {
    max-width: 700px;
    margin-top: 22px;

    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.98;
}


.hero-content h1 span {
    display: block;
    margin-top: 11px;
    color: var(--store-primary);
}


.hero-content p {
    max-width: 610px;
    margin-top: 26px;

    color: var(--store-text-secondary);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.7;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 56px;
    margin-top: 34px;
    padding: 0 25px;

    background: var(--store-primary);
    border-radius: 16px;

    color: var(--store-white);
    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 14px 30px rgba(20, 108, 67, 0.23);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.hero-button:hover {
    background: var(--store-primary-dark);
    box-shadow: 0 18px 34px rgba(20, 108, 67, 0.28);
    transform: translateY(-2px);
}


.hero-button span {
    font-size: 21px;
}


.hero-illustration {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    min-height: 430px;
}


.shopping-bag {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(330px, 80vw);
    height: 310px;

    background:
        linear-gradient(
            145deg,
            var(--store-primary),
            var(--store-primary-dark)
        );

    border-radius: 38px 38px 70px 70px;

    box-shadow:
        0 35px 70px rgba(11, 79, 48, 0.25);

    transform: rotate(3deg);
}


.bag-handle {
    position: absolute;
    top: -71px;

    width: 155px;
    height: 110px;

    border: 19px solid var(--store-primary-dark);
    border-bottom: none;
    border-radius: 100px 100px 0 0;
}


.bag-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;

    font-size: 62px;
    transform: rotate(-3deg);
}


.hero-small-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 190px;
    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(227, 233, 229, 0.8);
    border-radius: 18px;

    box-shadow: var(--store-shadow-medium);
}


.hero-small-card > span {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    background: var(--store-primary-light);
    border-radius: 12px;

    color: var(--store-primary);
    font-size: 18px;
    font-weight: 900;
}


.hero-small-card div {
    display: flex;
    flex-direction: column;
}


.hero-small-card strong {
    font-size: 13px;
}


.hero-small-card small {
    margin-top: 2px;
    color: var(--store-text-secondary);
    font-size: 11px;
}


.card-delivery {
    top: 38px;
    right: 0;
}


.card-family {
    bottom: 23px;
    left: 0;
}


.hero-background-shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
}


.hero-shape-one {
    top: -170px;
    right: -110px;

    width: 470px;
    height: 470px;

    background: rgba(244, 166, 42, 0.12);
}


.hero-shape-two {
    bottom: -220px;
    left: 25%;

    width: 430px;
    height: 430px;

    background: rgba(20, 108, 67, 0.08);
}


/* ==============================
   Boutiques
   ============================== */

.stores-section {
    max-width: var(--store-container-width);
    margin: 0 auto;
    padding: 90px 24px;
}


.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}


.section-heading > div:first-child {
    max-width: 690px;
}


.section-heading h2,
.process-heading h2 {
    margin-top: 17px;

    font-size: clamp(31px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 1.1;
}


.section-heading p,
.process-heading p {
    margin-top: 15px;
    color: var(--store-text-secondary);
    font-size: 16px;
    line-height: 1.7;
}


.store-count {
    display: flex;
    align-items: baseline;
    gap: 7px;

    padding: 14px 18px;

    background: var(--store-white);
    border: 1px solid var(--store-border);
    border-radius: 15px;

    box-shadow: var(--store-shadow-small);
}


.store-count strong {
    color: var(--store-primary);
    font-size: 24px;
}


.store-count span {
    color: var(--store-text-secondary);
    font-size: 13px;
    font-weight: 700;
}


.stores-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 38px;
}


.search-container {
    position: relative;
    flex: 1;
    max-width: 590px;
}


.search-container input {
    width: 100%;
    height: 56px;
    padding: 0 55px 0 50px;

    background: var(--store-white);
    border: 1px solid var(--store-border);
    border-radius: 16px;
    outline: none;

    color: var(--store-text);
    font-size: 14px;

    box-shadow: var(--store-shadow-small);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.search-container input:focus {
    border-color: rgba(20, 108, 67, 0.55);
    box-shadow:
        0 0 0 4px rgba(20, 108, 67, 0.08),
        var(--store-shadow-small);
}


.search-container input::placeholder {
    color: var(--store-text-light);
}


.search-icon {
    position: absolute;
    top: 50%;
    left: 18px;

    color: var(--store-text-secondary);
    font-size: 26px;
    transform: translateY(-53%);
}


.clear-search-button {
    position: absolute;
    top: 50%;
    right: 13px;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    background: var(--store-primary-light);
    border-radius: 10px;

    color: var(--store-primary);
    font-size: 21px;

    transform: translateY(-50%);
}


.results-information {
    color: var(--store-text-secondary);
    font-size: 13px;
    font-weight: 700;
}


.results-information span {
    color: var(--store-primary);
}


.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;

    margin-top: 30px;
}


.store-card {
    overflow: hidden;

    background: var(--store-white);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-medium);

    box-shadow: var(--store-shadow-small);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.store-card:hover {
    border-color: rgba(20, 108, 67, 0.28);
    box-shadow: var(--store-shadow-medium);
    transform: translateY(-7px);
}


.store-card[hidden] {
    display: none;
}


.store-card-banner {
    position: relative;
    overflow: hidden;

    display: grid;
    place-items: center;

    height: 205px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.3),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #dff2e7,
            #f2faf5
        );
}


.store-card-banner::before,
.store-card-banner::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}


.store-card-banner::before {
    top: -50px;
    right: -35px;

    width: 145px;
    height: 145px;

    background: rgba(244, 166, 42, 0.17);
}


.store-card-banner::after {
    bottom: -80px;
    left: -55px;

    width: 180px;
    height: 180px;

    background: rgba(20, 108, 67, 0.1);
}


.store-visual {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 112px;
    height: 112px;

    background:
        linear-gradient(
            145deg,
            var(--store-primary),
            var(--store-primary-dark)
        );

    border: 7px solid rgba(255, 255, 255, 0.8);
    border-radius: 35px;

    box-shadow: 0 19px 37px rgba(11, 79, 48, 0.23);

    transform: rotate(-4deg);
}


.store-visual span {
    color: var(--store-white);
    font-size: 51px;
    font-weight: 900;
    transform: rotate(4deg);
}


.store-status {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;

    color: var(--store-primary-dark);
    font-size: 11px;
    font-weight: 900;

    box-shadow: 0 7px 18px rgba(17, 65, 43, 0.1);
}


.status-dot {
    width: 8px;
    height: 8px;

    background: #23a566;
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(35, 165, 102, 0.13);
}


.delivery-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;

    padding: 7px 10px;

    background: var(--store-accent-light);
    border: 1px solid rgba(244, 166, 42, 0.18);
    border-radius: 10px;

    color: #8a5b07;
    font-size: 10px;
    font-weight: 900;
}


.store-card-body {
    padding: 23px;
}


.store-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}


.store-type {
    color: var(--store-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}


.store-card-title h3 {
    margin-top: 6px;

    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 1.25;
}


.favorite-button {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    width: 41px;
    height: 41px;

    background: var(--store-background);
    border: 1px solid var(--store-border);
    border-radius: 13px;

    color: var(--store-text-secondary);
    font-size: 23px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.favorite-button:hover,
.favorite-button.is-favorite {
    background: #fff0f0;
    color: #d64545;
    transform: scale(1.05);
}


.store-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
}


.stars {
    color: var(--store-accent);
    font-size: 14px;
    letter-spacing: 1px;
}


.store-rating strong {
    font-size: 12px;
}


.store-rating small {
    color: var(--store-text-light);
    font-size: 11px;
}


.store-address {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    min-height: 48px;
    margin-top: 18px;
    padding-bottom: 18px;

    border-bottom: 1px solid var(--store-border);
}


.store-address span {
    flex: 0 0 auto;
    font-size: 15px;
}


.store-address p {
    color: var(--store-text-secondary);
    font-size: 13px;
    line-height: 1.55;
}


.store-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    margin-top: 18px;
}


.store-information-item {
    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 0;
    padding: 11px;

    background: var(--store-background);
    border-radius: 13px;
}


.information-icon {
    display: grid;
    place-items: center;

    flex: 0 0 auto;
    width: 34px;
    height: 34px;

    background: var(--store-white);
    border-radius: 10px;

    font-size: 16px;
}


.store-information-item div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}


.store-information-item strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.store-information-item small {
    overflow: hidden;
    margin-top: 2px;

    color: var(--store-text-light);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.select-store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 50px;
    margin-top: 20px;

    background: var(--store-primary);
    border-radius: 14px;

    color: var(--store-white);
    font-size: 13px;
    font-weight: 900;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.select-store-button:hover {
    background: var(--store-primary-dark);
    transform: translateY(-1px);
}


.select-store-button span {
    font-size: 19px;
}


/* ==============================
   Messages
   ============================== */

.stores-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    max-width: 680px;
    min-height: 155px;
    margin: 35px auto 0;
    padding: 28px;

    background: var(--store-white);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-medium);

    box-shadow: var(--store-shadow-small);
    text-align: left;
}

.stores-message[hidden] {
    display: none !important;
}

[hidden] {
    display: none !important;
}

.stores-message > span {
    display: grid;
    place-items: center;

    flex: 0 0 auto;
    width: 50px;
    height: 50px;

    background: var(--store-primary-light);
    border-radius: 16px;

    color: var(--store-primary);
    font-size: 23px;
    font-weight: 900;
}


.stores-message strong {
    font-size: 16px;
}


.stores-message p {
    margin-top: 5px;
    color: var(--store-text-secondary);
    font-size: 13px;
}


.error-message > span {
    background: #fff0ee;
    color: var(--store-danger);
}


/* ==============================
   Fonctionnement
   ============================== */

.process-section {
    padding:
        90px
        max(24px, calc((100% - var(--store-container-width)) / 2));

    background: var(--store-white);
}


.process-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}


.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;

    margin-top: 45px;
}


.process-card {
    position: relative;
    padding: 30px 24px;

    background: var(--store-background);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-medium);

    text-align: center;
}


.process-number {
    position: absolute;
    top: 15px;
    right: 15px;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    background: var(--store-white);
    border: 1px solid var(--store-border);
    border-radius: 10px;

    color: var(--store-primary);
    font-size: 12px;
    font-weight: 900;
}


.process-icon {
    display: grid;
    place-items: center;

    width: 68px;
    height: 68px;
    margin: 0 auto;

    background: var(--store-primary-light);
    border-radius: 21px;

    font-size: 31px;
}


.process-card h3 {
    margin-top: 21px;
    font-size: 17px;
}


.process-card p {
    margin-top: 10px;
    color: var(--store-text-secondary);
    font-size: 13px;
    line-height: 1.7;
}


/* ==============================
   Pied de page
   ============================== */

.store-footer {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 47px 24px;

    background: var(--store-primary-dark);

    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}


.footer-logo {
    color: var(--store-white);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}


.footer-logo span {
    color: var(--store-accent);
}


.store-footer p {
    margin-top: 11px;
    font-size: 13px;
}


.store-footer small {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}


/* ==============================
   Responsive
   ============================== */

@media (max-width: 1050px) {

    .stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    }

    .shopping-bag {
        width: 270px;
        height: 260px;
    }

    .bag-content {
        font-size: 50px;
    }
}


@media (max-width: 800px) {

    .store-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .mobile-navigation {
        position: fixed;
        top: 76px;
        right: 14px;
        left: 14px;
        z-index: 999;

        flex-direction: column;
        gap: 5px;

        padding: 12px;

        background: var(--store-white);
        border: 1px solid var(--store-border);
        border-radius: 18px;

        box-shadow: var(--store-shadow-medium);

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .mobile-navigation.is-open {
        display: flex;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-navigation a {
        padding: 13px 14px;
        border-radius: 11px;

        color: var(--store-text-secondary);
        font-size: 13px;
        font-weight: 800;
    }

    .mobile-navigation a:hover {
        background: var(--store-primary-light);
        color: var(--store-primary);
    }

    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 65px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-illustration {
        min-height: 380px;
        margin-top: 15px;
    }

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

    .store-count {
        display: none;
    }
}


@media (max-width: 650px) {

    .store-header {
        min-height: 68px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .store-logo-icon {
        width: 39px;
        height: 39px;
        font-size: 20px;
    }

    .store-logo-text strong {
        font-size: 17px;
    }

    .mobile-navigation {
        top: 68px;
    }

    .hero-section {
        padding-right: 19px;
        padding-left: 19px;
    }

    .hero-content h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-illustration {
        min-height: 320px;
    }

    .shopping-bag {
        width: 220px;
        height: 220px;
        border-radius: 30px 30px 50px 50px;
    }

    .bag-handle {
        top: -52px;
        width: 112px;
        height: 78px;
        border-width: 14px;
    }

    .bag-content {
        font-size: 40px;
    }

    .hero-small-card {
        min-width: 165px;
        padding: 11px 12px;
    }

    .hero-small-card > span {
        width: 34px;
        height: 34px;
    }

    .card-delivery {
        top: 10px;
        right: 0;
    }

    .card-family {
        bottom: 5px;
        left: 0;
    }

    .stores-section,
    .process-section {
        padding: 65px 16px;
    }

    .section-heading h2,
    .process-heading h2 {
        font-size: 34px;
    }

    .stores-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .search-container {
        max-width: none;
    }

    .results-information {
        padding-left: 5px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .store-card:hover {
        transform: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 390px) {

    .store-information {
        grid-template-columns: 1fr;
    }

    .hero-small-card {
        min-width: 150px;
    }

    .hero-small-card strong {
        font-size: 11px;
    }

    .hero-small-card small {
        font-size: 9px;
    }
}