html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
}



:root {
    --gold: #D4A017;
    /* doré inspiré du logo */
    --gold-2: #f0c34e;
    --brown: #3a2e25;
    /* brun logo */
    --ink: #1a1716;
    --bg: #fffaf3;
    /* blanc cassé chaleureux */
    --muted: #6f6660;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: box-shadow .25s ease, backdrop-filter .25s ease, background .25s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(160%) blur(8px);
    box-shadow: var(--shadow);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .2px;
}

.logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px
}

.logo span {
    white-space: nowrap
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.2rem
}

.nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
}

.nav a:hover {
    background: rgba(0, 0, 0, .04)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--gold {
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    color: #2a2100
}

.btn--gold:hover {
    filter: brightness(1.05)
}

.btn--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent
}

.btn--outline:hover {
    background: rgba(0, 0, 0, .05)
}

/* Burger */
.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    margin: 7px 0;
    background: var(--ink);
    transition: transform .25s, width .25s, opacity .2s;
    width: 26px
}

/* Drawer mobile */
.drawer {
    position: fixed;
    /* inset: auto 0 0 auto; */
    right: -100%;
    top: 68px;
    width: min(320px, 88%);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    transition: right .3s ease;
    /* border-top-left-radius: 16px;
    border-bottom-left-radius: 16px; */
}

.drawer.open {
    right: 0
}

.drawer-link {
    padding: 12px 10px;
    text-decoration: none;
    color: var(--ink);
    border-radius: 10px;
    font-weight: 600
}

.drawer-link:hover {
    background: rgba(0, 0, 0, .05)
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 6vw, 84px) 0 clamp(64px, 8vw, 120px);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(212, 160, 23, .12), transparent 60%),
        radial-gradient(1000px 500px at 90% 10%, rgba(58, 46, 37, .08), transparent 60%);
}

.hero-grid {
    display: grid;
    gap: 36px;
    align-items: center;
    grid-template-columns: 1.05fr .95fr;
}

.eyebrow {
    color: var(--brown);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .12em
}

.hero h1 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.1;
    margin: 10px 0 12px;
    font-weight: 800;
}

.highlight {
    color: var(--gold);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .06)
}

.sub {
    color: var(--muted);
    max-width: 56ch;
}

.search {
    margin: 20px 0 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    padding: 8px;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 1rem;
    background: transparent;
}

.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px
}

.hero-media {
    display: flex;
    justify-content: center
}

.hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transform: translateZ(0);
}

.hero-card img {
    display: block;
    width: min(560px, 92vw);
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ribbon {
    position: absolute;
    top: 14px;
    left: -10px;
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    color: #2a2100;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    transform: rotate(-4deg);
    box-shadow: 0 8px 20px rgba(212, 160, 23, .35);
}

/* Décor */
.bg-shape {
    position: absolute;
    filter: blur(40px);
    opacity: .22;
    pointer-events: none;
}

.bg-shape--1 {
    width: 520px;
    height: 520px;
    background: var(--gold);
    border-radius: 50%;
    left: -180px;
    bottom: -160px
}

.bg-shape--2 {
    width: 440px;
    height: 440px;
    background: var(--brown);
    border-radius: 50%;
    right: -160px;
    top: -120px;
    opacity: .12
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .nav {
        display: none
    }

    .burger {
        display: block
    }

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

    .hero-card img {
        aspect-ratio: 16 / 10
    }
}

/* Petite amélioration : focus visible */
a:focus,
button:focus,
input:focus {
    outline: 3px solid rgba(212, 160, 23, .55);
    outline-offset: 2px
}

/* ===== Sections génériques ===== */
.section-restos,
.section-blog {
    padding: clamp(56px, 7vw, 92px) 0;
}

.sect-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 0 0 8px;
}

.toolbar {
    margin: 18px 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    color: black;
}

.chip.is-active {
    border-color: var(--gold);
    background: rgba(212, 160, 23, .12)
}

.search-min input {
    width: min(320px, 70vw);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
}

/* ===== Restos + Carte ===== */
.restos-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: start;
}

.restos-list {
    display: grid;
    /* gap: 12px */
}

.resto-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 12px;
}

.resto-cover {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px
}

.resto-meta {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.resto-title {
    margin: 0;
    font-size: 1.05rem
}

.resto-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.tag {
    font-size: .82rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06)
}

