:root,
[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f2ec;
    --bg-muted: #e8e5dd;
    --bg-white: #ffffff;
    --surface-solid: #ffffff;
    --text: #141418;
    --text-secondary: #5c5c66;
    --border: rgba(20, 20, 24, 0.09);
    --border-strong: rgba(20, 20, 24, 0.16);
    --accent: #141418;
    --accent-hover: #2e2e36;
    --accent-orange: #ea580c;
    --accent-orange-hover: #c2410c;
    --accent-mint: #10b981;
    --accent-violet: #7c3aed;
    --success: #15803d;
    --danger: #b42318;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --max: 1140px;
    --header-h: 76px;
    --glass-bg: rgba(255, 255, 255, 0.58);
    --glass-border: rgba(255, 255, 255, 0.82);
    --glass-shadow:
        0 4px 24px rgba(20, 20, 30, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 -1px 0 rgba(20, 20, 30, 0.04) inset;
    --header-bg: rgba(244, 242, 236, 0.72);
    --header-bg-scrolled: rgba(244, 242, 236, 0.94);
    --mesh-a: rgba(124, 58, 237, 0.12);
    --mesh-b: rgba(234, 88, 12, 0.14);
    --trust-logo-filter: none;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #09090c;
    --bg-muted: #12121a;
    --bg-white: #18181f;
    --surface-solid: #18181f;
    --text: #f4f4f6;
    --text-secondary: #a1a1ab;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent: #f4f4f6;
    --accent-hover: #e4e4e7;
    --accent-orange: #fb923c;
    --accent-orange-hover: #f97316;
    --accent-mint: #34d399;
    --accent-violet: #a78bfa;
    --success: #4ade80;
    --glass-bg: rgba(24, 24, 32, 0.52);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow:
        0 8px 40px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.07) inset;
    --header-bg: rgba(9, 9, 12, 0.72);
    --header-bg-scrolled: rgba(9, 9, 12, 0.92);
    --mesh-a: rgba(167, 139, 250, 0.18);
    --mesh-b: rgba(251, 146, 60, 0.12);
    --trust-logo-filter: brightness(1.15) contrast(0.95);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    transition: background 0.35s ease, color 0.35s ease;
}

/* —— Liquid glass —— */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-xl);
}

.glass-chip {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 999px;
}

.glass-bar {
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(1.35);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text-secondary); }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: var(--header-bg-scrolled);
    border-bottom-color: var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text);
    justify-self: start;
    grid-column: 1;
}

.brand:hover { color: var(--text); text-decoration: none; }

.brand-mark {
    flex-shrink: 0;
    border-radius: 11px;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
}

.brand-name {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28em;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.brand-word-accent {
    background: linear-gradient(120deg, var(--accent-mint), var(--accent-violet) 55%, var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--text);
}

.theme-toggle-icon { display: none; }

[data-theme="light"] .theme-icon-dark { display: block; }

[data-theme="dark"] .theme-icon-light { display: block; }

html:not([data-theme]) .theme-icon-dark { display: block; }

.header-menu-btn {
    display: none;
    grid-column: 2;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.header-menu-icon,
.header-menu-icon::before,
.header-menu-icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-menu-icon {
    position: relative;
}

.header-menu-icon::before,
.header-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.header-menu-icon::before { top: -5px; }
.header-menu-icon::after { top: 5px; }

.header-shell.is-menu-open .header-menu-icon { background: transparent; }
.header-shell.is-menu-open .header-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.header-shell.is-menu-open .header-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    justify-self: center;
    grid-column: 2;
    font-size: 0.9rem;
    font-weight: 500;
}

.header-nav a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-nav a:hover,
.header-nav a.is-active { color: var(--text); }

.header-nav a:hover::after,
.header-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-self: end;
    grid-column: 3;
}

.header-user {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-header-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    padding: 0.45rem 0.95rem;
    font-size: 0.875rem;
}

