/*
Theme Name: Collection
Theme URI: https://example.com/collection
Author: Collection
Description: Thème WordPress responsive sans sidebar, menu hamburger, bulles colorées, pictogrammes et design collection produits.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1.5
Requires PHP: 7.4
Text Domain: collection
Tags: responsive-layout, custom-menu, featured-images, translation-ready
*/

:root {
    --bg: #f6f1e8;
    --bg-soft: #fffaf2;
    --ink: #191713;
    --muted: #6f675c;
    --line: rgba(25, 23, 19, 0.12);

    --primary: #ff6b35;
    --primary-dark: #d94a18;
    --secondary: #2ec4b6;
    --accent: #ffd166;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --green: #22c55e;
    --pink: #ec4899;

    --card: rgba(255, 255, 255, 0.78);
    --shadow: 0 24px 70px rgba(40, 30, 15, 0.14);
    --shadow-soft: 0 12px 35px rgba(40, 30, 15, 0.10);

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --container: 1180px;
    --header-height: auto;

    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.35), transparent 34rem),
        radial-gradient(circle at 85% 10%, rgba(46, 196, 182, 0.22), transparent 30rem),
        linear-gradient(180deg, #fff7e8 0%, var(--bg) 48%, #efe6d8 100%);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

button,
input,
textarea,
select {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    clip-path: none;
    width: auto;
    height: auto;
    margin: 1rem;
    padding: 0.8rem 1rem;
    z-index: 9999;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.site {
    min-height: 100vh;
}

/* HEADER */

.site-header {
    position: relative;
    isolation: isolate;
    padding: 10px 0 0; /* Réduit pour compacter */
    z-index: 10; /* S'assure qu'il passe au-dessus du contenu */
}

.header-art {
    position: absolute;
    inset: 0 0 auto;
    height: 140px; /* Réduit de 260px à 140px pour moins d'épaisseur */
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.header-art::before {
    content: "";
    position: absolute;
    inset: -120px -80px auto;
    height: 320px;
    background:
        radial-gradient(circle at 15% 55%, rgba(255, 107, 53, 0.35), transparent 16rem),
        radial-gradient(circle at 70% 35%, rgba(46, 196, 182, 0.30), transparent 18rem),
        radial-gradient(circle at 90% 70%, rgba(139, 92, 246, 0.20), transparent 15rem);
    filter: blur(4px);
}

.header-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25, 23, 19, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 23, 19, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px; /* Légèrement réduit */
    align-items: center;
}

.brand-zone {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand-mark {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 24px;
    background:
        linear-gradient(135deg, var(--primary), var(--accent)),
        radial-gradient(circle at 30% 30%, #fff, transparent);
    box-shadow: var(--shadow-soft);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    width: 38px;
    height: 38px;
    border: 4px solid rgba(25, 23, 19, 0.85);
    border-radius: 12px;
    box-shadow:
        12px 12px 0 rgba(25, 23, 19, 0.18),
        inset 0 0 0 5px rgba(255, 255, 255, 0.35);
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    right: 15px;
    top: 15px;
    background: var(--secondary);
    border: 3px solid rgba(25, 23, 19, 0.8);
    border-radius: 50%;
}

.custom-logo-link img {
    max-height: 76px;
    width: auto;
    border-radius: 20px;
}

.site-title {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.site-title a {
    background: linear-gradient(90deg, var(--ink), #5b341e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-description {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-weight: 650;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.header-ad {
    min-width: 220px;
    max-width: 360px;
    min-height: 82px;
    border: 1px dashed rgba(25, 23, 19, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* NAV HAMBURGER */

.nav-shell {
    margin-top: 14px; /* Légèrement réduit */
    border-radius: 999px;
    background: rgba(25, 23, 19, 0.92);
    color: #fff;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 50;
}

.nav-inner {
    min-height: 60px; /* Légèrement réduit */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 12px 8px 22px;
}

/* Style spécifique pour le lien du bandeau */
.nav-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-label:hover {
    opacity: 0.85;
    color: #fff;
}

.nav-label-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(46, 196, 182, 0.18);
}

.hamburger {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.28);
}

.hamburger-lines {
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.hamburger-lines span:nth-child(1) {
    top: 0;
}

.hamburger-lines span:nth-child(2) {
    top: 6.5px;
}

.hamburger-lines span:nth-child(3) {
    top: 13px;
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(1) {
    top: 6.5px;
    transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(3) {
    top: 6.5px;
    transform: rotate(-45deg);
}

.menu-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(0, 440px) 1fr;
    visibility: hidden;
    pointer-events: none;
}

.menu-panel.is-open {
    visibility: visible;
    pointer-events: auto;
}

.menu-backdrop {
    background: rgba(25, 23, 19, 0.52);
    opacity: 0;
    transition: opacity 0.25s ease;
    order: 2;
}

.menu-panel.is-open .menu-backdrop {
    opacity: 1;
}

.menu-drawer {
    background:
        radial-gradient(circle at top right, rgba(255, 209, 102, 0.25), transparent 18rem),
        linear-gradient(180deg, #fffaf2, #f4eadc);
    height: 100%;
    padding: 22px;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.25);
}

.menu-panel.is-open .menu-drawer {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.drawer-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}

.primary-menu,
.drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-menu li {
    margin: 0 0 10px;
}

.drawer-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(25, 23, 19, 0.08);
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(40, 30, 15, 0.06);
}

.drawer-menu a::before {
    content: "◆";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.8rem;
}

.drawer-menu .sub-menu {
    list-style: none;
    padding-left: 22px;
    margin-top: 8px;
}

.drawer-search {
    margin-top: 24px;
}

.search-form {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
}

.search-field {
    border: 0;
    outline: 0;
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    background: transparent;
}

.search-submit {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

/* HERO */

.hero {
    padding: clamp(36px, 7vw, 86px) 0 34px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 242, 0.62)),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.20), transparent 20rem);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    padding: clamp(26px, 6vw, 64px);
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(25, 23, 19, 0.08) 0 8px,
            transparent 8px 18px
        );
    opacity: 0.6;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(46, 196, 182, 0.16);
    color: #0f766e;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-title {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.25rem, 7vw, 5.8rem);
    line-height: 0.92;
    letter-spacing: -0.085em;
    font-weight: 1000;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 560;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(255, 107, 53, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
}

/* BLOCKS */

.main-content {
    padding: 20px 0 70px;
}

.section-block {
    margin: 34px 0;
}

.block-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.block-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--bubble, var(--primary));
    color: #fff;
    box-shadow: 0 12px 25px color-mix(in srgb, var(--bubble, var(--primary)) 35%, transparent);
}

.block-icon svg {
    width: 24px;
    height: 24px;
}

.bubble-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--bubble, var(--primary));
    color: #fff;
    font-size: clamp(1.1rem, 2.5vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 950;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--bubble, var(--primary)) 28%, transparent);
}

.bubble-orange {
    --bubble: var(--primary);
}

.bubble-teal {
    --bubble: var(--secondary);
}

.bubble-purple {
    --bubble: var(--purple);
}

.bubble-blue {
    --bubble: var(--blue);
}

.bubble-green {
    --bubble: var(--green);
}

.bubble-pink {
    --bubble: var(--pink);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid rgba