:root {
    /* Palette */
    --color-bg: #FFFFFF; /* Fond principal */
    --color-accent: #4F8F38; /* Accent lumineux */
    --color-secondary: #CE1126; /* Accent secondaire */
    --color-brand: #76B957; /* Couleur de marque */
    --color-text: #1F2A1F; /* Texte principal */
    --color-muted: #4E5C4E; /* Texte secondaire */
    --color-brand-rgb: 118, 185, 87;
    --color-accent-rgb: 79, 143, 56;

    /* Surfaces */
    --surface: #FFFFFF;
    --surface-2: #EAF5E5;

    /* Legacy tokens (utilisés partout dans le code existant) */
    --primary-black: var(--color-text);
    --dark-gray: rgba(31, 42, 31, 0.88);
    --medium-gray: rgba(31, 42, 31, 0.72);
    --light-gray: rgba(31, 42, 31, 0.56);
    --lightest-gray: rgba(31, 42, 31, 0.12);
    --pure-white: #FFFFFF;

    --transition: 0.25s ease;
    --shadow: 0 10px 30px rgba(31, 42, 31, 0.10);

    /* Buttons */
    --btn-bg: var(--color-brand);
    --btn-fg: #FFFFFF;
    --btn-border: var(--color-brand);
    --form-error-color: #CE1126;
    --form-error-bg: rgba(206, 17, 38, 0.08);
    --pro-page-bg: #FFFFFF;

    --animated-gradient: linear-gradient(
        135deg,
        #4F8F38 0%,
        #76B957 58%,
        #A9D593 100%
    );
    --animated-gradient-size: 400% 400%;
    --footer-gradient-speed: 16s;
    --animated-gradient-speed: var(--footer-gradient-speed);
    --animated-gradient-speed-hover: var(--footer-gradient-speed);
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
}

button {
    font: inherit;
    color: inherit;
    max-width: 100%;
}

input,
select,
textarea {
    font: inherit;
    color: var(--color-text);
    background-color: #FFFFFF;
    max-width: 100%;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
    color: rgba(31, 42, 31, 0.58);
    opacity: 1;
}

img {
    max-width: 100%;
    display: block;
}

svg,
video,
canvas,
iframe {
    max-width: 100%;
}

video,
canvas,
iframe {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-black);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    background: var(--pure-white);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container > * {
    min-width: 0;
}

.site-header .container {
    max-width: 1320px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 14px;
    color: var(--primary-black);
    line-height: 1.15;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-black);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
}

