/* ==========================================================================
   index3-manga.css — Home manga premium (index3.html)
   Hero sombre type univers + touches JP (screentone, kanji) + sections différenciées
   ========================================================================== */

.mg3 {
    --mg3-navy: #0f172a;
    --mg3-navy2: #1e293b;
    --mg3-navy-soft: #f1f5f9;
    --mg3-red: #e11d48;
    --mg3-red2: #be123c;
    --mg3-ink: #0f172a;
    --mg3-muted: #64748b;
    --mg3-line: #e2e8f0;
    --mg3-accent: #f43f5e;
}

/* ---- HERO Torii — speed lines, produit flottant, pills licences ---------- */
.mg3-gate {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #0c0a09;
    padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(1.75rem, 3.5vw, 3rem);
    border-bottom: 3px solid var(--mg3-red);
}
.mg3-gate__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.mg3-gate__lines {
    position: absolute;
    inset: -20%;
    background: repeating-conic-gradient(from 0deg at 70% 45%, transparent 0deg 8deg, rgba(225,29,72,.07) 8deg 9deg);
    animation: mg3GateSpin 60s linear infinite;
}
@keyframes mg3GateSpin { to { transform: rotate(360deg); } }
.mg3-gate__torii {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(140px, 22vw, 260px);
    height: clamp(100px, 16vw, 180px);
    opacity: .18;
}
.mg3-gate__torii::before,
.mg3-gate__torii::after {
    content: '';
    position: absolute;
    background: var(--mg3-red);
    border-radius: 2px;
}
.mg3-gate__torii::before {
    top: 0;
    left: 0;
    right: 0;
    height: 12%;
    box-shadow: 0 8px 0 var(--mg3-red);
}
.mg3-gate__torii::after {
    bottom: 0;
    left: 18%;
    width: 14%;
    height: 75%;
    box-shadow: calc(100% + clamp(80px, 14vw, 160px)) 0 0 var(--mg3-red);
}
.mg3-gate__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 440px);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: center;
}
.mg3-gate__chip {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fda4af;
    border: 1px solid rgba(253,164,175,.35);
    padding: .28rem .65rem;
    border-radius: 999px;
    margin-bottom: .65rem;
}
.mg3-gate__title {
    margin: 0 0 .5rem;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.03em;
}
.mg3-gate__jp {
    display: block;
    font-size: clamp(.85rem, 1.5vw, 1.1rem);
    letter-spacing: .28em;
    color: var(--mg3-red);
    margin-bottom: .25rem;
}
.mg3-gate__lead {
    margin: 0 0 .85rem;
    font-size: clamp(.88rem, 1.4vw, 1rem);
    line-height: 1.5;
    color: rgba(255,255,255,.72);
    max-width: 36ch;
}
.mg3-gate__pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}
.mg3-gate__pills a {
    font-size: .68rem;
    font-weight: 800;
    padding: .32rem .65rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    transition: background .15s ease, border-color .15s ease;
}
.mg3-gate__pills a:hover {
    background: rgba(225,29,72,.25);
    border-color: rgba(253,164,175,.45);
}
.mg3-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.mg3-gate__btn {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease;
}
.mg3-gate__btn--fill {
    color: #fff;
    background: linear-gradient(135deg, #fb7185, var(--mg3-red));
    box-shadow: 0 8px 24px rgba(225,29,72,.4);
}
.mg3-gate__btn--fill:hover { transform: translateY(-2px); }
.mg3-gate__btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
}
.mg3-gate__spot {
    position: relative;
    text-align: center;
}
.mg3-gate__aura {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(circle, rgba(225,29,72,.35) 0%, transparent 65%);
    animation: mg3GatePulse 3s ease-in-out infinite;
}
@keyframes mg3GatePulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.mg3-gate__feat {
    position: relative;
    z-index: 2;
    display: block;
    text-decoration: none;
    filter: drop-shadow(0 20px 40px rgba(225,29,72,.35));
    transition: transform .25s ease;
}
.mg3-gate__feat:hover { transform: translateY(-6px) scale(1.03); }
.mg3-gate__feat img {
    width: 100%;
    max-height: clamp(220px, 30vw, 360px);
    object-fit: contain;
}
.mg3-gate__boom {
    position: absolute;
    top: 5%;
    right: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--mg3-red);
    text-shadow: 3px 3px 0 #fff, -1px -1px 0 #1c1917;
    transform: rotate(8deg);
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 900px) {
    .mg3-gate__inner { grid-template-columns: 1fr; }
    .mg3-gate__torii { right: -5%; opacity: .12; }
    .mg3-gate__spot { order: -1; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 520px) {
    .mg3-gate__title { font-size: 2rem; }
}

/* Grille phares — section légèrement plus étroite, images pleine taille de cellule */
.mg3-phares-section > .container {
    max-width: min(1140px, 96%);
}
.mg3-phares-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-bottom: 1.25rem;
}
.mg3-phares-grid .product-card,
.mg3-phares-grid .product-card-large { width: 100%; }
.mg3-phares-grid .product-image {
    aspect-ratio: 1 / 1;
    max-height: none !important;
    min-height: 0 !important;
}
.mg3-phares-grid .product-image img,
.mg3-phares-grid .product-image picture img {
    padding: 8px !important;
    object-fit: contain !important;
}

