/* =========================================================
   Baozy — design system "squishy"
   Palette : crème pâtisserie, vapeur rose, bambou, sauce soja.
   Approche mobile-first, variables CSS, animations subtiles.
   ========================================================= */

:root {
    /* Palette dumpling */
    --cream: #FAF3E7;
    --cream-deep: #F5E8D0;
    --pastry: #FFF8E7;
    --steam-pink: #FFD6E0;
    --steam-pink-deep: #FFB6C8;
    --bamboo: #7BA05B;
    --bamboo-deep: #5C7E40;
    --sauce: #2D1810;
    --sauce-soft: #5C3317;
    --golden: #F2C94C;
    --golden-soft: #FFE9A8;
    --salmon: #E85A4F;
    --salmon-deep: #C04A40;

    /* Système (texte + surfaces) */
    --text: var(--sauce);
    --text-muted: #8B7259;
    --surface: #FFFFFF;
    --surface-alt: var(--cream);
    --border: rgba(45, 24, 16, 0.10);
    --shadow-sm: 0 2px 6px rgba(45, 24, 16, 0.06);
    --shadow-md: 0 6px 24px rgba(45, 24, 16, 0.08);
    --shadow-lg: 0 16px 40px rgba(45, 24, 16, 0.12);

    /* Layout */
    --container: 1180px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    /* Typo */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
}

/* =========================================================
   Reset + base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a {
    color: var(--salmon);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--salmon-deep); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -0.02em;
    color: var(--sauce);
}
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.4rem, 2.4rem); margin-top: 2.4rem; }
h3 { font-size: clamp(1.2rem, 1.6vw + 0.4rem, 1.5rem); margin-top: 1.6rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; color: var(--sauce); }
hr { border: 0; border-top: 1px dashed var(--border); margin: 2rem 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.75rem;
}
@media (min-width: 680px) {
    .container { padding: 0 2.25rem; }
}

/* Évite tout débordement horizontal sur mobile */
body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
pre, code { max-width: 100%; overflow-x: auto; }
table { max-width: 100%; }
.article p, .article ul, .article ol { word-wrap: break-word; overflow-wrap: anywhere; }

.skip-link {
    position: absolute; left: -9999px;
    background: var(--sauce); color: #fff;
    padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 243, 231, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.25rem; gap: 1rem;
}
.brand {
    display: flex; align-items: center; gap: .7rem;
    text-decoration: none; color: var(--sauce);
}
.brand:hover { text-decoration: none; }
.brand-logo {
    filter: drop-shadow(0 2px 6px rgba(232, 90, 79, 0.18));
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.brand:hover .brand-logo { transform: scale(1.08) rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.5rem;
    letter-spacing: -0.025em;
}
.brand-tagline { font-size: .68rem; color: var(--text-muted); margin-top: 2px; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
    display: block; padding: .55rem .9rem; border-radius: var(--radius-pill);
    color: var(--sauce); font-weight: 600; font-size: .95rem;
    transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover { background: var(--steam-pink); text-decoration: none; }
.primary-nav a.is-active { background: var(--sauce); color: #fff; }

.nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; padding: .5rem;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block; width: 24px; height: 2.5px; background: var(--sauce);
    border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile ouvert */
.primary-nav.is-open {
    display: block; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
}
.primary-nav.is-open ul { flex-direction: column; gap: .25rem; }
.primary-nav.is-open a { font-size: 1.05rem; padding: .8rem 1rem; }

@media (min-width: 880px) {
    .primary-nav { display: block; }
    .nav-toggle { display: none; }
}

/* =========================================================
   Breadcrumbs
   ========================================================= */
.breadcrumbs {
    padding: .75rem 0; font-size: .9rem; color: var(--text-muted);
    border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.4);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .35rem; color: var(--text-muted); opacity: .6; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--salmon); }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
    background: radial-gradient(ellipse at 80% 10%, var(--steam-pink) 0%, transparent 55%),
                radial-gradient(ellipse at 10% 90%, var(--golden-soft) 0%, transparent 55%),
                var(--cream);
    position: relative; overflow: hidden;
}
.hero-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 820px) {
    .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(255,255,255,0.85); padding: .4rem .8rem;
    border-radius: var(--radius-pill); font-size: .85rem;
    color: var(--sauce-soft); font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--salmon);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: .65; }
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw + 0.5rem, 3.6rem);
    margin-bottom: 1rem;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--salmon) 0%, var(--golden) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--sauce-soft); margin-bottom: 1.6rem; max-width: 38em; }