.resto-actions {
    display: flex;
    gap: 10px;
    margin-top: auto
}

.resto-actions a {
    text-decoration: none
}

.map {
    width: 100%;
    height: 520px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.post-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.post-cover {
    width: 100%;
    height: 180px;
    object-fit: cover
}

.post-body {
    padding: 14px
}

.post-title {
    margin: 0 0 6px;
    font-size: 1.1rem
}

.post-meta {
    color: var(--muted);
    font-size: .9rem
}

.post-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px
}

/* Responsive */
@media (max-width: 980px) {
    .restos-grid {
        grid-template-columns: 1fr
    }

    .map {
        height: 360px
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {
    .resto-card {
        grid-template-columns: 1fr
    }

    .blog-grid {
        grid-template-columns: 1fr
    }
}

.post-card {
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

/* ===== AVIS ===== */
.section-avis {
    padding: clamp(56px, 7vw, 92px) 0
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.avis-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.avis-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 0 14px;
}

.avis-cover {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 72px;
}

.avis-title {
    margin: 0;
    font-size: 1.05rem
}

.avis-meta {
    color: var(--muted);
    font-size: .9rem
}

.avis-body {
    padding: 10px 14px 14px 14px
}

.stars {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle
}

.star {
    font-size: 1rem;
    color: #E2C200
}

/* or: var(--gold) visuel */
.badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px
}

.badge {
    font-size: .8rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06)
}

.avis-actions {
    display: flex;
    gap: 10px;
    padding: 0 14px 14px 14px;
    margin-top: auto
}

.avis-actions a {
    text-decoration: none
}

.badge-video {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 160, 23, .12);
    color: #2a2100;
    border: 1px solid rgba(212, 160, 23, .4);
}

/* ===== FAQ ===== */
.section-faq {
    padding: clamp(56px, 7vw, 92px) 0
}

.faq-list {
    display: grid;
    gap: 10px
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
}

.faq-q:hover {
    background: rgba(0, 0, 0, .03)
}

.faq-a {
    padding: 0 16px 16px 16px;
    display: none;
    color: var(--ink)
}

.faq-item[open] .faq-a {
    display: block
}

.faq-item[open] .faq-q {
    background: rgba(0, 0, 0, .02)
}

.faq-icon {
    font-size: 20px;
    line-height: 1;
    margin-left: 10px
}

/* Responsive */
@media (max-width: 980px) {
    .avis-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {
    .avis-grid {
        grid-template-columns: 1fr
    }
}

/* ===== CONTACT ===== */
.section-contact {
    background: #fff;
    padding: clamp(64px, 8vw, 120px) 0;
}

.contact-form {
    max-width: 720px;
    margin: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

label {
    font-weight: 600;
    color: var(--ink);
}

input,
textarea {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, .2);
}

.form-success {
    margin-top: 10px;
    color: green;
    font-weight: 600
}

/* ===== FOOTER ===== */
.footer {
    background: var(--brown);
    color: #fff;
    padding: clamp(56px, 6vw, 80px) 0 28px;
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #f5f2ed;
}

.footer-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 6px;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-social p {
    font-weight: 600;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1;
    border-radius: 50%;
    transition: background .2s, transform .2s;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.social-links img {
    width: 18px;
    height: 18px;
    filter: invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 40px;
    text-align: center;
    padding-top: 16px;
    color: #ddd;
    font-size: .85rem;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600
}

.footer-bottom a:hover {
    text-decoration: underline
}

@media(max-width:800px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

html,
body {
    margin: 0;
    padding: 0;
}

.footer {
    margin: 0;
}

.footer-bottom {
    padding: 16px 0;
}

.footer-bottom p {
    margin: 0;
}

/* ===== COULEURS DE BASE ===== */
:root {
    --brown: #3A2E25;
    --brown-light: #5C4638;
    --gold: #D4A017;
    --gold-2: #F0C34E;
    --beige: #FFF9F2;
    --beige-alt: #FFFCF8;
    --sand: #F4E9DC;
    --ink: #1A1716;
    --muted: #6F6660;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 18px;
}

/* ===== SECTIONS : FONDS COHÉRENTS ===== */
.hero {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(212, 160, 23, .15), transparent 60%),
        radial-gradient(800px 500px at 90% 10%, rgba(58, 46, 37, .1), transparent 60%),
        var(--beige);
}

.section-restos {
    background: var(--beige-alt);
    position: relative;
}

.section-restos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.05), transparent 60%);
    pointer-events: none;
}