/* ---- HERO compact legacy ------------------------------------------------- */
.mg3-hero--compact {
    background: #fff;
    color: var(--mg3-ink);
    padding: clamp(1rem, 2vw, 1.35rem) 0;
    border-bottom: 1px solid var(--mg3-line);
}
.mg3-hero-compact {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.mg3-hero-compact__copy { flex: 1; min-width: 220px; }
.mg3-hero-compact__tag {
    margin: .35rem 0 0; font-size: .95rem; line-height: 1.45; color: var(--mg3-muted); max-width: 52ch;
}
.mg3-hero-compact__cta { flex-shrink: 0; white-space: nowrap; }
.mg3-hero--compact .mg3-eyebrow { color: var(--mg3-red); margin-bottom: .35rem; }

/* ---- HERO legacy (conservé si réutilisé ailleurs) ------------------------ */
.mg3-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mg3-navy) 0%, #162032 45%, var(--mg3-navy2) 100%);
    color: #fff;
    padding: clamp(1.1rem, 2.5vw, 1.75rem) 0 clamp(.85rem, 2vw, 1.25rem);
    border-bottom: 3px solid var(--mg3-red);
}
.mg3-hero__tone {
    position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1.4px) 0 0 / 11px 11px;
}
.mg3-hero__kanji {
    position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
    font-size: clamp(6rem, 18vw, 14rem); font-weight: 900; opacity: .06;
    line-height: 1; pointer-events: none; user-select: none;
}
.mg3-hero__inner { position: relative; z-index: 2; }
.mg3-hero__main {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: center; margin-bottom: 0;
}
.mg3-jp {
    display: inline-block; background: var(--mg3-red); color: #fff;
    padding: .12em .45em; border-radius: 4px; font-weight: 800; margin-right: .35em;
    font-size: .92em; letter-spacing: .04em;
}
.mg3-eyebrow {
    display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: .65rem;
}
.mg3-hero__title {
    margin: 0 0 .7rem; font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 900;
    line-height: 1.02; letter-spacing: -.02em;
}
.mg3-hero__title em { color: var(--mg3-accent); font-style: normal; }
.mg3-hero__ono {
    display: inline-block; margin-left: .35em; font-size: .45em; vertical-align: super;
    color: var(--mg3-red); transform: rotate(-8deg); opacity: .95;
}
.mg3-hero__lead {
    margin: 0 0 1rem; max-width: 48ch; color: rgba(255,255,255,.82);
    font-size: clamp(.95rem, 1.5vw, 1.06rem); line-height: 1.55;
}
.mg3-hero__stats {
    display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0;
}
.mg3-hero__stats li {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px; padding: .35rem .85rem; font-size: .86rem;
}
.mg3-hero__stats strong { color: #fff; font-weight: 800; margin-right: .2em; }
.mg3-hero__cta { display: flex; flex-wrap: wrap; gap: .65rem; }
.mg3-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem; text-decoration: none;
    padding: .72rem 1.35rem; border-radius: 10px; transition: all .18s ease;
}
.mg3-btn--primary { background: var(--mg3-red); color: #fff; box-shadow: 0 8px 24px rgba(225,29,72,.35); }
.mg3-btn--primary:hover { background: var(--mg3-red2); transform: translateY(-2px); }
.mg3-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.mg3-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Mosaic produits (style comics uh2-mosaic, fond sombre) */
.mg3-hero__mosaic {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 58px); gap: 8px;
}
.mg3-panel {
    position: relative; overflow: hidden; border-radius: 10px;
    border: 2px solid rgba(255,255,255,.15); box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform .2s, box-shadow .2s;
}
.mg3-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg3-panel:hover { transform: scale(1.03); box-shadow: 0 12px 32px rgba(225,29,72,.35); z-index: 2; }
.mg3-panel--1 { grid-column: span 2; grid-row: span 3; }
.mg3-panel--2 { grid-column: span 2; grid-row: span 2; }
.mg3-panel--3 { grid-column: span 1; grid-row: span 1; }
.mg3-panel--4 { grid-column: span 1; grid-row: span 1; }