.hero-cta {
    display: flex; gap: .8rem; flex-wrap: wrap; align-items: center;
}

/* Bao illustration (animation flottante) */
.hero-art {
    position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto;
}
.hero-art svg { width: 100%; height: 100%; }
.bao-float { animation: float 5s ease-in-out infinite; transform-origin: center; }
.bao-float--2 { animation-delay: -2s; animation-duration: 6s; }
.bao-float--3 { animation-delay: -3.5s; animation-duration: 7s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.6rem; border-radius: var(--radius-pill);
    font-weight: 700; font-size: 1rem; line-height: 1;
    border: 2px solid transparent;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer; white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--salmon) 0%, var(--salmon-deep) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 90, 79, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232, 90, 79, 0.45); color:#fff; }
.btn-secondary {
    background: #fff; color: var(--sauce);
    border-color: var(--sauce); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--sauce); color: #fff; transform: translateY(-2px); }
.btn-ghost {
    background: transparent; color: var(--sauce);
    border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--sauce); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* =========================================================
   Sections génériques
   ========================================================= */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--white { background: var(--surface); }
.section-eyebrow {
    text-transform: uppercase; letter-spacing: .12em;
    font-size: .78rem; font-weight: 700;
    color: var(--bamboo-deep); margin-bottom: .6rem;
}
.section-title { margin-top: 0; }
.section-lead { font-size: 1.1rem; color: var(--sauce-soft); max-width: 50em; margin-bottom: 2rem; }

/* =========================================================
   Cards : type / produit / blog
   ========================================================= */
.cards {
    display: grid; gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.cards--lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.6rem; }

