/* ══════════════════════════════════════════════════════
   PANIER COLLECTION CHOUETTE — CSS COMPLET (v2, journée colorée)
   Direction "forêt en plein jour" : ciel clair et chaleureux, esprit
   enfantin et coloré comme les tissus de la collection — pas de nuit
   sombre ni de réalisme photo (voir échange client). Une branche
   moussue porte la chouette comme pièce maîtresse (visuels
   temporaires, en attente des illustrations "cartoon" du client).
══════════════════════════════════════════════════════ */

:root {
    /* Configurateur (sections claires) — palette "sous-bois cossu" :
       lin chaud + encre brune profonde + laiton vieilli en accent
       rare, plutôt que le duo crème/terracotta trop vu. */
    --ow-bg:        #EAE1C9;
    --ow-bg-2:      #DED0A9;
    --ow-card:      #FBF7ED;
    --ow-ink:       #241C14;
    --ow-ink-soft:  rgba(36,28,20,.66);
    --ow-primary:   #8B5A2B;
    --ow-primary-h: #6E4620;
    --ow-secondary: #3A4A2E;
    --ow-accent:    #C6A15B;
    --ow-accent-d:  #A9843F;
    --ow-border:    rgba(58,74,46,.18);
    --ow-border-h:  rgba(139,90,43,.45);
    --ow-tint:      rgba(198,161,91,.14);

    /* Hero (fond clair) — clairière dorée en fin de matinée : lin,
       miel et laiton plutôt qu'un jaune franc ou une nuit sombre. */
    --ow-sky:         #F3E7C6;
    --ow-sky-2:       #EAD8A9;
    --ow-slate:       #E2CC98;
    --ow-night:       #241C14;
    --ow-cream:       #FBF3DF;
    --ow-accent-line: rgba(139,90,43,.35);
}

.chouette-page {
    font-family: 'Inter', sans-serif;
    color: var(--ow-ink);
    background: var(--ow-bg);
    -webkit-font-smoothing: antialiased;
}
body.has-header.chouette-page { padding-top: 0; }

/* ────────────────────────────────────────
   HERO — clairière au clair de lune, la chouette en vol
   traverse la scène au-dessus du panier posé sur l'étal.
   Lune, étoiles, chêne et pommes de pin = vrais visuels
   fournis par le client (pas de forme CSS/SVG maison).
──────────────────────────────────────── */
.hero-chouette {
    position: relative; width: 100%; min-height: 74vh;
    display: flex; align-items: center; overflow: hidden;
    background:
        radial-gradient(1100px 750px at 22% 15%, rgba(255,251,240,.55), transparent 55%),
        radial-gradient(900px 650px at 85% 70%, rgba(58,74,46,.14), transparent 60%),
        radial-gradient(700px 900px at -4% 55%, rgba(58,74,46,.12), transparent 62%),
        linear-gradient(160deg, #F6EAC8 0%, #F0DFAE 40%, #E8CE93 75%, #DFBE7C 100%);
}

.hero-chouette::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
    background-image: radial-gradient(rgba(139,90,43,.10) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
}

.hero-chouette__moon {
    position: absolute; top: 6%; right: 9%; width: 210px; height: 210px; z-index: 1;
    filter: drop-shadow(0 0 60px rgba(230,196,120,.55));
    animation: ow-glowPulse 10s ease-in-out infinite;
}
.hero-chouette__moon img { display: block; width: 100%; height: auto; }
.hero-chouette__stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-chouette__star { position: absolute; height: auto; animation: ow-twinkle 3.6s ease-in-out infinite; }
.hero-chouette__star--big { width: 40px; }
.hero-chouette__star--sm { width: 18px; }
.hero-chouette__star:nth-of-type(2) { animation-delay: .7s; }
.hero-chouette__star:nth-of-type(3) { animation-delay: 1.3s; }
.hero-chouette__star:nth-of-type(4) { animation-delay: 1.9s; }
@keyframes ow-twinkle { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }

.hero-chouette__glow {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
    filter: blur(70px); animation: ow-glowPulse 9s ease-in-out infinite;
}
.hero-chouette__glow--1 {
    width: 480px; height: 480px; left: 8%; top: -6%;
    background: radial-gradient(circle, rgba(246,234,200,.6), transparent 70%);
    animation-delay: 0s;
}
.hero-chouette__glow--2 {
    width: 520px; height: 400px; right: -6%; bottom: 0%;
    background: radial-gradient(circle, rgba(198,161,91,.22), transparent 70%);
    animation-delay: -4s;
}
@keyframes ow-glowPulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.05); } }