p {
    margin: 0 0 14px;
    color: var(--medium-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin: 0 auto 50px;
    max-width: 800px;
}

.site-flash {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(20, 164, 77, 0.26);
    background: rgba(20, 164, 77, 0.10);
    color: rgba(14, 11, 8, 0.92);
    font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    background-position: 0% 50%;
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: var(--btn-fg);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: var(--btn-bg);
    z-index: -1;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* même animation que le footer sur tous les boutons (hover) */
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    background-position: 0% 50%;
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: var(--btn-fg);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-primary,
.btn-secondary {
    background-color: var(--btn-bg);
    color: var(--btn-fg);
    border: none;
}

.btn-secondary {
    background-color: var(--color-accent);
    border: 1px solid #DDEBD7;
    color: var(--btn-fg);
}

.btn-primary:hover,
.btn-secondary:hover {
    /* cohérent avec le hover animé */
    color: var(--color-text);
}

.btn-secondary:hover {
    border-color: #DDEBD7;
}

.btn-primary:hover,
.btn-secondary:hover {
    color: var(--btn-fg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== Forms (style doux / neumorphism) ===== */
.auth-card {
    max-width: 520px;
    margin-top: 18px;
    padding: 34px 26px;
    border-radius: 16px;
    border: 1px solid rgba(14, 11, 8, 0.12);
    background: var(--surface-2);
    box-shadow:
        -3px -3px 7px rgba(255, 255, 255, 0.85),
        2px 2px 6px rgba(14, 11, 8, 0.12);
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-label {
    font-weight: 600;
    color: var(--color-text);
}

.auth-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(14, 11, 8, 0.08);
    background: var(--surface-2);
    color: var(--color-text);
    outline: none;
    box-shadow:
        inset 2px 2px 5px rgba(14, 11, 8, 0.12),
        inset -5px -5px 10px rgba(255, 255, 255, 0.85);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.auth-input:focus {
    box-shadow:
        inset 1px 1px 2px rgba(14, 11, 8, 0.12),
        inset -1px -1px 2px rgba(255, 255, 255, 0.85),
        0 0 0 3px rgba(20, 164, 77, 0.12);
}

.auth-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

/* ===== Reusable form validation states ===== */
:where(input, select, textarea).is-invalid {
    border-color: var(--form-error-color);
    box-shadow: 0 0 0 3px var(--form-error-bg);
}

:where(input, select, textarea).is-invalid:focus,
:where(input, select, textarea).is-invalid:focus-visible {
    outline-color: var(--form-error-color);
}

.form-error {
    display: block;
    margin-top: 6px;
    color: var(--form-error-color);
    font-size: 0.88rem;
    line-height: 1.35;
}

.form-error:empty {
    display: none;
}

/* ===== Header / Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lightest-gray);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0;
    gap: 18px;
    overflow: visible;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.primary-nav {
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 8px;
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    overflow: visible;
    margin-left: -10px;
}

.logo-image {
    display: block;
    width: clamp(88px, 10vw, 124px);
    min-width: 88px;
    max-width: 100%;
    transform: scale(1.18);
    transform-origin: left center;
}

.logo i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .logo {
        margin-left: -6px;
    }

    .logo-image {
        width: clamp(80px, 18vw, 100px);
        min-width: 80px;
        transform: scale(1.12);
    }
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-menu a {
    position: relative;
    z-index: 0;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--btn-fg);
    background-color: var(--btn-bg);
    border: 1px solid var(--btn-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-menu button {
    font: inherit;
    border: 0;
    background: transparent;
    color: inherit;
}

.nav-menu .dropdown-toggle {
    position: relative;
    z-index: 0;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--btn-fg);
    background-color: var(--btn-bg);
    border: 1px solid var(--btn-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.2;
}

.nav-menu a::after,
.nav-menu .dropdown-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: var(--btn-bg);
    z-index: -1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-menu a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-menu .dropdown-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-menu a:active,
.nav-menu .dropdown-toggle:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover::after,
.nav-menu .dropdown-toggle:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.nav-menu a.active {
    background-image: none;
    animation: none;
    color: var(--btn-fg);
    border-color: rgba(20, 164, 77, 0.42);
    box-shadow: 0 0 0 1px rgba(20, 164, 77, 0.24) inset;
}

.nav-menu a.is-active {
    background-image: none;
    animation: none;
    color: var(--btn-fg);
    border-color: rgba(20, 164, 77, 0.42);
    box-shadow: 0 0 0 1px rgba(20, 164, 77, 0.24) inset;
}

.nav-menu .dropdown-toggle.active {
    background-image: none;
    animation: none;
    color: var(--btn-fg);
    border-color: rgba(20, 164, 77, 0.42);
    box-shadow: 0 0 0 1px rgba(20, 164, 77, 0.24) inset;
}

.nav-menu .dropdown-toggle.is-active {
    background-image: none;
    animation: none;
    color: var(--btn-fg);
    border-color: rgba(20, 164, 77, 0.42);
    box-shadow: 0 0 0 1px rgba(20, 164, 77, 0.24) inset;
}

.nav-menu a.is-active::before,
.nav-menu a.active::before,
.nav-menu .dropdown-toggle.is-active::before,
.nav-menu .dropdown-toggle.active::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-brand);
    opacity: 0.9;
}

.nav-menu a:hover,
.nav-menu .dropdown-toggle:hover {
    border-color: rgba(20, 164, 77, 0.24);
}

/* ===== Dropdown (Catalogue) ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.85rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    max-width: min(320px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--lightest-gray);
    box-shadow: var(--shadow);
    z-index: 1000;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.account-dropdown .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown.account-dropdown:hover .dropdown-toggle i,
.dropdown.account-dropdown.is-open .dropdown-toggle i {
    transform: none;
}

.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.is-open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 12px;
    color: var(--color-text);
    transition: var(--transition);
    min-width: 0;
    overflow-wrap: anywhere;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--color-text);
    opacity: 0.85;
}

.dropdown-menu a:hover {
    background: rgba(20, 164, 77, 0.08);
    color: var(--color-text);
}

.submenu-parent:hover {
    background: rgba(20, 164, 77, 0.08);
}

.dropdown-menu a.active {
    background: rgba(20, 164, 77, 0.10);
    color: var(--color-brand);
    border: 1px solid rgba(20, 164, 77, 0.18);
    animation: none;
}

.dropdown-menu a.is-active {
    background: rgba(20, 164, 77, 0.10);
    color: var(--color-brand);
    border: 1px solid rgba(20, 164, 77, 0.18);
    animation: none;
}

.submenu-parent.active,
.submenu-parent.is-active {
    background: rgba(20, 164, 77, 0.10);
    color: var(--color-brand);
    border-color: rgba(20, 164, 77, 0.18);
}

.dropdown-menu a.active i {
    color: var(--color-brand);
    opacity: 1;
}

/* ===== Submenu latéral (desktop) ===== */
.has-submenu {
    display: grid;
    gap: 8px;
}

.has-submenu .submenu-parent {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.submenu-caret {
    font-size: 0.72rem;
    opacity: 0.55;
    margin-left: auto;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.submenu {
    display: grid;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    margin-top: -2px;
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(20, 164, 77, 0.16);
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
}

.has-submenu.is-open .submenu,
.has-submenu:focus-within .submenu {
    max-height: 24rem;
    margin-top: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    opacity: 1;
}

.has-submenu.is-open .submenu-caret,
.has-submenu:focus-within .submenu-caret,
.has-submenu .submenu-parent[aria-expanded="true"] .submenu-caret {
    transform: rotate(180deg);
    opacity: 0.9;
}

.submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 12px;
    color: var(--color-text);
    transition: var(--transition);
    min-width: 0;
    overflow-wrap: anywhere;
}

.submenu a:hover {
    background: rgba(20, 164, 77, 0.08);
}

.submenu a.active,
.submenu a.is-active {
    background: rgba(20, 164, 77, 0.10);
    color: var(--color-brand);
    border: 1px solid rgba(20, 164, 77, 0.18);
}

/* ===== Mobile dropdown ===== */
.mobile-dropdown-menu {
    display: none;
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid var(--lightest-gray);
    min-width: 0;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--lightest-gray);
    color: var(--color-text);
    overflow-wrap: anywhere;
}

.mobile-menu .mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--lightest-gray);
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mobile-menu .mobile-dropdown-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mobile-menu .mobile-dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu a.active {
    background: rgba(20, 164, 77, 0.10);
    border-color: rgba(20, 164, 77, 0.18);
    color: var(--color-brand);
    animation: none;
}

.mobile-dropdown-menu a:hover {
    background: rgba(20, 164, 77, 0.08);
}

.mobile-dropdown-menu.active {
    display: grid;
    gap: 10px;
}

/* ===== Mobile sous-accordéon (Femme/Homme) ===== */
.mobile-subdropdown {
    border-radius: 10px;
}

.mobile-subdropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 10px;
    background: rgba(20, 164, 77, 0.06);
    border: 1px solid rgba(20, 164, 77, 0.14);
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mobile-subdropdown-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mobile-subdropdown-toggle i:last-child {
    font-size: 0.8rem;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.mobile-subdropdown-toggle[aria-expanded="true"] i:last-child {
    transform: rotate(180deg);
}

.mobile-subdropdown-menu {
    display: none;
    margin-top: 6px;
    margin-left: 14px;
    padding-left: 12px;
    border-left: 2px solid rgba(20, 164, 77, 0.2);
    gap: 6px;
    min-width: 0;
}

.mobile-subdropdown-menu.active {
    display: grid;
}

.mobile-subdropdown-menu a {
    display: block;
    padding: 8px 12px;
    min-height: 44px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--lightest-gray);
    color: var(--color-text);
    font-size: 0.9rem;
    transition: var(--transition);
    overflow-wrap: anywhere;
}

.mobile-subdropdown-menu a:hover {
    background: rgba(20, 164, 77, 0.08);
}

.mobile-subdropdown-menu a.active,
.mobile-subdropdown-menu a.is-active {
    background: rgba(20, 164, 77, 0.10);
    border-color: rgba(20, 164, 77, 0.18);
    color: var(--color-brand);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.nav-main > *,
.nav-actions > *,
.hero .container > *,
.hero-buttons > *,
.hero-features > *,
.footer-content > *,
.footer-bottom > * {
    min-width: 0;
}

.nav-account__btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--lightest-gray);
    color: var(--primary-black);
    transition: var(--transition);
}

.nav-account__btn--with-label {
    width: auto;
    min-width: 44px;
    padding: 0 14px 0 12px;
    gap: 8px;
    border: 1px solid rgba(14, 11, 8, 0.12);
    background: rgba(14, 11, 8, 0.05);
}

.nav-account__btn--with-label i {
    font-size: 14px;
    opacity: 0.85;
}

.nav-account__label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(14, 11, 8, 0.9);
    line-height: 1;
    overflow-wrap: anywhere;
}

.nav-account__btn--with-label .nav-account__label {
    white-space: nowrap;
}

.nav-account__btn:hover {
    background: var(--lightest-gray);
}

.nav-account__btn--guest {
    width: auto;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    font-weight: 600;
    gap: 10px;
}

.nav-account__btn--guest i {
    display: none;
}

.nav-search {
    flex: 1 1 280px;
    max-width: 360px;
    min-width: 180px;
}

.nav-search__inner {
    display: flex;
    align-items: center;
    height: 44px;
    border-radius: 999px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    overflow: hidden;
}

.nav-search__input {
    flex: 1 1 auto;
    height: 100%;
    border: 0;
    background: var(--pure-white);
    border-radius: 999px 0 0 999px;
    padding: 0 16px;
    outline: none;
}

.nav-search__submit {
    width: 44px;
    height: 44px;
    border: 0;
    background-color: var(--color-accent);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-search__submit:hover {
    animation-duration: var(--footer-gradient-speed);
}

@media (min-width: 901px) {
    /* Sur desktop, on utilise la barre de recherche dans la nav */
    .nav-actions .search-btn {
        display: none !important;
    }
}

.nav-actions > a:not(.btn),
.nav-actions > button:not(.btn) {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--lightest-gray);
    color: var(--primary-black);
    transition: var(--transition);
    position: relative;
}

.nav-actions > button:not(.btn) {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.nav-actions > a:not(.btn):hover,
.nav-actions > button:not(.btn):hover {
    background: var(--lightest-gray);
}

.nav-actions > a:not(.btn).active,
.nav-actions > button:not(.btn).active,
.nav-actions > a:not(.btn).is-active,
.nav-actions > button:not(.btn).is-active {
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent) inset;
}

.nav-actions > a:not(.btn).active:hover,
.nav-actions > button:not(.btn).active:hover,
.nav-actions > a:not(.btn).is-active:hover,
.nav-actions > button:not(.btn).is-active:hover {
    background: var(--lightest-gray);
}

body.is-menu-open {
    overflow: hidden;
}

.btn-catalogue {
    padding: 10px 18px;
    font-size: 0.95rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: var(--color-text);
    font-size: 0.75rem;
    line-height: 19px;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(14, 11, 8, 0.08);
    box-shadow: 0 2px 6px rgba(14, 11, 8, 0.16);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    background: var(--pure-white);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--lightest-gray);
    padding: 14px 0 18px;
    min-width: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--lightest-gray);
    min-width: 0;
    overflow-wrap: anywhere;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

header.nav-model {
    background: #0F4D2E;
    border-bottom: 0;
    backdrop-filter: none;
}

header.nav-model .nav-container {
    justify-content: flex-start;
    padding: 12px 0;
}

header.nav-model .logo {
    color: var(--pure-white);
}

.nav-actions {
    flex: 0 0 auto;
}

header.nav-model .logo-image {
    width: clamp(92px, 11vw, 132px);
    transform: scale(1.16);
}

header.nav-model .logo i {
    color: var(--color-accent);
}

header.nav-model .nav-search {
    flex: 1 1 520px;
    max-width: 620px;
    margin: 0 10px;
}

header.nav-model .nav-search__inner {
    display: flex;
    align-items: center;
    height: 46px;
    border-radius: 999px;
    background: var(--pure-white);
    border: 1px solid rgba(14, 11, 8, 0.14);
    overflow: hidden;
}

header.nav-model .nav-search__input {
    flex: 1 1 auto;
    height: 100%;
    border: 0;
    background: var(--pure-white);
    border-radius: 999px 0 0 999px;
    padding: 0 18px;
    outline: none;
    color: var(--color-text);
}

header.nav-model .nav-search__input::placeholder {
    color: rgba(14, 11, 8, 0.55);
}

header.nav-model .nav-search__submit {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background-color: var(--color-accent);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

header.nav-model .nav-search__submit:hover {
    animation-duration: var(--footer-gradient-speed);
    filter: none;
}

header.nav-model .nav-menu a,
header.nav-model .nav-menu .dropdown-toggle {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    color: var(--pure-white);
    text-transform: none;
    letter-spacing: 0;
    padding: 10px 12px;
}

header.nav-model .nav-menu a::after,
header.nav-model .nav-menu .dropdown-toggle::after {
    content: none;
}

header.nav-model .nav-menu a:hover,
header.nav-model .nav-menu .dropdown-toggle:hover {
    transform: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.9);
}

header.nav-model .nav-menu a.is-active,
header.nav-model .nav-menu a.active,
header.nav-model .nav-menu .dropdown-toggle.is-active,
header.nav-model .nav-menu .dropdown-toggle.active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--pure-white);
}