.card {
    background: #fff; border-radius: var(--radius-md);
    padding: 1.4rem; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Type card */
.type-card {
    text-decoration: none !important; color: inherit !important;
    overflow: hidden; position: relative;
}
.type-card-emoji {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--steam-pink);
    color: var(--sauce); font-weight: 800; font-size: .95rem;
    letter-spacing: .04em;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.type-card-photo {
    margin: -1.4rem -1.4rem 1rem;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.type-card-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.type-card:hover .type-card-photo img { transform: scale(1.06); }
.type-card h3 { margin: 0 0 .4rem; font-size: 1.4rem; }
.type-card .aka { color: var(--text-muted); font-size: .85rem; margin-bottom: .8rem; }
.type-card .short { margin-bottom: 0; flex: 1; }
.type-card .more { margin-top: 1rem; font-weight: 700; color: var(--salmon); font-size: .95rem; }

/* Couleurs personnalisées des types */
.type-card[data-type="bao"] .type-card-emoji { background: #FFF8E7; border: 2px solid #E2B89C; }
.type-card[data-type="gyoza"] .type-card-emoji { background: #FFE5B4; border: 2px solid #D4A574; }
.type-card[data-type="momo"] .type-card-emoji { background: #FFD6E0; border: 2px solid #E59CB0; }
.type-card[data-type="xiaolongbao"] .type-card-emoji { background: #FFE9A8; border: 2px solid #D4B863; }
.type-card[data-type="wonton"] .type-card-emoji { background: #FFEFD5; border: 2px solid #DDB87A; }
.type-card[data-type="mandu"] .type-card-emoji { background: #E8D5C4; border: 2px solid #B89A7E; }

/* Product card */
.product-card {
    text-decoration: none !important; color: inherit !important;
    overflow: hidden; position: relative;
}
.product-card-img {
    background: linear-gradient(135deg, var(--pastry), var(--cream));
    border-radius: var(--radius-sm); padding: 0.4rem;
    margin: -1.4rem -1.4rem 1rem;
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.product-card-img svg { width: 100%; height: 100%; max-height: 200px; }
.product-card .type-tag {
    display: inline-block; padding: .25rem .7rem;
    background: var(--steam-pink); color: var(--sauce);
    font-size: .72rem; font-weight: 700;
    border-radius: var(--radius-pill);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: .6rem;
}
.product-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.product-card .tagline { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.product-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .5rem;
}
.product-card-price {
    font-weight: 800; font-size: 1.1rem; color: var(--sauce);
}
.product-card-price .approx { font-size: .7rem; font-weight: 500; color: var(--text-muted); }
.product-card-rating { font-size: .85rem; color: var(--text-muted); }
.product-card-rating .stars { color: var(--golden); }

/* Image Amazon (img réelle) sur product-card */
.product-card-img img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-img svg { max-height: 200px; }

/* Badges Prime / Stock */
.badges-row { display: flex; gap: .35rem; flex-wrap: wrap; margin: .5rem 0 .8rem; }
.badge {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .25rem .55rem; border-radius: var(--radius-sm);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    line-height: 1.2;
}
.badge-prime { background: linear-gradient(135deg, #00A8E1, #146EB4); color: #fff; }
.badge-stock { background: rgba(123, 160, 91, 0.15); color: var(--bamboo-deep); border: 1px solid rgba(123, 160, 91, 0.4); }
.badge-oos { background: rgba(232, 90, 79, 0.1); color: var(--salmon-deep); border: 1px solid rgba(232, 90, 79, 0.3); }
.badge-pack { background: var(--steam-pink); color: var(--sauce); }

/* Pack section header sur /produits */
.pack-section { margin-bottom: 3rem; }
.pack-section-header {
    display: flex; align-items: baseline; gap: .8rem;
    margin-bottom: 1.4rem;
    border-bottom: 2px solid var(--steam-pink); padding-bottom: .5rem;
}
.pack-section-header h2 { margin: 0; font-size: 1.4rem; }
.pack-section-header .count { font-size: .85rem; color: var(--text-muted); }

/* Blog card */
.blog-card {
    text-decoration: none !important; color: inherit !important;
    overflow: hidden;
}
.blog-card-cover {
    height: 140px;
    border-radius: var(--radius-sm);
    margin: -1.4rem -1.4rem 1.2rem;
    background: var(--steam-pink);
    display: flex; align-items: center; justify-content: center;
    color: var(--sauce); font-size: 3rem; font-weight: 800;
    font-family: var(--font-display);
}
.blog-card .date { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.3; }
.blog-card .excerpt { color: var(--text-muted); font-size: .9rem; margin-bottom: 0; flex: 1; }

/* =========================================================
   Articles éditoriaux / pages texte
   ========================================================= */
.article {
    max-width: 760px; margin: 0 auto;
    padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.article h1 { margin-bottom: .4rem; }
.article .meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }
.article p, .article ul, .article ol { font-size: 1.08rem; line-height: 1.75; }
.article h2 { margin-top: 2.6rem; padding-bottom: .4rem; border-bottom: 2px solid var(--steam-pink); display: inline-block; }
.article h3 { margin-top: 2rem; }
.article blockquote {
    border-left: 4px solid var(--salmon);
    background: var(--pastry);
    padding: 1rem 1.4rem; margin: 1.6rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--sauce-soft);
}

/* =========================================================
   Encarts blog : callouts colorés style éditorial
   ========================================================= */
.callout {
    margin: 2rem 0; padding: 1.4rem 1.6rem;
    border-radius: var(--radius-md);
    background: var(--pastry);
    border-left: 5px solid var(--salmon);
    position: relative;
}
.callout::before {
    content: ""; display: block;
    font-size: 1.6rem; line-height: 1;
    margin-bottom: .6rem;
}
.callout-title {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.1rem;
    margin: 0 0 .5rem;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--sauce);
}
.callout p:last-child { margin-bottom: 0; }
.callout--tip       { background: rgba(123, 160, 91, 0.10); border-left-color: var(--bamboo); }
.callout--tip::before { content: "💡"; }
.callout--info      { background: rgba(255, 214, 224, 0.45); border-left-color: var(--steam-pink-deep); }
.callout--info::before { content: "ℹ️"; }
.callout--warning   { background: rgba(242, 201, 76, 0.18); border-left-color: var(--golden); }
.callout--warning::before { content: "⚠️"; }
.callout--quote     { background: var(--cream); border-left-color: var(--sauce); font-style: italic; }
.callout--quote::before { content: "❝"; font-size: 2.6rem; color: var(--salmon); line-height: 0.5; }
.callout--pro       { background: rgba(232, 90, 79, 0.08); border-left-color: var(--salmon); }
.callout--pro::before { content: "🌶️"; }

/* Highlight inline */
.article mark.hl,
.article .hl {
    background: linear-gradient(180deg, transparent 60%, rgba(242, 201, 76, 0.5) 60%);
    padding: 0 .15em;
    color: inherit;
}

/* Stat blocks */
.stat-grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 1.8rem 0;
}
.stat-block {
    background: #fff; border-radius: var(--radius-md);
    padding: 1.2rem; text-align: center;
    border: 1px solid var(--border);
}
.stat-block .stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 800;
    color: var(--salmon); line-height: 1;
}
.stat-block .stat-label {
    margin-top: .4rem; font-size: .85rem;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
}

/* TOC (sommaire) en début d'article */
.article-toc {
    background: var(--cream); border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem; margin: 1.8rem 0;
}
.article-toc h3 {
    margin: 0 0 .8rem; font-family: var(--font-sans);
    font-size: .85rem; text-transform: uppercase;
    letter-spacing: .1em; color: var(--bamboo-deep);
}
.article-toc ol { margin: 0; padding-left: 1.2em; }
.article-toc li { margin-bottom: .3em; font-size: .95rem; }
.article-toc a { color: var(--sauce); text-decoration: none; }
.article-toc a:hover { color: var(--salmon); }

/* Article cover hero (plus visuel) */
.blog-article-hero {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background-image:
        radial-gradient(ellipse at top right, rgba(255,255,255,0.7) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(255,255,255,0.5) 0%, transparent 50%);
}
.blog-article-hero .tag-pill {
    display: inline-block; padding: .3rem .9rem;
    background: rgba(45, 24, 16, 0.08);
    color: var(--sauce); border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    margin-right: .4rem; margin-bottom: .3rem;
}

/* Hero secondaire (sur pages non-home) */
.page-hero {
    padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, var(--cream) 0%, transparent 100%);
}
.page-hero .container { max-width: 880px; }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .subtitle { font-size: 1.15rem; color: var(--sauce-soft); }

/* =========================================================
   Page type (détail dumpling)
   ========================================================= */
.type-hero {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--steam-pink);
    position: relative; overflow: hidden;
}
.type-hero-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 820px) {
    .type-hero-grid { grid-template-columns: 1fr 1fr; }
}
.type-hero .badge {
    display: inline-block; padding: .35rem .85rem;
    background: rgba(255,255,255,0.6); border-radius: var(--radius-pill);
    color: var(--sauce); font-size: .85rem; font-weight: 700;
    margin-bottom: 1rem;
}
.type-hero h1 { margin-bottom: .8rem; }
.type-hero .tagline { font-size: 1.2rem; color: var(--sauce-soft); margin-bottom: 0; }
.type-hero-illustration {
    background: rgba(255,255,255,0.5); border-radius: var(--radius-lg);
    padding: 2rem; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1; max-width: 400px; margin: 0 auto;
}
.type-hero-illustration svg { width: 100%; height: 100%; }

/* Photo réelle (Wikimedia Commons) — pages /types */
.type-hero-photo {
    margin: 0; max-width: 500px; margin-left: auto; margin-right: auto;
}
.type-hero-photo picture, .type-hero-photo img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(45, 24, 16, 0.20);
    transition: transform .3s ease;
}
.type-hero-photo img { aspect-ratio: 4/3; object-fit: cover; }
.type-hero-photo:hover img { transform: scale(1.02); }
.type-hero-photo figcaption {
    font-size: .78rem; color: var(--text-muted);
    margin-top: .7rem; text-align: center;
}
.type-hero-photo figcaption a { color: var(--text-muted); text-decoration: underline; }

.type-facts {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    margin: 2rem 0;
}
.fact-card {
    background: #fff; padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.fact-card .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bamboo-deep); margin-bottom: .4rem; font-weight: 700; }
.fact-card .value { font-size: 1.05rem; color: var(--sauce); }

/* =========================================================
   Page produit
   ========================================================= */
.product-hero {
    padding: clamp(2rem, 4vw, 3rem) 0;
}
.product-hero-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 820px) {
    .product-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}
.product-image {
    background: linear-gradient(135deg, var(--pastry), var(--steam-pink));
    border-radius: var(--radius-lg); padding: 0.6rem;
    aspect-ratio: 1; max-width: 500px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.product-image svg { width: 100%; height: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }

/* Galerie thumbnails (multi-vues) */
.product-gallery { max-width: 500px; margin: 1rem auto 0; }
.product-gallery-thumbs {
    display: grid; gap: .5rem;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
}
.product-gallery-thumb {
    background: linear-gradient(135deg, var(--pastry), var(--steam-pink));
    border-radius: 10px; padding: .4rem;
    aspect-ratio: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
    display: flex; align-items: center; justify-content: center;
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.product-gallery-thumb:hover { transform: translateY(-2px); }
.product-gallery-thumb.is-active { border-color: var(--salmon); }

.product-info .type-tag {
    display: inline-block; padding: .35rem .85rem;
    background: var(--steam-pink); color: var(--sauce);
    font-weight: 700; font-size: .85rem;
    border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.product-info h1 { font-size: clamp(1.8rem, 3vw + 0.4rem, 2.6rem); margin-bottom: .5rem; }
.product-info .tagline { font-size: 1.15rem; color: var(--sauce-soft); margin-bottom: 1.4rem; }

.product-rating-block {
    display: flex; align-items: center; gap: .8rem;
    margin-bottom: 1.4rem; flex-wrap: wrap;
}
.product-rating-block .stars { font-size: 1.3rem; letter-spacing: 1px; line-height: 1; display: inline-flex; gap: 2px; }
.product-rating-block .rating-num { font-weight: 700; }
.product-rating-block .reviews-count { color: var(--text-muted); font-size: .9rem; }
.star { display: inline-block; }
.star-full { color: var(--golden); }
.star-empty { color: rgba(45, 24, 16, 0.18); }
.star-half {
    color: rgba(45, 24, 16, 0.18);
    position: relative;
    display: inline-block;
}
.star-half > span {
    color: var(--golden);
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

.product-price-block {
    background: var(--cream); border-radius: var(--radius-md); padding: 1.4rem;
    margin-bottom: 1.4rem; border: 1px solid var(--border);
}
.product-price-block .price-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.product-price-block .price-value { font-size: 1.8rem; font-weight: 800; color: var(--sauce); margin: .2rem 0; }
.product-price-block .price-approx { font-size: .85rem; color: var(--text-muted); }

.affiliate-cta {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    width: 100%; padding: 1.1rem 1.8rem;
    background: linear-gradient(135deg, #FF9900 0%, #FF6900 100%);
    color: #fff !important; font-weight: 800; font-size: 1.1rem;
    border-radius: var(--radius-pill); text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.35);
}
.affiliate-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 153, 0, 0.45); }
.affiliate-cta-soft {
    background: var(--cream); color: var(--sauce) !important;
    border: 2px dashed var(--border); box-shadow: none;
}
.affiliate-cta-soft:hover { transform: none; box-shadow: none; background: var(--cream-deep); }
.affiliate-disclosure {
    font-size: .78rem; color: var(--text-muted);
    margin: .6rem 0 0; text-align: center;
}

.feature-list, .pros-cons-list {
    list-style: none; padding: 0; margin: 0 0 1rem;
}
.feature-list li {
    padding: .55rem 0 .55rem 1.8rem;
    position: relative; border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
    content: "✓"; position: absolute; left: 0; top: .55rem;
    color: var(--bamboo); font-weight: 800;
}

.pros-cons {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
    margin: 1.4rem 0;
}
@media (min-width: 680px) {
    .pros-cons { grid-template-columns: 1fr 1fr; }
}
.pros-card, .cons-card {
    background: #fff; padding: 1.2rem; border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.pros-card h4, .cons-card h4 { margin: 0 0 .6rem; font-family: var(--font-sans); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.pros-card h4 { color: var(--bamboo-deep); }
.cons-card h4 { color: var(--salmon-deep); }
.pros-card li { padding-left: 1.4rem; position: relative; }
.pros-card li::before { content: "+"; position: absolute; left: 0; color: var(--bamboo); font-weight: 800; }
.cons-card li { padding-left: 1.4rem; position: relative; }
.cons-card li::before { content: "−"; position: absolute; left: 0; color: var(--salmon); font-weight: 800; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 880px) {
    .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; }
}
.contact-info {
    background: var(--steam-pink); padding: 2rem;
    border-radius: var(--radius-lg);
}
.contact-info h3 { margin-top: 0; }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { padding-left: 1.8rem; position: relative; margin-bottom: .8rem; }
.contact-info li::before { content: "→"; position: absolute; left: 0; color: var(--salmon); font-weight: 800; }

.contact-form {
    background: #fff; padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; font-weight: 700; margin-bottom: .35rem;
    color: var(--sauce); font-size: .92rem;
}
.form-group label .required { color: var(--salmon); }
.form-group input,
.form-group textarea {
    width: 100%; padding: .8rem 1rem;
    font-family: inherit; font-size: 1rem;
    background: var(--cream); border: 2px solid transparent;
    border-radius: var(--radius-sm); color: var(--sauce);
    transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: 0; background: #fff; border-color: var(--salmon);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.flash {
    padding: 1rem 1.2rem; border-radius: var(--radius-md);
    margin-bottom: 1.4rem; font-weight: 600;
}
.flash-success { background: rgba(123, 160, 91, 0.15); color: var(--bamboo-deep); border: 1px solid rgba(123, 160, 91, 0.3); }
.flash-error { background: rgba(232, 90, 79, 0.1); color: var(--salmon-deep); border: 1px solid rgba(232, 90, 79, 0.3); }
.flash-error ul { margin: .4rem 0 0; padding-left: 1.4rem; }

/* =========================================================
   Type-show + product-show divers
   ========================================================= */
.long-description p { font-size: 1.08rem; line-height: 1.8; }
.long-description p + p { margin-top: 1rem; }

.related-products, .related-posts {
    margin-top: 3rem; padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.fun-fact {
    background: var(--golden-soft);
    border-left: 4px solid var(--golden);
    padding: 1.2rem 1.4rem; border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
}
.fun-fact strong { display: block; margin-bottom: .3rem; color: var(--sauce); text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--sauce); color: rgba(255,255,255,0.85);
    padding: 3.5rem 0 0; margin-top: 4rem;
}
.footer-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 680px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-tagline { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.footer-disclosure { font-size: .8rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.footer-col h3 {
    color: #fff; font-family: var(--font-sans); font-size: .9rem;
    text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
    margin-top: 0; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--steam-pink); text-decoration: none; }

.footer-bottom {
    margin-top: 3rem; padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: .85rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* =========================================================
   Utilitaires
   ========================================================= */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 2.5rem; }

.divider-wave {
    height: 32px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'><path d='M0,32 C300,0 900,0 1200,32 L1200,32 L0,32 Z' fill='%23FAF3E7'/></svg>") no-repeat center/cover;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print */
@media print {
    .site-header, .site-footer, .breadcrumbs, .nav-toggle { display: none; }
    body { background: #fff; color: #000; }
}