.section-blog {
    background: var(--sand);
    position: relative;
}

.section-blog::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(58, 46, 37, 0.08), transparent 70%);
    pointer-events: none;
}

.section-avis {
    background: var(--beige);
}

.section-faq {
    background: var(--sand);
}

.section-contact {
    background: linear-gradient(180deg, var(--beige-alt), var(--beige) 80%);
}

.footer {
    background: var(--brown);
    color: #fff;
}

section {
    scroll-margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, .03);
}

section {
    /* opacity: 0; */
    /* transform: translateY(20px); */
    transition: opacity .6s ease, transform .6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Page détail resto ===== */
.page-detail {
    padding: clamp(40px, 5vw, 64px) 0;
}

.breadcrumb {
    font-size: .9rem;
    color: var(--muted);
    margin: 6px 0 14px;
}

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

.breadcrumb span {
    opacity: .9;
}

.detail-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 26px;
}

.detail-meta h1 {
    margin: .2rem 0 .4rem;
    font-size: clamp(26px, 3.2vw, 38px);
}

.detail-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.detail-address {
    color: var(--muted);
    margin: 0 0 10px;
}

.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.detail-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-map {
    margin: 16px 0 28px;
}

.detail-map h2,
.detail-avis h2 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 28px);
}

/* Responsive */
@media (max-width: 980px) {
    .detail-head {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .detail-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== RESTOS SECTION ===== */
.section-restos {
    position: relative;
    padding: clamp(40px, 5vw, 80px) 0;
    background: #fff;
}

/* grille principale */
.restos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* LISTE scrollable (ok) */
.restos-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 600px;
    overflow: auto;
    padding-right: 8px;
}

/* === CARTE RESTO : layout stable === */
.resto-card {
    display: grid;
    /* au lieu de flex */
    grid-template-columns: 120px 1fr;
    /* image fixe + contenu */
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    overflow: hidden;
    min-height: 260px;
    /* empêche l’écrasement */
    box-shadow: var(--shadow);
}

.resto-cover {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.resto-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.resto-title {
    margin: 0;
    font-size: 1.05rem;
}

.resto-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.tag {
    font-size: .82rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06)
}

.resto-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap
}

/* ====== Breakpoint tablette ====== */
@media (max-width: 1024px) {
    .restos-grid {
        grid-template-columns: 1fr;
        /* on empile */
        gap: 16px;
    }

    .restos-list {
        max-height: none;
        /* on enlève la hauteur fixe */
        overflow: visible;
        /* plus de scroll interne */
        padding-right: 0;
    }

    .restos-map {
        min-height: 420px;
        /* carte confortable */
        border-radius: 16px;
    }

    /* cartes un peu plus compactes */
    .resto-card {
        grid-template-columns: 100px 1fr;
        min-height: 96px;
        gap: 12px;
    }

    .resto-cover {
        width: 100px;
        height: 80px;
    }
}

/* ====== Breakpoint mobile ====== */
@media (max-width: 640px) {
    .toolbar {
        gap: 10px
    }

    .resto-card {
        grid-template-columns: 1fr;
        /* image au-dessus */
        min-height: 450px;
    }

    .resto-cover {
        width: 100%;
        height: 160px;
        border-radius: 10px;
    }

    /* pour éviter tout débordement horizontal */
    body {
        overflow-x: hidden;
    }
}

/* ===== Mobile: liste scrollable + carte dessous ===== */
@media (max-width: 640px) {
    .restos-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* la liste scrolle dans une box (momentum iOS) */
    .restos-list {
        max-height: 45vh;
        /* hauteur de la box */
        overflow-y: auto;
        /* active le scroll */
        -webkit-overflow-scrolling: touch;
        /* inertie iOS */
        touch-action: pan-y;
        /* évite les blocages */
        padding-right: 6px;
    }

    /* carte en dessous, bonne hauteur */
    .restos-map {
        border-radius: 16px;
    }

    /* évite tout blocage global du scroll */
    html,
    body {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden;
    }
}

.article-wrap {
    padding: 60px 0;
    max-width: 850px;
}

.article-title {
    font-size: clamp(26px, 4vw, 42px);
    margin-bottom: 8px;
}

.article-meta {
    color: var(--muted);
    margin-bottom: 10px;
}