.hero-chouette__grain {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .25; mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* Chêne + pommes de pin en coins, feuilles éparses : cadrent la
   scène comme sur la référence, sans jamais empiéter sur le texte
   (colonne de contenu limitée à 620px, cf. .hero-chouette__content). */
.hero-chouette__leaves { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(36,28,20,.16)); }
.hero-chouette__leaves img { display: block; width: 100%; height: auto; }
.hero-chouette__leaves--tl { top: -34px; left: -30px; width: clamp(130px, 11vw, 190px); transform: rotate(-8deg); }
.hero-chouette__leaves--bl { bottom: -20px; left: -16px; width: clamp(110px, 9vw, 160px); }

.hero-chouette__loose-leaf { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(36,28,20,.15)); }
.hero-chouette__loose-leaf--a { width: 70px; top: 15%; left: 40%; transform: rotate(18deg); opacity: .85; }
.hero-chouette__loose-leaf--b { width: 60px; top: 66%; left: 30%; transform: rotate(-22deg); opacity: .7; }

/* ────────────────────────────────────────
   CHOUETTE EN VOL — pièce maîtresse du hero, ancrée à droite,
   toujours entièrement dans le cadre (right jamais négatif : la
   v1 coupait le visuel sur grand écran, cf. retour client).
──────────────────────────────────────── */
.hero-chouette__owl-wrap {
    position: absolute; z-index: 3; top: -1%; right: clamp(10px, 2vw, 50px);
    width: min(460px, 32vw); pointer-events: none;
    animation: ow-owlIn 1.1s cubic-bezier(.2,.7,.2,1) .15s both;
}
.hero-chouette__owl {
    display: block; width: 100%; height: auto;
    filter: drop-shadow(0 26px 30px rgba(36,28,20,.22));
}
@keyframes ow-owlIn { from { opacity: 0; transform: translate(24px, -14px) scale(.97); } to { opacity: 1; transform: translate(0,0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-chouette__owl-wrap { animation: none; } }

.hero-chouette__inner {
    position: relative; z-index: 4; width: 100%; max-width: 1360px; margin: 0 auto;
    padding: 108px 60px 90px; display: flex; align-items: flex-end; gap: 72px;
}
.hero-chouette__content { flex: 1; max-width: 620px; position: relative; z-index: 4; }

.hero-chouette__badge {
    display: inline-flex; align-items: center; gap: 10px; background: rgba(251,247,237,.55);
    border: 1px solid rgba(36,28,20,.22); color: var(--ow-primary-h); padding: 7px 18px 7px 8px;
    border-radius: 30px; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600;
    font-size: .92rem; letter-spacing: .01em; margin-bottom: 22px;
    animation: ow-slideUp .8s ease-out .1s both; backdrop-filter: blur(3px);
}
.hero-chouette__badge::before {
    content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(from -90deg, var(--ow-secondary) 0deg 120deg, var(--ow-accent) 120deg 240deg, var(--ow-night) 240deg 360deg);
}

.hero-chouette__ornament {
    display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
    animation: ow-slideUp .8s ease-out .18s both;
}
.hero-chouette__ornament span { width: 34px; height: 1px; background: var(--ow-accent-d); }
.hero-chouette__ornament i { font-style: normal; color: var(--ow-accent-d); font-size: .7rem; }

.hero-chouette__title {
    font-family: 'Playfair Display', serif; font-weight: 600; font-size: clamp(2.3rem, 4.2vw, 3.4rem);
    line-height: 1.12; letter-spacing: -.005em; color: var(--ow-secondary);
    animation: ow-slideUp .8s ease-out .25s both; text-shadow: 0 2px 20px rgba(255,255,255,.5);
    margin: 0 0 22px;
}
.hero-chouette__sub {
    font-size: 1.01rem; color: rgba(36,28,20,.72); margin: 0 0 36px; line-height: 1.8;
    max-width: 42ch; animation: ow-slideUp .8s ease-out .35s both;
}
@keyframes ow-slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hero-chouette__ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: ow-slideUp .8s ease-out .45s both; }

.btn-chouette-main {
    background: var(--ow-primary); color: #fff; text-decoration: none; padding: 14px 32px;
    border-radius: 2px; font-weight: 600; font-size: .94rem; letter-spacing: .02em;
    transition: all .3s; display: inline-block; box-shadow: 0 10px 26px -8px rgba(139,90,43,.45);
}
.btn-chouette-main:hover { background: var(--ow-primary-h); transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px -8px rgba(139,90,43,.55); }
.btn-chouette-ghost {
    background: rgba(255,255,255,.35); color: var(--ow-night); border: 1px solid rgba(36,28,20,.3);
    text-decoration: none; padding: 13px 30px; border-radius: 2px; font-weight: 500;
    font-size: .94rem; letter-spacing: .02em; transition: all .3s; display: inline-block; backdrop-filter: blur(3px);
}
.hero-chouette__ctas .btn-chouette-ghost:hover { border-color: var(--ow-primary); color: var(--ow-primary-h); transform: translateY(-2px); }

.hero-chouette__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 6; }
.hero-chouette__scroll span { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(36,28,20,.35); animation: ow-scrollDot 1.5s ease-in-out infinite; }
.hero-chouette__scroll span:nth-child(2) { animation-delay: .2s; }
.hero-chouette__scroll span:nth-child(3) { animation-delay: .4s; }
@keyframes ow-scrollDot { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* ────────────────────────────────────────
   PHOTO PRODUIT — posée "sur l'étal", en second plan par rapport
   à la chouette qui plane au-dessus (z-index sous l'oiseau),
   avec une ombre au sol pour l'ancrer dans la scène.
──────────────────────────────────────── */
.hero-chouette__visual {
    flex: 0 0 400px; position: relative; z-index: 2; animation: ow-slideUp .8s ease-out .5s both;
}
.hero-chouette__img-wrap { position: relative; border-radius: 4px; overflow: visible; }
.hero-chouette__img-wrap > img {
    width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 4px;
    border: 1px solid var(--ow-accent-line); box-shadow: 0 30px 60px rgba(36,28,20,.35);
}
.hero-chouette__img-shadow {
    width: 82%; height: 26px; margin: 6px auto 0; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(36,28,20,.28), transparent 72%);
}
.hero-chouette__img-seal {
    position: absolute; bottom: -16px; left: -16px; width: 78px; height: 78px; border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from -90deg, var(--ow-secondary) 0deg 120deg, var(--ow-accent) 120deg 240deg, var(--ow-night) 240deg 360deg);
    box-shadow: 0 10px 24px rgba(0,0,0,.5);
}
.hero-chouette__img-seal-ring {
    width: 100%; height: 100%; border-radius: 50%;
    background: var(--ow-night); color: var(--ow-cream); display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    box-shadow: inset 0 0 0 1px rgba(243,238,221,.15);
}
.hero-chouette__img-seal span { font-family: 'Playfair Display', serif; font-weight: 600; font-size: .76rem; letter-spacing: .04em; line-height: 1.3; }
.hero-chouette__img-seal small { font-size: .52rem; letter-spacing: .07em; color: var(--ow-accent); text-transform: uppercase; margin-top: 2px; }