.btn-header-ghost:hover {
    background: var(--glass-bg);
    color: var(--text);
    border-color: var(--text);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn-glass:hover {
    background: var(--surface-solid);
    color: var(--text);
    text-decoration: none;
}

.btn-accent {
    background: var(--accent-orange);
    color: #fff;
    border: 1px solid var(--accent-orange);
}

.btn-accent:hover {
    background: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    color: #fff;
}

.btn-arrow::after {
    content: "→";
    margin-left: 0.35em;
    transition: transform 0.2s ease;
    display: inline-block;
}

.btn-arrow:hover::after { transform: translateX(3px); }

.flash-wrap { padding-top: 1rem; }

@media (max-width: 900px) {
    .header-shell {
        grid-template-columns: 1fr auto auto;
        grid-template-rows: auto;
        padding: 0.5rem 0;
    }
    .header-menu-btn { display: inline-flex; }
    .header-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0 0.75rem;
        border-top: 1px solid var(--border);
        margin-top: 0.25rem;
    }
    .header-shell.is-menu-open .header-nav { display: flex; }
    .header-nav a {
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--border);
    }
    .header-nav a:last-child { border-bottom: none; }
    .header-nav a::after { display: none; }
    .header-actions {
        grid-column: 3;
        gap: 0.4rem;
    }
    .header-actions .btn-header-ghost { display: none; }
    .header-user { display: none; }
    .theme-toggle { width: 2.35rem; height: 2.35rem; }
}

main { padding: 0 0 4rem; }

main.container { padding-top: 2rem; }

/* —— Typo —— */
h1, h2, h3 {
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
h3 { font-size: 1.1rem; }

.lead {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0;
}

.section-title {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.section-title p { margin: 0.5rem 0 0; color: var(--text-secondary); }

/* —— Hero —— */
.hero {
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.hero .container { display: flex; flex-direction: column; align-items: center; }

.hero h1 { max-width: 18ch; margin-bottom: 1rem; }

.hero .lead { text-align: center; max-width: 36rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: var(--accent);
    color: #fff;
}

.btn:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
}

.btn-small { padding: 0.45rem 0.9rem; font-size: 0.875rem; }

.btn-lg {
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-ghost {
    background: var(--bg-white);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border-strong);
}

.link-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-btn:hover { color: var(--text); }

/* —— Cards —— */
.grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
}

.card.narrow { max-width: 400px; margin: 0 auto; }

.card-flat {
    background: transparent;
    border: none;
    padding: 0;
}

/* Meal / price tiles (style Ratio) */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.tile {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    text-align: left;
}

.tile-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 0.35rem;
}

.tile-title {
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.tile-sub {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Steps */
.steps {
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

@media (min-width: 720px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; font-size: 0.9375rem; color: var(--text-secondary); }

.section-block {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

/* —— Forms —— */
.form { display: grid; gap: 1rem; }

label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

input, select, textarea {
    font: inherit;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text);
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--text);
    outline-offset: 1px;
}

/* —— Tables —— */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-white); }

.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }

.table th, .table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: var(--bg);
}

.table tr:last-child td { border-bottom: none; }

/* —— Chips —— */
.chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    font-size: 0.8125rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.muted { color: var(--text-secondary); }
.error { color: var(--danger); font-size: 0.9375rem; }

.flash {
    background: #eef8f2;
    border: 1px solid #c5e6d4;
    color: var(--success);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.progress {
    height: 6px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.progress > span {
    display: block;
    height: 100%;
    background: var(--accent);
}

.meal-grid { overflow-x: auto; }
.meal-grid table { min-width: 720px; }

/* —— Footer —— */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 2.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.inline { display: inline; }

.support-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 28rem;
}

.support-box p { margin: 0 0 1rem; color: var(--text-secondary); font-size: 0.9375rem; }

/* ========== Animations ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        animation: revealUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .reveal-d1 { animation-delay: 0.08s; }
    .reveal-d2 { animation-delay: 0.16s; }
    .reveal-d3 { animation-delay: 0.24s; }

    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition:
            opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-on-scroll.reveal-d1.is-visible { transition-delay: 0.06s; }
    .reveal-on-scroll.reveal-d2.is-visible { transition-delay: 0.12s; }
    .reveal-on-scroll.reveal-d3.is-visible { transition-delay: 0.18s; }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Accueil ========== */
.page-home main.container { padding: 0; max-width: none; width: 100%; }

.home-hero {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0 0;
    background: var(--bg);
    overflow: hidden;
}

.home-hero-ornaments {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.home-orb-a {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -12%;
    right: -8%;
    background: var(--mesh-b);
}

.home-orb-b {
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    bottom: 10%;
    left: -12%;
    background: var(--mesh-a);
}

.home-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, var(--mesh-a), transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 30%, var(--mesh-b), transparent 50%);
    opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
    .home-orb-a { animation: orbFloat 14s ease-in-out infinite alternate; }
    .home-orb-b { animation: orbFloat 18s ease-in-out infinite alternate-reverse; }
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(12px, -16px) scale(1.05); }
}