header.nav-model .nav-menu a.is-active::before,
header.nav-model .nav-menu a.active::before,
header.nav-model .nav-menu .dropdown-toggle.is-active::before,
header.nav-model .nav-menu .dropdown-toggle.active::before {
    background: #76B957;
    opacity: 1;
}

header.nav-model .dropdown-toggle i {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

header.nav-model .nav-actions > a:not(.btn),
header.nav-model .nav-actions > button:not(.btn) {
    background: rgba(255, 255, 255, 0.12);
    color: var(--pure-white);
}

header.nav-model .nav-actions > a:not(.btn):hover,
header.nav-model .nav-actions > button:not(.btn):hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Hide icon search on desktop when navbar search is visible */
header.nav-model .nav-actions .search-btn {
    display: none;
}

header.nav-model .nav-account__btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--pure-white);
    transition: var(--transition);
}

header.nav-model .nav-account__btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

header.nav-model .nav-account__btn--guest {
    width: auto;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--pure-white);
    color: #0F4D2E;
    font-weight: 600;
    gap: 10px;
}

header.nav-model .nav-account__btn--guest i {
    display: none;
}

header.nav-model .nav-account__btn--guest:hover {
    background: var(--pure-white);
    filter: brightness(0.97);
}

header.nav-model .nav-account__label {
    display: inline-block;
    line-height: 1;
}