@media (max-width: 960px) {
    .hero-chouette__visual { flex-basis: 320px; }
    .hero-chouette__owl-wrap { width: 46vw; top: 0; }
    .hero-chouette__moon { width: 150px; height: 150px; }
    .hero-chouette__loose-leaf { display: none; }
}
@media (max-width: 768px) {
    .hero-chouette { flex-direction: column; align-items: stretch; min-height: auto; }
    .hero-chouette__inner { padding: 20px 20px 60px; flex-direction: column; align-items: flex-start; gap: 34px; }
    .hero-chouette__owl-wrap { position: relative; top: auto; right: auto; width: 88vw; margin: 96px auto -20px; z-index: 3; flex: none; }
    .hero-chouette__content { max-width: 100%; }
    .hero-chouette__title { font-size: clamp(2.1rem, 7vw, 2.7rem); }
    .hero-chouette__sub { font-size: .92rem; margin: 0 0 22px; }
    .hero-chouette__ctas { flex-direction: column; gap: 10px; width: 100%; }
    .hero-chouette .btn-chouette-main, .hero-chouette .btn-chouette-ghost { display: block; width: 100%; text-align: center; }
    .hero-chouette__scroll { display: none; }
    .hero-chouette__visual { align-self: center; }
    .hero-chouette__leaves--bl { display: none; }
}