.home-chip {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2.5rem 4rem;
        padding: 1rem 0 2rem;
    }
}

.home-title {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0 0 1.25rem;
}

.home-title-accent {
    color: var(--accent-orange);
}

.home-sub {
    margin: 0;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 34rem;
}

.home-hero-visual {
    position: relative;
    min-height: 320px;
}

.home-collage {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 1 / 1.05;
}

.home-shot {
    position: absolute;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.home-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 4px);
}

.home-shot-main {
    inset: 8% 12% 18% 0;
    z-index: 2;
}

.home-shot-alt {
    width: 42%;
    aspect-ratio: 1;
    right: 0;
    top: 0;
    z-index: 3;
}

.home-shot-small {
    width: 38%;
    aspect-ratio: 4 / 3;
    right: 4%;
    bottom: 2%;
    z-index: 4;
}

.home-stat {
    position: absolute;
    z-index: 5;
    padding: 0.65rem 0.9rem;
    border-radius: 18px;
    min-width: 6.5rem;
}

.home-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.home-stat-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.home-stat-a {
    left: -4%;
    top: 18%;
}

.home-stat-b {
    left: 6%;
    bottom: 8%;
}

@media (prefers-reduced-motion: no-preference) {
    .home-shot-alt { animation: collageFloat 7s ease-in-out infinite; }
    .home-shot-small { animation: collageFloat 8s ease-in-out infinite reverse; }
    .home-stat-a { animation: collageFloat 6s ease-in-out infinite 0.5s; }
}

@keyframes collageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 899px) {
    .home-collage { max-width: 100%; aspect-ratio: 4 / 3.2; }
    .home-shot-main { inset: 10% 8% 22% 0; }
    .home-stat-a { left: 0; top: 4%; }
    .home-stat-b { bottom: 4%; }
}

.home-trust-wrap {
    position: relative;
    z-index: 2;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.5rem, 4vw, 2rem);
}

.home-trust {
    width: min(var(--max), 92vw);
    margin: 0 auto;
    padding: 1rem 0;
    border-radius: var(--radius-xl);
}

.home-trust-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
    .home-trust-track {
        animation: trustMarquee 32s linear infinite;
    }
}

@keyframes trustMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-trust-list {
    list-style: none;
    margin: 0;
    padding: 0 1rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem 3rem;
    width: max-content;
    align-items: center;
}

.home-trust-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: var(--trust-logo-filter);
    opacity: 0.92;
}

.home-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.home-section-muted {
    background: var(--bg-muted);
}

.home-section-head {
    margin-bottom: 1.75rem;
    max-width: 32rem;
}

.home-section-head h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.4rem, 3.5vw, 1.75rem);
}

.home-section-head p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.home-section-head-center {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-section-head-row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.home-section-cta { flex-shrink: 0; }

.home-meals {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.home-meal {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: var(--radius-xl);
}

.home-meal:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.home-meal-price {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.home-meal-name {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
}

.home-meal-detail {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.home-dot { margin: 0 0.2rem; }

.home-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .home-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.home-flow-item {
    padding: 1.35rem 1.25rem 1.4rem;
    border-radius: var(--radius-xl);
}

.home-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-orange);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
}

.home-flow-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.home-flow-item p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.home-promos {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.home-promo {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.15rem 1rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--border);
}

.home-promo:last-child { border-bottom: none; }

@media (min-width: 640px) {
    .home-promo {
        grid-template-columns: 7rem 1fr auto;
        grid-template-rows: auto;
        align-items: center;
    }
}

.home-promo-store {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.home-promo-product {
    font-size: 0.9375rem;
    font-weight: 500;
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .home-promo-product { grid-column: 2; }
}

.home-promo-price {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .home-promo-price { grid-column: 3; grid-row: 1; }
}

.home-promo-was {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: line-through;
}