.article-cover img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 20px;
}

.article-content {
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--ink);
}

.article-content h2 {
    font-size: 1.4rem;
    margin-top: 1.6em;
}

.article-content p {
    margin: 0.8em 0;
}

blockquote {
    border-left: 4px solid var(--gold);
    background: rgba(212, 160, 23, .08);
    padding: 0.8em 1em;
    border-radius: 6px;
}

.tag {
    background: rgba(212, 160, 23, .1);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.simple-article {
    max-width: 850px;
    margin: 80px auto;
    padding: 0 20px;
    color: #2b231d;
    line-height: 1.7;
}

.blog-article h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 10px;
    color: #2b231d;
}

.post-date {
    color: #a5906d;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.post-cover {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.post-body p {
    margin-bottom: 1.2em;
    font-size: 1.05rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
    color: var(--gold, #c19a43);
    font-weight: 600;
    transition: opacity .2s;
}

.back-link:hover {
    opacity: .7;
}

/* ===== Review detail ===== */
.review-detail-page {
    max-width: 860px;
    margin: 64px auto;
    padding: 0 20px;
}

.review-article h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin: 0 0 8px;
    color: var(--ink);
}

.back-link {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--gold, #D4A017);
    font-weight: 600;
}

.back-link:hover {
    opacity: .8;
}

.review-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted, #6F6660);
    margin-bottom: 14px;
}

.stars .star {
    color: #F3C04E;
    font-size: 1.05rem;
    display: none;
}

.tags .tag {
    background: rgba(212, 160, 23, .12);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: .8rem;
}

.review-cover img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    margin-bottom: 16px;
}

.review-body p {
    margin: .9em 0;
    line-height: 1.75;
    font-size: 1.05rem;
    color: var(--ink);
}

.review-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.review-detail-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ====== REVIEW DETAIL – HERO ====== */
.review-hero {
    position: relative;
    min-height: 36vh;
    background-image: var(--cover);
    background-size: cover;
    background-position: center;
    filter: saturate(.95);
}

.review-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .5) 70%),
        linear-gradient(0deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .15));
}

.review-hero__inner {
    position: relative;
    color: #fff;
    padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 5vw, 48px);
}

.review-title {
    margin: 6px 0 6px;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.15;
}

.review-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: #bfc6cf;
}

.review-meta--light .stars {
    color: #ffd76a;
}

.back-link {
    color: var(--gold, #D4A017);
    text-decoration: none;
    font-weight: 600;
}

.back-link--light {
    color: #ffe8a6;
}

.back-link:hover {
    opacity: .85;
}

/* ====== REVIEW CARD ====== */
.review-card {
    position: relative;
    top: -36px;
    /* chevauche le hero */
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 0;
}

.review-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-card__body {
    padding: clamp(18px, 3.5vw, 28px);
}

.review-card .lead {
    font-weight: 600;
    color: #3b2f28;
    margin-top: 2px;
}

/* Texte de détail (HTML injecté) */
.review-detail-text p {
    margin: .95em 0;
    line-height: 1.75;
    font-size: 1.05rem;
    color: #2b231d;
}

/* meta badges */
.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tags .tag {
    background: rgba(212, 160, 23, .12);
    color: #6d5a2c;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .82rem;
}

.tags--light .tag {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* stars */
.stars {
    color: #F3C04E;
    letter-spacing: .5px;
    display: none;
}

/* actions */
.review-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.btn.btn--ghost {
    background: transparent;
    border: 1px dashed rgba(0, 0, 0, .2);
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
    .review-card {
        grid-template-columns: 1fr;
        top: -26px;
    }

    .review-card__media img {
        height: 240px;
    }
}

@media (max-width: 560px) {
    .review-hero {
        min-height: 30vh;
    }

    .review-card__media img {
        height: 200px;
    }
}

.social-links svg {
    width: 22px;
    height: 22px;
    color: #d4a017;
    /* doré HFC */
    transition: opacity .2s, transform .2s;
}

.social-links svg:hover {
    opacity: .8;
    transform: scale(1.08);
}

/* ===== Scroll avis mobile ===== */
@media (max-width: 768px) {
    .section-avis {
        position: relative;
        padding-bottom: 0;
    }

    #avis-grid {
        max-height: 430px;
        /* ajuste si tu veux plus/moins */
        overflow-y: auto;
        padding-right: 6px;
        padding: 10px;
        scroll-behavior: smooth;
    }

    /* Pour éviter que les cartes s'écrasent sur mobile */
    .avis-card {
        min-height: 120px;
    }

    /* Barre de scroll fine — optionnel */
    #avis-grid::-webkit-scrollbar {
        width: 5px;
    }

    #avis-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
    }
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: #d4a017;
    /* ton gold HFC */
    transition: .2s ease;
}