header.nav-model .mobile-menu-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: var(--pure-white);
}

header.nav-model a:focus-visible,
header.nav-model button:focus-visible,
header.nav-model input:focus-visible {
    outline: 2px solid #76B957;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    header.nav-model .nav-search {
        display: none;
    }

    header.nav-model .nav-actions .search-btn {
        display: inline-flex;
    }
}

/* ===== Hero ===== */
.hero {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--surface) 100%);
}

.hero.hero--bg {
    position: relative;
    padding: 110px 0;
    background-color: var(--pro-page-bg, var(--color-bg));
    /* Image si disponible, sinon placeholders (dégradés) */
    background-image:
        url("../images/hero-bg.jpg"),
        url("../images/hero-bg.svg"),
        radial-gradient(1200px circle at 15% 20%, rgba(20, 164, 77, 0.12), transparent 58%),
        radial-gradient(900px circle at 85% 10%, rgba(118, 185, 87, 0.10), transparent 62%),
        linear-gradient(180deg, var(--pro-page-bg, var(--color-bg)) 0%, var(--surface) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.hero--center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.hero.hero--center .container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

.hero.hero--center .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero.hero--center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero.hero--center .hero-buttons {
    justify-content: center;
}

.hero.hero--center .hero-features {
    justify-content: center;
}

.hero.hero--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.14) 40%,
        rgba(255, 255, 255, 0.06) 72%,
        rgba(255, 255, 255, 0.00) 100%
    );
    pointer-events: none;
}

.hero.hero--bg .container {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
}

.hero.hero--bg .hero-content {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-lg, 18px);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm, 0 10px 26px rgba(0, 0, 0, 0.10));
}

.hero.hero--bg .hero-image {
    display: none;
}

.hero .container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 660px;
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-helper {
    margin: 14px 0 0;
    text-align: center;
}

.hero-helper-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--btn-fg);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-helper-link:hover {
    color: #F7FFF4;
}

.hero-features {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(118, 185, 87, 0.18);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.hero-feature i {
    color: #FFFFFF;
}

.hero-image {
    flex: 1;
    min-width: 280px;
}

.image-placeholder {
    height: 400px;
    border-radius: 20px;
    border: 1px solid var(--lightest-gray);
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    gap: 10px;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-black);
    opacity: 0.7;
}

/* ===== Features ===== */
.features[id] {
    scroll-margin-top: 110px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.features {
    background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5FAF2 62%,
    #EAF5E5 82%,
    #EAF5E5 100%
  );
}

.feature-card {
    border: 1px solid var(--lightest-gray);
    border-radius: 16px;
    padding: 26px;
    transition: var(--transition);
    background: var(--pure-white);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 164, 77, 0.10);
    color: var(--color-brand);
    margin-bottom: 14px;
}