/* ────────────────────────────────────────
   RUBAN
──────────────────────────────────────── */
.ruban-chouette { background: var(--ow-night); overflow: hidden; padding: 15px 0; border-top: 1px solid var(--ow-accent-line); border-bottom: 1px solid var(--ow-accent-line); }
.ruban-chouette__track { display: flex; width: max-content; animation: ow-ruban-defile 26s linear infinite; will-change: transform; }
.ruban-chouette__set { display: flex; align-items: center; flex-shrink: 0; }
.ruban-chouette__set span {
    display: inline-flex; align-items: center; margin-right: 40px;
    font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: 1rem;
    color: rgba(255,248,232,.75); letter-spacing: .02em; white-space: nowrap;
}
@keyframes ow-ruban-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban-chouette__track { animation: none; } }

/* ────────────────────────────────────────
   SECTION "COMMENT ÇA MARCHE"
──────────────────────────────────────── */
.section-how-chouette { padding: 80px 24px; background: var(--ow-bg); position: relative; }
.section-tag-chouette {
    display: flex; align-items: center; gap: 8px; font-family: 'Playfair Display', serif; font-style: italic;
    font-weight: 600; font-size: 1.05rem; color: var(--ow-primary); margin-bottom: 10px;
}
.section-tag-chouette::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--ow-accent-d); }
.section-title-chouette {
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    color: var(--ow-ink); margin: 0 0 40px;
}
.how-grid-chouette { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.how-card-chouette {
    position: relative; background: var(--ow-card); border: 1px solid var(--ow-border); border-radius: 8px;
    padding: 30px 22px 26px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, box-shadow .35s, border-color .3s;
    overflow: hidden;
}
.how-card-chouette.revealed { opacity: 1; transform: translateY(0); }
.how-card-chouette::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--ow-primary), var(--ow-accent)); transform: scaleX(0);
    transform-origin: left; transition: transform .4s ease;
}
.how-card-chouette:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(36,28,20,.14); border-color: var(--ow-border-h); }
.how-card-chouette:hover::before { transform: scaleX(1); }
.how-card-chouette__num { position: absolute; top: 18px; right: 20px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.7rem; color: rgba(58,74,46,.14); }
.how-card-chouette__icon { display: inline-flex; font-size: 1.5rem; margin-bottom: 14px; }
.how-card-chouette h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 0 0 8px; color: var(--ow-ink); }
.how-card-chouette p { font-size: .92rem; line-height: 1.55; color: var(--ow-ink-soft); margin: 0; }