.social-link svg:hover {
    opacity: .75;
    transform: scale(1.08);
}

.avis-link {
    text-decoration: none;
    /* enlève le souligné */
    color: inherit;
    /* conserve la couleur du texte */
    display: block;
    /* pour que la carte soit cliquable */
}

.avis-link:visited,
.avis-link:active,
.avis-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ===== CARTE FIDÉLITÉ ===== */
.section-carte {
    padding: clamp(50px, 7vw, 80px) 0;
    background: linear-gradient(180deg, #fff9f2 0%, #fff6eb 100%);
    position: relative;
    overflow: hidden;
}

/* petit motif en fond (optionnel) */
.section-carte::before {
    content: "";
    position: absolute;
    inset: -80px;
    background:
        radial-gradient(circle at 0% 0%, rgba(212, 160, 23, 0.18) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(212, 160, 23, 0.12) 0, transparent 55%);
    opacity: .45;
    pointer-events: none;
}

.section-carte .container {
    position: relative;
    z-index: 1;
}

.carte-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 48px);
    align-items: flex-start;
    margin-top: 24px;
}

.carte-intro h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    margin-bottom: 10px;
    color: #3a2f23;
}

.carte-intro p {
    color: #5e5040;
}

.carte-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.12);
    color: #85621d;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.carte-list {
    list-style: none;
    margin: 14px 0 18px;
    padding: 0;
}

.carte-list li {
    margin-bottom: 8px;
    font-size: 0.98rem;
    color: #4b3f33;
}

/* Steps */
.carte-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    color: #3f3429;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #d4a017;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Colonne droite */
.carte-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carte-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.25);
}

.carte-label {
    font-size: 0.9rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9a8155;
    margin-bottom: 6px;
}

.carte-price {
    font-size: 2.1rem;
    font-weight: 700;
    color: #3a2f23;
    margin: 0 0 4px;
}

.carte-price span {
    font-size: 0.88rem;
    font-weight: 500;
    color: #8a7453;
    margin-left: 4px;
}

.carte-small {
    font-size: 0.9rem;
    color: #7b6d5b;
    margin-bottom: 14px;
}

.carte-form .form-field {
    margin-bottom: 10px;
}

.carte-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 8px;
    font-size: 0.85rem;
    color: #5b4c3b;
}

.carte-check input {
    margin-top: 3px;
}

.carte-info {
    font-size: 0.9rem;
    color: #7a6a55;
    margin-top: 6px;
}

.full-btn {
    width: 100%;
    margin-top: 4px;
    opacity: .7;
    cursor: pointer;
}

/* Texte sous la carte */
.carte-help {
    font-size: 0.9rem;
    color: #6a5a48;
    margin: 4px 4px 0;
}

.carte-help a {
    color: #b7851d;
    font-weight: 600;
    text-decoration: none;
}

.carte-help a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .carte-grid {
        grid-template-columns: 1fr;
    }

    .carte-panel {
        max-width: 420px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .carte-card {
        padding: 18px 16px;
    }

    .carte-steps {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Logo à côté du titre */
.carte-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 25px;
}

.carte-title-box .carte-title-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 600px) {
    .carte-title-box .carte-title-logo {
        width: 48px;
        height: 48px;
    }
}

/* ===== WALLET PAGE ===== */
.wallet-page {
    padding: clamp(60px, 7vw, 80px) 0;
    background: radial-gradient(circle at top left, rgba(212, 160, 23, 0.13), transparent 55%),
        radial-gradient(circle at bottom right, rgba(212, 160, 23, 0.1), #fffaf3 70%);
}

.wallet-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 40px);
    align-items: flex-start;
}

/* Carte membre */
.wallet-card {
    background: #14110f;
    color: #fff;
    border-radius: 20px;
    padding: 22px 22px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0% 0%, rgba(212, 160, 23, 0.5), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(212, 160, 23, 0.25), transparent 55%);
    opacity: .9;
    pointer-events: none;
}