.feature-icon i {
    font-size: 1.8rem;
}

/* ===== Advantages ===== */
.advantages {
    background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5FAF2 62%,
    #EAF5E5 82%,
    #EAF5E5 100%
  );
}

.advantages-content {
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--lightest-gray);
    background: var(--pure-white);
    border-radius: 16px;
    padding: 22px;
}

.advantage-item i {
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-top: 2px;
}

/* ===== Testimonials ===== */
.testimonials {
    background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5FAF2 62%,
    #EAF5E5 82%,
    #EAF5E5 100%
  );
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.testimonial-card {
    background: var(--pure-white);
    border: 1px solid var(--lightest-gray);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.stars {
    color: var(--color-accent);
    white-space: nowrap;
}

.reviews-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.reviews-notice {
    margin-top: 14px;
    text-align: center;
    font-weight: 600;
}

.reviews-notice.is-success {
    color: var(--color-brand);
}

.reviews-notice.is-error {
    color: var(--color-secondary);
}

.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    border: 1px dashed var(--lightest-gray);
    border-radius: 16px;
    padding: 22px;
    background: var(--surface-2);
}

.reviews-empty p {
    margin: 0 0 14px;
    color: var(--medium-gray);
}

.reviews-form-wrap {
    margin-top: 22px;
}

.reviews-form-card {
    max-width: 820px;
    margin: 0 auto;
}

.reviews-form-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.reviews-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.reviews-field--full {
    grid-column: 1 / -1;
}

.reviews-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.reviews-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lightest-gray);
    border-radius: 14px;
    background: var(--pure-white);
    font: inherit;
}

.reviews-textarea {
    resize: vertical;
    min-height: 120px;
}

.reviews-input:focus {
    outline: 3px solid rgba(20, 164, 77, 0.22);
    outline-offset: 2px;
    border-color: var(--color-accent);
}

.reviews-hint {
    margin-top: 6px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.reviews-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

@media (max-width: 860px) {
    .reviews-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA ===== */
.cta-section {
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: rgba(255, 255, 255, 0.92);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: #FFFFFF;
}

.cta-content h2:after {
    background: rgba(255, 255, 255, 0.92);
    background-image: none;
    animation: none;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-section a,
.cta-section i,
.cta-content a,
.cta-content i {
    color: #FFFFFF;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Les boutons CTA suivent le style global (.btn) */


/* ===== Newsletter ===== */
.newsletter {
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.newsletter h2,
.newsletter p {
    color: rgba(255, 255, 255, 0.92);
}

.newsletter p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter h2:after {
    background: rgba(255, 255, 255, 0.92);
    background-image: none;
    animation: none;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    width: min(520px, 100%);
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.98);
    color: #1F2A1F;
    padding: 0 14px;
    outline: none;
    box-shadow:
        inset 2px 2px 5px rgba(14, 11, 8, 0.12),
        inset -5px -5px 10px rgba(255, 255, 255, 0.85);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #FFFFFF;
    box-shadow:
        inset 1px 1px 2px rgba(14, 11, 8, 0.08),
        inset -1px -1px 2px rgba(255, 255, 255, 0.92),
        0 0 0 3px rgba(255, 255, 255, 0.28);
}

.newsletter-form .btn {
    height: 48px;
    padding: 0 22px;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(31, 42, 31, 0.58);
}

.newsletter-note {
    font-size: 0.9rem;
    color: #F7FFF4;
    margin-top: 15px;
    text-align: center;
}

/* Les boutons suivent le style global (.btn) */

/* ===== Footer ===== */
footer {
    background-color: var(--color-bg);
    background-image: var(--animated-gradient);
    background-size: var(--animated-gradient-size);
    animation: gradient-animation var(--animated-gradient-speed) ease infinite;
    color: rgba(14, 11, 8, 0.88);
    padding: 44px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.footer-content > *,
.footer-column > *,
.footer-social > * {
    min-width: 0;
}

.footer-column h3 {
    color: #FFFFFF;
    margin-bottom: 10px;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.25;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    max-width: 100%;
}

.footer-brand-logo {
    display: block;
    width: clamp(108px, 12vw, 142px);
    min-width: 108px;
}

.footer-column p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-1px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.45);
    background-color: rgba(255, 255, 255, 0.10);
    text-decoration: none;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.45;
    transition: var(--transition);
    overflow-wrap: anywhere;
}

.footer-column .btn {
    min-height: 44px;
}

.footer-column a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    gap: 4px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    footer {
        padding: 34px 0 16px;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-column {
        display: grid;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 28px 0 14px;
    }

    .footer-content {
        gap: 14px;
    }

    .footer-column {
        gap: 4px;
    }

    .footer-column h3 {
        font-size: 0.98rem;
        margin-bottom: 8px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 0.92rem;
    }

    .footer-column ul {
        gap: 6px;
    }

    .footer-social {
        gap: 8px;
        margin: 8px 0;
    }

    .footer-bottom {
        margin-top: 14px;
        padding-top: 12px;
        gap: 6px;
    }
}

/* ===== Styles pour la page produit (ajouts généraux) ===== */
/* Ces styles sont basiques pour le produit, le reste est dans produit.css */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.product-card {
    border: 1px solid #DDEBD7;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;

    --mb-glow-x: 50%;
    --mb-glow-y: 50%;
    --mb-glow-intensity: 0;
    --mb-glow-radius: 260px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.featured-products .product-price {
    color: var(--color-brand);
}

.hero-feature i,
.feature-icon i,
.advantage-item i,
.featured-empty i {
    color: var(--color-brand);
}

.product-title-link:hover {
    color: var(--color-brand);
}

.product-card {
    transition:
        transform var(--transition-fast, 200ms ease),
        box-shadow var(--transition-fast, 200ms ease),
        border-color var(--transition-fast, 200ms ease);
}

@media (hover: hover) and (pointer: fine) {
    .feature-card:hover,
    .testimonial-card:hover,
    .advantage-item:hover,
    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm, var(--shadow));
    }
}

@media (hover: none) {
    .feature-card:hover,
    .testimonial-card:hover,
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
}

.btn:active {
    transform: translateY(1px);
}

/* Fallback visuel si l'animation de révélation est initialisée côté JS. */
.reveal.reveal--init {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 500ms ease, transform 500ms ease;
    will-change: opacity, transform;
}

.reveal.reveal--init.is-visible {
    opacity: 1;
    transform: none;
}

.product-card > *:not(.mb-particles) {
    position: relative;
    z-index: 2;
}

/* MagicBento (version légère, adaptée design blanc) */
@supports (-webkit-mask-composite: xor) or (mask-composite: exclude) {
    .product-card::after {
        content: "";
        position: absolute;
        inset: 0;
        padding: 5px;
        border-radius: inherit;
        pointer-events: none;
        z-index: 0;
        opacity: 1;
        background: radial-gradient(
            var(--mb-glow-radius) circle at var(--mb-glow-x) var(--mb-glow-y),
            rgba(0, 0, 0, calc(var(--mb-glow-intensity) * 0.22)) 0%,
            rgba(0, 0, 0, calc(var(--mb-glow-intensity) * 0.12)) 30%,
            transparent 60%
        );

        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }
}

.mb-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.mb-particle {
    position: absolute;
    width: var(--mb-size, 4px);
    height: var(--mb-size, 4px);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.28);
    opacity: 0.35;
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
    animation:
        mb-particle-drift var(--mb-drift, 3.4s) ease-in-out infinite alternate,
        mb-particle-twinkle var(--mb-twinkle, 1.8s) ease-in-out infinite;
    animation-delay: var(--mb-delay, 0s), var(--mb-delay, 0s);
}

@keyframes mb-particle-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(var(--mb-dx, 0px), var(--mb-dy, 0px), 0);
    }
}

