.brand-art{width:48px;height:48px;display:block;position:relative;overflow:hidden;border-radius:50%;background:#06070b;box-shadow:0 0 24px rgba(236,37,44,.32)}
.brand-art img{width:82px;height:55px;max-width:none;position:absolute;left:50%;top:43%;object-fit:cover;transform:translate(-50%,-50%) scale(1.45)}
.hero-logo-art{overflow:hidden;background:radial-gradient(circle,rgba(236,37,44,.18),rgba(3,5,10,.95) 68%);border-color:rgba(255,72,78,.35)}
.hero-logo-art img{width:230px;height:154px;max-width:none;object-fit:cover;transform:scale(1.28);animation:logoPulse 5s ease-in-out infinite}
#themes{position:relative;isolation:isolate;background:#03050a}
#themes:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 12% 18%,rgba(236,37,44,.09),transparent 25%),radial-gradient(circle at 88% 55%,rgba(236,37,44,.07),transparent 24%),linear-gradient(180deg,#05080e,#020409)}
#themes .section-head{margin-bottom:55px}
#themes .eyebrow{background:rgba(236,37,44,.08);box-shadow:0 0 24px rgba(236,37,44,.08)}
.themes-grid{gap:26px}
.theme-card{position:relative;isolation:isolate;background:#080c14;border-color:#1a202c;border-radius:18px}
.theme-card:hover{transform:translateY(-7px);border-color:rgba(236,37,44,.55);box-shadow:0 22px 55px rgba(0,0,0,.5),0 0 28px rgba(236,37,44,.11)}
.theme-card:before{content:"";position:absolute;inset:-1px;border-radius:19px;padding:1px;background:linear-gradient(135deg,transparent 25%,rgba(255,58,66,.62),transparent 70%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:.35s;pointer-events:none}
.theme-card:hover:before{opacity:1}
.theme-card .theme-visual{display:block;height:253px;border-radius:17px 17px 0 0;background:#ececec;isolation:isolate}
.theme-card .theme-visual:after{display:none}
.theme-card .theme-visual:before{content:"";position:absolute;inset:0;z-index:3;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.18) 50%,transparent 65%);transform:translateX(-120%);transition:transform .75s ease}
.theme-card:hover .theme-visual:before{transform:translateX(120%)}
.theme-card .theme-visual img{object-position:top}
.theme-card .badge{top:12px;z-index:5;padding:5px 12px;box-shadow:0 8px 18px rgba(0,0,0,.28)}
.theme-card .badge-sale{left:12px}
.theme-card .badge-version{right:12px;background:#383a40}
.theme-card .card-body{padding:24px}
.theme-card .card-body h3{margin:0 0 12px;font-size:20px}
.theme-card .theme-date{padding-top:4px;color:#697080}
.theme-card .card-body p{min-height:78px;font-size:14px;line-height:1.65}
.theme-card .theme-demo{position:relative;overflow:hidden;min-height:45px;margin-top:20px;border:0;border-radius:0;background:#e9272c}
.theme-card .theme-demo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transform:translateX(-120%);transition:.55s}
.theme-card .theme-demo:hover{background:#ff343a;color:#fff}
.theme-card .theme-demo:hover:after{transform:translateX(120%)}
.theme-card .demo-domain{margin:10px 0 0;text-align:center;color:#687080}
@keyframes logoPulse{50%{transform:scale(1.34);filter:drop-shadow(0 0 18px rgba(236,37,44,.55))}}
@media(max-width:620px){.theme-card .theme-visual{height:225px}.brand-art{width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){.hero-logo-art img{animation:none!important}.theme-card .theme-visual:before,.theme-card .theme-demo:after{transition:none!important}}

/* Hero inspiré de la maquette Kimi : ville numérique, voile profond et logo @ entier. */
.hero:before{background:linear-gradient(180deg,rgba(1,3,8,.48) 0%,rgba(3,5,10,.70) 58%,#03050a 100%),radial-gradient(circle at 50% 34%,rgba(236,37,44,.12),transparent 32%),url('../images/hero-futuriste.webp') center center/cover no-repeat;transform:scale(1.025);animation:heroCinema 18s ease-in-out infinite alternate}
.hero:after{height:240px;background:linear-gradient(transparent,#03050a)}
.hero-logo-art{width:220px;height:170px;position:relative;border:0;border-radius:0;background:transparent;box-shadow:none}
.hero-logo-art img{position:absolute;width:334px;height:223px;max-width:none;left:-63px;top:-9px;object-fit:fill;transform:none;filter:drop-shadow(0 0 22px rgba(236,37,44,.42));animation:logoHover 6s ease-in-out infinite}
.brand-art{width:50px;height:43px;border-radius:0;background:transparent;box-shadow:none}
.brand-art img{width:73px;height:49px;max-width:none;left:-14px;top:-2px;object-fit:fill;transform:none;filter:drop-shadow(0 0 9px rgba(236,37,44,.35))}
@keyframes heroCinema{from{transform:scale(1.025) translate3d(-.35%,0,0)}to{transform:scale(1.075) translate3d(.35%,-.45%,0)}}
@keyframes logoHover{50%{transform:translateY(-7px) scale(1.025);filter:drop-shadow(0 0 34px rgba(236,37,44,.62))}}
@media(max-width:620px){.hero-logo-art{width:176px;height:136px}.hero-logo-art img{width:267px;height:178px;left:-50px;top:-7px}}
@media(prefers-reduced-motion:reduce){.hero:before,.hero-logo-art img{animation:none!important;transform:none}}