/* ────────────────────────────────────────
   CONFIGURATEUR
──────────────────────────────────────── */
.chouette-page .section-perso { background: var(--ow-bg); }
.chouette-page .section-title-chouette { text-align: left; }
.chouette-page .perso-left-visual { position: sticky; top: 130px; }
.chouette-img-box {
    position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--ow-border);
    box-shadow: 0 16px 40px rgba(36,28,20,.14);
}
.chouette-img-box::after {
    content: ''; position: absolute; inset: 12px; border: 1px solid rgba(243,238,221,.55);
    border-radius: 4px; pointer-events: none; z-index: 2; mix-blend-mode: overlay;
}
.chouette-img-box::before {
    content: ''; position: absolute; top: 20px; left: 20px; width: 30px; height: 30px;
    border-top: 2.5px solid var(--ow-accent); border-left: 2.5px solid var(--ow-accent); z-index: 3; pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

.chouette-page .selector-label { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: var(--ow-ink); }
.chouette-page .selector-opt-label { font-weight: 400; font-size: .8em; color: var(--ow-ink-soft); }
.chouette-page .required { color: var(--ow-primary); }

.chouette-page .fabric-card {
    background: var(--ow-card); border: 2px solid transparent; border-radius: 8px;
    padding: 12px; text-align: center; cursor: pointer; transition: all .3s; position: relative;
}
.chouette-page .fabric-card:hover { border-color: var(--ow-border-h); transform: translateY(-2px); }
.chouette-page .fabric-card.selected { border-color: var(--ow-primary); background: var(--ow-tint); }
.chouette-page .fabric-img { background: var(--ow-bg-2); }
.chouette-page .fabric-name { color: var(--ow-ink); }
.chouette-page .fabric-price { color: var(--ow-primary); }
.chouette-page .fabric-material { color: rgba(36,28,20,.72); }
.chouette-page .fabric-card .fabric-check { background: var(--ow-primary); color: #fff; }

.chouette-page .size-option, .chouette-page .color-option {
    background: var(--ow-card); border: 2px solid var(--ow-border); border-radius: 8px; transition: all .3s;
}
.chouette-page .size-option:hover, .chouette-page .color-option:hover { border-color: var(--ow-border-h); }
.chouette-page .size-option.selected, .chouette-page .color-option.selected { border-color: var(--ow-primary); background: var(--ow-tint); }
.chouette-page .size-option span, .chouette-page .color-option span { color: var(--ow-ink); }

.chouette-shipping-info {
    display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; padding: 16px 18px;
    background: var(--ow-card); border: 1px solid var(--ow-border); border-radius: 8px;
}
.chouette-shipping-item { font-size: .84rem; color: var(--ow-ink-soft); line-height: 1.6; }
.chouette-shipping-item strong { color: var(--ow-ink); }

.chouette-page .cart-section {
    background: var(--ow-card) !important; border: 1px solid var(--ow-border) !important; border-radius: 8px !important;
    box-shadow: 0 14px 36px rgba(36,28,20,.12) !important;
}
.chouette-page .price-value { color: var(--ow-primary) !important; font-family: 'Playfair Display', serif !important; }
.chouette-page .price-currency { color: var(--ow-accent-d) !important; }
.chouette-page .qty-selector { background: var(--ow-bg-2) !important; }
.chouette-page .qty-btn { color: var(--ow-primary) !important; }
.chouette-page #qte { color: var(--ow-ink) !important; }
.chouette-page .btn-cart { background: var(--ow-primary) !important; border-radius: 4px !important; box-shadow: 0 8px 20px -6px rgba(139,90,43,.5) !important; }
.chouette-page .btn-cart:hover { background: var(--ow-primary-h) !important; }

.chouette-page .back-section { text-align: center; padding: 44px 32px; background: var(--ow-bg); border-top: 1px solid var(--ow-border); }
.chouette-page .btn-back {
    display: inline-block; padding: 11px 28px; background: transparent; color: var(--ow-ink-soft);
    border: 1px solid var(--ow-border); border-radius: 2px; font-size: 13px; text-decoration: none;
    transition: color .2s, border-color .2s;
}
.chouette-page .btn-back:hover { color: var(--ow-primary); border-color: var(--ow-border-h); text-decoration: none; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 1100px) {
    .chouette-page .perso-flex-container { flex-direction: column; gap: 40px; }
    .chouette-page .perso-left-visual { position: sticky; top: 80px; z-index: 10; width: 100%; max-width: 100%; padding-bottom: 15px; }
    .chouette-page .perso-right-selectors { width: 100%; }
    .chouette-page .section-perso { padding: 60px 20px; }
    .chouette-page .image-thumbnails { display: none; }
}
@media (max-width: 768px) {
    .chouette-page .size-options { flex-direction: column; }
    .chouette-page .size-option { flex: none; width: 100%; }
    .how-grid-chouette { gap: 16px; }
}
@media (max-width: 480px) {
    .chouette-page .cart-section { flex-direction: column !important; padding: 24px 20px !important; gap: 20px !important; }
    .chouette-page .section-perso { padding: 48px 16px; }
    .section-title-chouette { font-size: clamp(18px, 5vw, 26px); margin-bottom: 28px; }
    .how-card-chouette { width: 100%; max-width: 100%; padding: 26px 18px 20px; }
    .section-how-chouette { padding: 48px 16px; }
    .chouette-page .back-section { padding: 32px 20px; }
}