@keyframes mb-particle-twinkle {
    0%,
    100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.85;
    }
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.product-info h3 {
    margin: 0;
    font-size: 1.2rem;
    min-height: calc(1.2em * 2.5);
}

.product-sku {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border: 1px solid rgba(14, 11, 8, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(14, 11, 8, 0.9);
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    align-items: stretch;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ===== Responsive (merged from responsive.css) ===== */

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes (max-width: 992px) */
@media (max-width: 900px) {
    .nav-container {
        justify-content: space-between;
        gap: 12px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-placeholder {
        height: 300px;
        margin-top: 30px;
    }

    .nav-menu {
        display: none;
    }

    .nav-search {
        display: none;
    }

    .nav-actions {
        display: flex;
        gap: 8px;
    }

    .mobile-menu {
        padding: 16px 0 20px;
    }

    .mobile-menu ul {
        gap: 12px;
    }

    .nav-account__btn--with-label {
        width: 44px;
        min-width: 44px;
        padding: 0;
        border: 0;
        background: var(--lightest-gray);
    }

    .nav-account__btn--with-label .nav-account__label {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobiles paysage (max-width: 768px) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero.hero--bg {
        padding: 72px 0;
    }

    .hero.hero--center {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero.hero--bg::before {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.16) 55%,
            rgba(255, 255, 255, 0.08) 100%
        );
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .testimonials-grid {
        gap: 16px;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .advantage-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .search-container .search-bar {
        flex-direction: column;
    }

    .search-container .search-btn {
        width: 100%;
        min-height: 48px;
    }

    .product-actions {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Mobiles portrait (max-width: 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .mobile-menu .mobile-dropdown-toggle,
    .mobile-menu a,
    .mobile-subdropdown-toggle,
    .mobile-dropdown-menu a,
    .mobile-subdropdown-menu a {
        padding-inline: 12px;
    }

    section {
        padding: 44px 0;
    }

    .section-subtitle {
        margin: 0 auto 32px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h2:after {
        width: 60px;
        height: 2px;
        bottom: -10px;
    }

    .feature-card {
        padding: 20px;
    }

    .filter-options {
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-section {
        padding: 20px;
    }

    .faq-question {
        font-size: 1.05rem;
    }

    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .btn {
        min-height: 44px;
    }

    .newsletter-form {
        gap: 10px;
        margin-top: 18px;
    }

    .newsletter-note {
        margin-top: 12px;
    }
}

/* Très petits écrans (max-width: 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    section {
        padding: 40px 0;
    }

    .section-subtitle {
        margin-bottom: 26px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .search-container .search-input {
        padding: 12px 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-image i {
        font-size: 2.5rem;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-brand {
        margin-bottom: 6px;
    }

    .footer-column p,
    .footer-column a,
    .footer-bottom p {
        font-size: 0.9rem;
    }

    .nav-container {
        gap: 10px;
    }

    .nav-actions {
        gap: 6px;
    }

    .mobile-menu {
        padding-top: 14px;
    }

    .mobile-dropdown-menu {
        padding-left: 10px;
    }

    .mobile-subdropdown-menu {
        margin-left: 10px;
        padding-left: 10px;
    }

    .nav-account__menu {
        right: 0;
        max-width: calc(100vw - 20px);
    }
}

/* Écrans larges (min-width: 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Correction pour le menu mobile */
.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Account dropdown (navbar) ===== */
.navbar, .site-header, header {
  overflow: visible; /* évite que le dropdown soit coupé */
}

.nav-account {
  position: relative; /* ancre le dropdown */
}

.nav-account__btn {
  position: relative;
  z-index: 3;
}

.nav-account__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto; /* override .dropdown-menu { left: 0 } */
  z-index: 9999;
  min-width: 220px;
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 8px;
  display: none; /* contrôlé en JS */
  text-align: left;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.nav-account__menu.is-open {
  display: flex;
}

/* Compat avec les styles dropdown existants (.dropdown-menu) */
.nav-account__menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.nav-account__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-account__menu a,
.nav-account__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  justify-content: flex-start;
  min-height: 44px;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nav-account__menu a:hover,
.nav-account__menu button:hover {
  background: rgba(0,0,0,.05);
}

.nav-account__menu a.account-menu-danger {
  color: #dc2626;
  font-weight: 500;
}

.nav-account__menu a.account-menu-danger:hover {
  background: rgba(220,38,38,.08);
  color: #b91c1c;
}

.account-menu-separator{
  border:none;
  border-top:1px solid rgba(0,0,0,0.08);
  margin:6px 0;
}

/* Accueil "client-ready" (sans toucher le footer animé) */
:root {
  --pro-page-bg: #FFFFFF;

  /* Design tokens */
  --radius-lg: 16px;
  --shadow-sm: 0 10px 26px rgba(14, 11, 8, 0.10);
  --shadow-md: 0 14px 34px rgba(14, 11, 8, 0.14);
  --transition-fast: 200ms ease;

  --pro-focus-outline: 3px solid rgba(20, 164, 77, 0.28);
  --pro-focus-offset: 3px;
}

/* fond global légèrement chaud */
body {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #F5FAF2 100%
  );
}

body.page-home {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5FAF2 62%,
    #EAF5E5 82%,
    #EAF5E5 100%
  );
}

/* rythme des sections (accueil seulement) */
.page-home section {
  padding: 80px 0;
}

/* Hero plus cohérent avec le fond chaud (accueil) */
.page-home .hero:not(.hero--bg) {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--pro-page-bg) 0%, var(--surface) 100%);
}

/* radius/ombre cohérents sur les cartes d’accueil */
.feature-card,
.testimonial-card,
.advantage-item {
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #DDEBD7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover,
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

/* micro-accessibilité (focus visible) */
.primary-nav a:focus-visible,
.nav-actions > a:focus-visible,
.nav-actions > button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--pro-focus-outline);
  outline-offset: var(--pro-focus-offset);
}

/* pré-footer (CTA) sans toucher au footer animé */
.cta-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  background-image: none;
  animation: none;
}

.animated-gradient-section {
  background: var(--animated-gradient);
  background-size: var(--animated-gradient-size);
  background-position: 0% 50%;
  animation: gradient-animation var(--animated-gradient-speed) ease infinite;
}

.cta-section.animated-gradient-section {
  background: var(--animated-gradient);
  background-size: var(--animated-gradient-size);
  background-position: 0% 50%;
  animation: gradient-animation var(--animated-gradient-speed) ease infinite;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.92);
}

/* hiérarchie boutons CTA */
.cta-section .btn-primary {
  background: #FFFFFF;
  background-image: none;
  border: none;
  animation: none;
  color: #4F8F38;
}

.cta-section .btn-secondary {
  background: #FFFFFF;
  background-image: none;
  animation: none;
  border: none;
  color: #4F8F38;
}

.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus-visible {
  background: #F7FFF4;
  color: #4F8F38;
  border-color: transparent;
}

.cta-section .btn-secondary:hover {
  background: #F7FFF4;
  border-color: transparent;
  color: #4F8F38;
}

/* hover animé sur les boutons CTA (override des backgrounds spécifiques) */
.cta-section .btn:hover {
  box-shadow: 0 12px 24px rgba(31, 42, 31, 0.16);
}

.cta-section .btn:focus-visible,
.newsletter .btn:focus-visible,
footer .btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.96);
  outline-offset: 3px;
}