/* Étagère tranches manga (inspiré BD bs-spine) */
.mg3-shelf-wrap { position: relative; z-index: 2; }
.mg3-shelf__label {
    margin: 0 0 .75rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.65);
}
.mg3-shelf {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: .5rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.mg3-spine {
    flex: 0 0 auto; scroll-snap-align: start;
    display: flex; align-items: flex-end; justify-content: center;
    width: 56px; min-height: 140px; padding: .6rem .35rem;
    background: linear-gradient(180deg, var(--c, #64748b) 0%, color-mix(in srgb, var(--c, #64748b) 70%, #000) 100%);
    border-radius: 6px 6px 4px 4px; text-decoration: none; color: #fff;
    box-shadow: 4px 4px 0 rgba(0,0,0,.4), inset -2px 0 0 rgba(0,0,0,.15);
    transition: transform .18s ease;
}
.mg3-spine span {
    writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
    font-size: .72rem; font-weight: 800; letter-spacing: .04em; line-height: 1.1;
    text-align: center; max-height: 120px; overflow: hidden;
}
.mg3-spine:hover { transform: translateY(-8px); }

/* Séparateur style manga (ligne rouge + kanji) */
.mg3-sep-tone {
    position: relative;
    height: 22px;
    margin-top: .75rem;
    background:
        linear-gradient(90deg, transparent 0%, rgba(225,29,72,.55) 18%, rgba(225,29,72,.85) 50%, rgba(225,29,72,.55) 82%, transparent 100%) center / 100% 2px no-repeat,
        repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 6px, transparent 6px 14px);
}
.mg3-sep-tone__kanji {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-size: .72rem; font-weight: 900; letter-spacing: .35em; color: rgba(255,255,255,.45);
    background: var(--mg3-navy2); padding: 0 .65em;
}

/* ---- Sections communes --------------------------------------------------- */
.mg3-sec { padding: clamp(1.6rem, 3.5vw, 2.5rem) 0; position: relative; }
.mg3-sec--navy {
    background: linear-gradient(180deg, var(--mg3-navy-soft) 0%, #fff 100%);
    border-top: 1px solid var(--mg3-line); border-bottom: 1px solid var(--mg3-line);
}
.mg3-sec--white { background: #fff; }
.mg3-sec__head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.mg3-sec__head .mg3-eyebrow { color: var(--mg3-red); letter-spacing: .1em; }
.mg3-sec--navy .mg3-sec__head .mg3-eyebrow { color: var(--mg3-navy2); }
.mg3-promo-block .mg3-eyebrow { color: var(--mg3-red); letter-spacing: .1em; }
.mg3-sec__title { margin: .15rem 0 0; font-size: clamp(1.35rem, 2.8vw, 1.85rem); font-weight: 900; color: var(--mg3-ink); }

/* Par type */
.mg3-types {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.mg3-type {
    display: flex; flex-direction: column; align-items: center; gap: .45rem;
    text-decoration: none; color: var(--mg3-ink); background: #fff;
    border: 1px solid var(--mg3-line); border-radius: 14px; padding: 1rem .6rem;
    transition: all .18s ease; box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.mg3-type:hover { border-color: var(--mg3-red); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.1); }
.mg3-type__ico { font-size: 1.75rem; line-height: 1; }
.mg3-type span:last-child { font-size: .82rem; font-weight: 700; text-align: center; }

/* Shop by licence — grandes tuiles */
.mg3-lic-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.mg3-lic {
    position: relative; display: block; overflow: hidden; border-radius: 16px;
    aspect-ratio: 16 / 10; text-decoration: none; color: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.18); transition: transform .2s, box-shadow .2s;
}
.mg3-lic:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.22); }
.mg3-lic img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .35s ease;
}
.mg3-lic:hover img { transform: scale(1.06); }
.mg3-lic__shade {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.15) 55%, transparent 100%);
}
.mg3-lic__name {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem;
    font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 900; letter-spacing: .02em;
}
.mg3-lic__jp {
    position: absolute; top: 10px; right: 12px; font-size: .75rem; font-weight: 800;
    opacity: .55; writing-mode: vertical-rl; letter-spacing: .2em;
}