.wallet-card>* {
    position: relative;
    z-index: 1;
}

.wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wallet-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
}

.wallet-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    opacity: .9;
}

.wallet-title {
    font-size: 1.15rem;
    margin: 0;
}

.wallet-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8, 199, 96, 0.18);
    color: #76ffb3;
    border: 1px solid rgba(8, 199, 96, 0.6);
}

.wallet-user {
    margin: 10px 0 8px;
}

.wallet-user-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.wallet-user-email {
    font-size: 0.9rem;
    opacity: .9;
}

.wallet-user-id {
    font-size: 0.8rem;
    opacity: .7;
}

/* QR */
.wallet-qr {
    margin-top: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
}

#wallet-qr-box>img,
#wallet-qr-box>canvas {
    border-radius: 10px;
    background: #fff;
    padding: 6px;
}

.wallet-qr-text {
    font-size: 0.86rem;
    opacity: .9;
}

/* Validité */
.wallet-validity {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: .9;
}

/* Liste partenaires */
.wallet-partners h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #3b3024;
}

.wallet-partners-sub {
    font-size: 0.95rem;
    color: #706050;
    margin-bottom: 12px;
}

.wallet-partners-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wallet-partners-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.97rem;
    color: #40352a;
}

/* Responsive */
@media (max-width: 900px) {
    .wallet-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wallet-card {
        padding: 18px 16px;
    }

    .wallet-qr {
        flex-direction: column;
        align-items: flex-start;
    }
}

.wallet-download-btn {
    margin-top: 16px;
}

/* ===== PAGE VERIFICATION PARTENAIRE ===== */
.verify-page {
    padding: clamp(60px, 7vw, 80px) 0;
    background: #fffdf7;
}

.verify-head {
    text-align: left;
    margin-bottom: 24px;
}

.verify-head h1 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 8px;
    color: #3a2f23;
}

.verify-head p {
    color: #6b5a47;
    max-width: 560px;
}

.verify-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: flex-start;
}

/* Bloc scanner */
.verify-scanner h2,
.verify-result h2 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #3a2f23;
}

.verify-note {
    font-size: 0.9rem;
    color: #7a6a57;
    margin-bottom: 10px;
}

.qr-reader {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Résultat */
.verify-result {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.verify-card-placeholder {
    padding-top: 6px;
}

.verify-muted {
    font-size: 0.85rem;
    color: #8a7b68;
}

.verify-card {
    margin-top: 10px;
    padding: 12px 12px 10px;
    border-radius: 12px;
}

.verify-card.valid {
    border: 1px solid rgba(8, 199, 96, 0.4);
    background: #e9fff4;
}

.verify-card.error {
    border: 1px solid rgba(199, 48, 8, 0.4);
    background: #ffe9e9;
}

.verify-tag {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.verify-card.valid .verify-tag {
    background: #c9f7e1;
    color: #116b3a;
}

.verify-card.error .verify-tag {
    background: #f9d0d0;
    color: #8a1f1f;
}

.verify-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.verify-email,
.verify-id {
    font-size: 0.9rem;
    color: #4c4033;
}

/* Responsive */
@media (max-width: 900px) {
    .verify-grid {
        grid-template-columns: 1fr;
    }
}

.carte-form--hidden {
    display: none;
}

/* ==============================
   PARTENAIRES & AVANTAGES (HFC)
   basé sur : --bg --ink --gold --gold-2 --brown --muted
============================== */

.section-partners {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #fff3dd 100%);
    position: relative;
    overflow: hidden;
}

/* halos doux */
.section-partners::before,
.section-partners::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
    pointer-events: none;
}

.section-partners::before {
    top: -160px;
    left: -160px;
    background: var(--gold-2);
}

.section-partners::after {
    bottom: -220px;
    right: -160px;
    background: #c8a07a;
}

/* ==============================
   HEADER
============================== */

.partners-head {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 28px;
}

.partners-kicker {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.partners-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 23, 22, 0.05);
    color: var(--ink);
    border: 1px solid rgba(26, 23, 22, 0.10);
    font-size: 0.85rem;
    font-weight: 600;
}

.partners-chip--gold {
    background: rgba(212, 160, 23, 0.14);
    border-color: rgba(212, 160, 23, 0.25);
    color: var(--brown);
}

.partners-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 10px;
}