.newsletter .btn-primary,
footer .btn-primary {
  background: #FFFFFF;
  background-image: none;
  border: 1px solid #FFFFFF;
  color: #4F8F38;
}

.newsletter .btn-secondary,
footer .btn-secondary {
  background: transparent;
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #FFFFFF;
}

.newsletter .btn-primary:hover,
footer .btn-primary:hover {
  background: #F7FFF4;
  color: #4F8F38;
}

.newsletter .btn-secondary:hover,
footer .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.page-home .hero-placeholder {
  position: relative;
  display: grid;
  gap: 14px;
  place-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 11, 8, 0.10);
  background:
    radial-gradient(1200px 420px at 20% 10%, rgba(20, 164, 77, 0.10), transparent 55%),
    radial-gradient(900px 420px at 80% 30%, rgba(118, 185, 87, 0.08), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 320px;
}

.page-home .hero-placeholder::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(14, 11, 8, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 55%, rgba(14, 11, 8, 0.22) 0 1px, transparent 1px);
  background-size: 22px 22px;
}

.page-home .hero-placeholder__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(14, 11, 8, 0.10);
  box-shadow:
    0 10px 22px rgba(14, 11, 8, 0.10),
    inset 2px 2px 4px rgba(255, 255, 255, 0.75);
}