/* Par marque — bandeau défilant avec photo produit */
.mg3-brands-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mg3-brands-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--mg3-line);
    background: #fff;
    color: var(--mg3-ink);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
    z-index: 2;
}
.mg3-brands-arrow:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .14);
}
.mg3-brands {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(225, 29, 72, .35) transparent;
}
.mg3-brands::-webkit-scrollbar { height: 6px; }
.mg3-brands::-webkit-scrollbar-thumb {
    background: rgba(225, 29, 72, .35);
    border-radius: 999px;
}
.mg3-brand {
    flex: 0 0 clamp(152px, 16.5vw, 200px);
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 172px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
    transition: transform .2s ease, box-shadow .2s ease;
    background: #f8fafc;
}
.mg3-brand__photo {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
    padding: 2px 3px;
    box-sizing: border-box;
    background: #f8fafc;
}
.mg3-brand:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .22);
}
.mg3-brand__label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    padding: .42rem .4rem .48rem;
    font-weight: 800;
    font-size: .76rem;
    letter-spacing: .03em;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
}

/* Badge précommande dynamique */
.mg3-pre-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    background: rgba(255,255,255,.92); color: #15803d; font-size: .62rem; font-weight: 700;
    padding: .25rem .45rem; border-radius: 6px; border: 1px solid rgba(21,128,61,.25);
    max-width: 100%; line-height: 1.2;
}
.mg3-pre-badge img { flex-shrink: 0; }
.mg3-pre-badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sous-titre premium */
.mg3 .featured-subhead {
    display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
    margin: 1.2rem 0 .75rem; padding-top: .55rem; border-top: 1px dashed var(--mg3-line);
}
.mg3 .featured-subhead__title { margin: 0; font-size: 1.1rem; font-weight: 800; }
.mg3 .featured-subhead__sub { color: var(--mg3-muted); font-size: .86rem; }

/* Cartes produits uniformes (carré) */
.mg3 .featured-products-section .product-card,
.mg3 .featured-products-section .product-card-large,
.mg3 .section-bordered .product-card,
.mg3 .section-bordered .product-card-large {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid #e8e2da; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(15,23,42,.06); transition: transform .2s, box-shadow .2s;
}
.mg3 .featured-products-section .product-card:hover,
.mg3 .section-bordered .product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,23,42,.12); }
.mg3 .featured-products-section .product-image,
.mg3 .section-bordered .product-image {
    aspect-ratio: 1/1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mg3 .featured-products-section .product-image img,
.mg3 .section-bordered .product-image img,
.mg3 .product-card-image {
    width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 10px;
}

/* Carrousels Figurines / Promos — +20 % vs taille précédente, toujours sous les phares */
.mg3 .section-bordered .carousel-track .product-image {
    aspect-ratio: 1 / 1;
    max-height: clamp(214px, 21.6vw, 262px) !important;
    min-height: 0 !important;
}
.mg3 .section-bordered .carousel-track .product-image img,
.mg3 .section-bordered .carousel-track .product-image picture img {
    padding: 6px !important;
}
.mg3 .featured-products-section .product-info,
.mg3 .section-bordered .product-info { display: flex; flex-direction: column; flex: 1; padding: .65rem .75rem .75rem; }
.mg3 .featured-products-section .product-footer,
.mg3 .section-bordered .product-footer { margin-top: auto; }
.mg3 .featured-products-section .product-name,
.mg3 .section-bordered .product-name {
    min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Sous-sections dans la zone Promotions */
.mg3-promo-block {
    margin: 1.25rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--mg3-line);
}
.mg3-promo-block--first {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.mg3-promo-block.featured-section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 0;
    border-top: none;
}
.mg3-promo-block--brands { padding-bottom: .25rem; }
.mg3-promo-block__head.featured-section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; border-top: none;
}
.mg3-promo-block__title {
    margin: .15rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 900; color: var(--mg3-ink);
}