.partners-sub {
    margin: 0 auto;
    max-width: 780px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

/* bloc "comment ça marche" */
.partners-how {
    margin: 18px auto 0;
    max-width: 780px;
    text-align: left;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid rgba(26, 23, 22, 0.08);
    box-shadow: var(--shadow);
}

.partners-how-title {
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--ink);
}

.partners-how-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.partners-how-list li {
    margin-bottom: 6px;
}

/* ==============================
   TOOLS (search)
============================== */

.partners-tools {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.partners-search-label {
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 700;
}

.partners-search-wrap {
    width: min(760px, 100%);
    display: grid;
    gap: 8px;
    justify-items: center;
}

.partners-search {
    width: 100%;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(26, 23, 22, 0.15);
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink);
    font-size: 1rem;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease;
}

.partners-search::placeholder {
    color: rgba(111, 102, 96, 0.9);
}

.partners-search:focus {
    border-color: rgba(212, 160, 23, 0.55);
    box-shadow:
        0 0 0 4px rgba(212, 160, 23, 0.16),
        0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.partners-count {
    font-size: 0.9rem;
    color: rgba(111, 102, 96, 0.95);
    font-weight: 600;
}

.partners-hint {
    margin: 0;
    color: rgba(111, 102, 96, 0.95);
    font-size: 0.9rem;
}

/* ==============================
   GRID
============================== */

.partners-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1000px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   PARTNER CARD
   (classes injectées par JS)
============================== */

.partner-card {
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(26, 23, 22, 0.10);
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 160, 23, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.partner-img {
    aspect-ratio: 16 / 10;
    background: rgba(26, 23, 22, 0.04);
    overflow: hidden;
}

.partner-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.partner-card:hover .partner-img img {
    transform: scale(1.07);
}

.partner-body {
    padding: 16px 16px 18px;
}

.partner-name {
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.12rem;
}

.partner-offer {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Tags (si présents) */
.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown);
    background: rgba(212, 160, 23, 0.14);
    border: 1px solid rgba(212, 160, 23, 0.25);
}

/* ==============================
   EMPTY STATE
============================== */

.partners-empty {
    grid-column: 1 / -1;
    border-radius: var(--radius);
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px dashed rgba(26, 23, 22, 0.18);
    text-align: center;
    box-shadow: var(--shadow);
}

.partners-empty p {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

.partners-empty .muted {
    margin-top: 6px;
    color: var(--muted);
    font-weight: 500;
}

/* ==============================
   FOOTER
============================== */

.partners-footer {
    margin-top: 26px;
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.partners-notes {
    display: grid;
    gap: 8px;
    text-align: center;
}

.partners-note {
    margin: 0;
    color: rgba(111, 102, 96, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.partners-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(26, 23, 22, 0.08);
    box-shadow: var(--shadow);
    text-align: center;
}

.partners-cta-text {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

.partners-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: #1a1716;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(26, 23, 22, 0.15);
    transition: transform .18s ease, box-shadow .18s ease;
}

.partners-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

/* Badge partenaire sur l’image */
.resto-media {
    position: relative;
}

.resto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.28rem;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 23, 22, 0.12);
}

.resto-badge--partner {
    background: rgba(212, 160, 23, 0.18);
    color: var(--brown);
}

/* Ligne offre dans la card */
.resto-offer {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.18);
    color: var(--ink);
    line-height: 1.5;
    font-size: 0.92rem;
}

.resto-offer span {
    font-weight: 900;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(-10px);
    animation: toastIn .25s ease forwards, toastOut .25s ease forwards 3.6s;
}

.toast--success {
    background: #22c55e;
}

.toast--error {
    background: #ef4444;
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.wallet-partners-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.wallet-partner-card {
    display: flex;
    gap: 14px;
    border-radius: 12px;
    padding: 12px;
    align-items: center;
}

.wallet-partner-img img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.wallet-partner-name {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
}

.wallet-partner-offer {
    margin: 0;
    font-size: 0.9rem;
    color: #d4af37;
}

.wallet-logo-main {
    width: 64px;
    /* ← taille idéale */
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.wallet-card {
    position: relative;
    /* OBLIGATOIRE pour le absolute */
}

/* Logo décoratif à droite */
.wallet-logo-bg {
    position: absolute;
    right: 28px;
    top: -150%;
    transform: translateY(-50%);
    width: 140px;
    border-radius: 100px;
}