.page-home .hero-placeholder__icon i {
  font-size: 28px;
  color: rgba(14, 11, 8, 0.78);
}

.page-home .hero-placeholder__text {
  text-align: center;
  max-width: 420px;
}

.page-home .hero-placeholder__title {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
}

.page-home .hero-placeholder__desc {
  margin: 8px 0 0;
  color: rgba(14, 11, 8, 0.70);
}

.featured-products {
  padding-top: 72px;
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5FAF2 62%,
    #EAF5E5 82%,
    #EAF5E5 100%
  );
}

.featured-products-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.featured-products .product-image {
  height: auto;
  padding: 0;
  background: transparent;
  display: block;
}

.product-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid rgba(14, 11, 8, 0.08);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.featured-empty {
  text-align: center;
  padding: 24px 16px;
  margin-top: 12px;
  color: rgba(14, 11, 8, 0.78);
}

.featured-empty i {
  font-size: 28px;
  color: var(--color-brand);
}

.featured-empty h3 {
  margin-top: 10px;
}

.featured-products .product-card {
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
}

.featured-products .product-info {
  padding: 22px;
  gap: 10px;
}

.featured-products .product-info h3 {
  font-size: 1.16rem;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
}

.featured-products .product-title-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-products .product-price {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 4px 0 14px;
}

.featured-products .product-actions {
  margin-top: auto;
}

.featured-products .product-actions .btn {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (max-width: 900px) {
  .featured-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }

  .featured-products .product-info {
    padding: 18px;
  }

  .featured-products .product-price {
    font-size: 1.45rem;
  }
}

.product-card--skeleton {
  pointer-events: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(14, 11, 8, 0.06) 0%, rgba(14, 11, 8, 0.10) 35%, rgba(14, 11, 8, 0.06) 70%);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.60) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

.skeleton--media {
  width: 100%;
  height: 100%;
}

.skeleton--line {
  height: 14px;
  margin: 10px 0;
  width: 100%;
}

.skeleton--line-sm {
  width: 56%;
}

.skeleton--line-lg {
  width: 86%;
}

.skeleton--btn {
  height: 44px;
  border-radius: 999px;
  flex: 1;
}

@media (max-width: 900px) {
  .page-home .hero-placeholder {
    min-height: 240px;
  }
}

/* transition fixe (non animée) avant le footer */
.footer-transition {
  height: 140px;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #F5FAF2 42%,
    rgba(118, 185, 87, 0.10) 72%,
    rgba(79, 143, 56, 0.14) 100%
  );
}

@media (max-width: 768px) {
  .footer-transition {
    height: 96px;
  }

  /* rythme mobile (accueil seulement) */
  .page-home section {
    padding: 56px 0;
  }

  .page-home .hero:not(.hero--bg) {
    padding: 56px 0;
  }

  /* Home mobile: hero plus lisible sans changer l'identite visuelle */
  .page-home .hero.hero--center {
    min-height: 74vh;
    padding: 92px 16px 84px;
  }

  .page-home .hero.hero--bg .hero-content {
    max-width: 100%;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.66);
  }

  .page-home .hero.hero--bg .hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  /* Home mobile: hiérarchie plus compacte pour Produits vedettes */
  .page-home .featured-products h2 {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .page-home .featured-products .section-subtitle {
    margin: 0 auto 28px;
  }

  /* Home mobile: 2 produits par ligne */
  .page-home .featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .page-home .featured-products .product-card {
    min-width: 0;
  }

  .page-home .featured-products .product-info {
    padding: 12px;
    gap: 6px;
  }

  .page-home .featured-products .product-info h3 {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .page-home .featured-products .product-price {
    font-size: 1.02rem;
    margin: 2px 0 8px;
  }

  .page-home .featured-products .product-sku {
    display: none;
  }

  .page-home .featured-products .stock-indicator {
    font-size: 0.78rem;
    padding: 4px 8px;
    margin-bottom: 4px;
  }

  .page-home .featured-products .product-actions {
    gap: 8px;
  }

  .page-home .featured-products .product-actions .btn {
    min-height: 38px;
    font-size: 0.78rem;
    padding: 8px 10px;
    white-space: normal;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 576px) {
  .page-home .featured-products-grid {
    gap: 10px;
  }

  .page-home .featured-products .product-info {
    padding: 10px;
  }

  .page-home .featured-products .product-info h3 {
    font-size: 0.92rem;
  }

  .page-home .featured-products .product-price {
    font-size: 0.98rem;
  }
}

@media (max-width: 430px) {
  .page-home .featured-products-grid {
    gap: 10px;
  }

  .page-home .featured-products .product-info h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  .page-home .featured-products .product-info {
    padding: 10px;
  }

  .page-home .featured-products .product-actions .btn {
    font-size: 0.76rem;
    padding: 8px;
  }
}

@media (max-width: 375px) {
  .page-home .featured-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .featured-products .product-info h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  .page-home .featured-products .product-info {
    padding: 9px;
  }

  .page-home .featured-products .product-price {
    font-size: 0.94rem;
  }

  .page-home .featured-products .product-actions .btn {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* limiter les animations hors footer */
  .btn,
  .btn::after,
  .feature-card,
  .testimonial-card {
    transition: none !important;
  }

  .btn,
  .active-filter__reset,
  .pagination-btn,
  .search-btn {
    animation: none !important;
  }

  .reveal.reveal--init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover,
  .feature-card:hover,
  .testimonial-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .cta-section,
  .newsletter,
  .animated-gradient-section {
    animation: none !important;
  }
}