/* Séparateurs entre sections majeures — motif seigaiha léger */
.mg3-sep {
    height: 16px;
    background:
        radial-gradient(circle at 50% 100%, rgba(15,23,42,.07) 0 35%, transparent 36%) 0 0 / 20px 10px repeat-x,
        linear-gradient(180deg, rgba(241,245,249,.9), #fff);
    opacity: .85;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
    .mg3-hero__main { grid-template-columns: 1fr; }
    .mg3-hero__mosaic { max-width: 420px; margin: 0 auto; }
    .mg3-gate__inner { gap: 1rem; }
    .mg3-sakura-branch--tr { opacity: .65; width: clamp(100px, 28vw, 160px); }
    .mg3-sakura-branch--bl { display: none; }
    .mg3-phares-section > .container { max-width: min(100%, 98%); }
    .mg3-phares-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .mg3-phares-grid .product-image { max-height: none !important; }
    .mg3 .section-bordered .carousel-track .product-image {
        max-height: clamp(182px, 45.6vw, 226px) !important;
    }
    .mg3-brand { min-height: 148px; flex-basis: clamp(136px, 38vw, 172px); }
    .mg3-brand__photo { padding: 2px; }
    .mg3-brands-arrow { flex-basis: 32px; width: 32px; height: 32px; font-size: 1.2rem; }
}
@media (max-width: 560px) {
    .mg3-hero__mosaic { grid-template-rows: repeat(3, 52px); }
}

/* ---- index4 only : ancienne vitrine bento (comparaison) ------------------- */
.mg3-vitrine {
    background: linear-gradient(180deg, #0f172a 0%, #162032 55%, #1e293b 100%);
    padding: clamp(10px, 1.8vw, 16px) 0 clamp(12px, 2vw, 18px);
    border-bottom: 3px solid var(--mg3-red);
}
.mg3-vitrine__grid {
    display: grid;
    grid-template-columns: minmax(160px, 196px) minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(118px, 1fr));
    grid-template-areas: "intro feat c1 c2" "intro feat c3 c4";
    gap: 8px;
    min-height: clamp(248px, 32vw, 320px);
}
.mg3-vitrine__intro { grid-area: intro; display: flex; flex-direction: column; justify-content: center; gap: .45rem; color: #fff; }
.mg3-vitrine__kicker { margin: 0; font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.mg3-vitrine__headline { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 900; line-height: 1.05; }
.mg3-vitrine__jp { display: block; margin-bottom: .2rem; font-size: .95rem; font-weight: 800; letter-spacing: .2em; color: #fda4af; }
.mg3-vitrine__tag { margin: 0; font-size: .72rem; color: rgba(226,232,240,.72); }
.mg3-vitrine__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.mg3-vitrine__btn { display: inline-flex; padding: .45rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 800; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.mg3-vitrine__btn--fill { border-color: transparent; background: linear-gradient(135deg, #fb7185, #e11d48); }
.mg3-vitrine__cell { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; text-decoration: none; background: #fff; border: 1px solid rgba(255,255,255,.12); }
.mg3-vitrine__cell--feat { grid-area: feat; }
.mg3-vitrine__cell--c1 { grid-area: c1; }
.mg3-vitrine__cell--c2 { grid-area: c2; }
.mg3-vitrine__cell--c3 { grid-area: c3; }
.mg3-vitrine__cell--c4 { grid-area: c4; }
.mg3-vitrine__cell img { width: 100%; height: 100%; object-fit: contain; padding: clamp(6px, 1.2vw, 12px); box-sizing: border-box; background: linear-gradient(180deg, #f8fafc, #fff); }
.mg3-vitrine__lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: .32rem; font-size: .62rem; font-weight: 800; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(15,23,42,.88)); }
@media (max-width: 900px) {
    .mg3-vitrine__grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "intro intro" "feat feat" "c1 c2" "c3 c4"; min-height: 0; }
}
