
/* Modernisation 2026 : surfaces, mouvement et volumes. */
:root{--cream:#fcfbf8;--paper:#f3f1eb;--green:#244e40;--line:#e7e7df}body{background:#fcfbf8}header{background:#fcfbf8e8;backdrop-filter:blur(20px)}.nav{height:80px}.btn{border-radius:100px;padding:16px 27px;box-shadow:0 5px 15px #244e4012;transition:transform .3s,box-shadow .3s,background .3s}.btn:hover{box-shadow:0 10px 25px #244e4028}.book{transform:rotateY(-20deg) rotateZ(-6deg);transform-style:preserve-3d;box-shadow:8px 2px 0 -2px #faf9ee,14px 4px 0 -3px #c9cbbd,24px 30px 32px #23382c30;border-left:7px solid #a5b39a;border-radius:3px 9px 9px 3px;transition:transform .65s cubic-bezier(.2,.8,.2,1)}.products{gap:36px}.overlay{backdrop-filter:blur(12px);background:#102c2470}.modal{border-radius:28px!important;box-shadow:0 30px 100px #14291f30}.visual-choice{border-radius:16px!important;background:white!important;border:1px solid #e5e7df!important;padding:16px!important;transition:background .2s,transform .2s,box-shadow .2s,border-color .2s}.visual-choice:hover{transform:translateY(-3px);box-shadow:0 8px 20px #244e400b}.visual-choice:has(input:checked){background:#edf3e9!important;border-color:#52765e!important;box-shadow:0 0 0 1px #52765e!important}.hair-options .visual-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hair-options .visual-choice{min-height:112px}.hair-options .choice-content{gap:9px}.hairstyle-icon{width:55px;height:55px}.choice-tick{top:10px;right:10px}.fields input,.fields select,textarea,.other-detail input{border-radius:12px!important;background:#fff!important;padding:13px 15px!important}.reference-photo{border:1px solid #dce4d8;border-radius:20px;background:linear-gradient(120deg,#f3f6ef,#fcfbf8);padding:23px;margin-bottom:25px}.photo-symbol{border:0;background:#e3ebde;border-radius:12px;width:44px;height:44px}.photo-preview img{border-radius:14px;width:100px;height:100px}.photo-pick input{border-radius:12px;width:100%}.photo-pick input::file-selector-button{border-radius:9px}.photo-heading b{font-size:14px}.character-card,.cast-summary,.summarybox{border-radius:18px}.character-section h3{font-size:30px;letter-spacing:-.7px}.other-detail{border-radius:12px;border-left:0}.swatch-options .visual-choice{min-height:90px}.sex-options .visual-choice{min-height:65px}.theme-choice{border-radius:16px;transition:transform .25s,box-shadow .25s}.theme-choice:hover{transform:translateY(-3px);box-shadow:0 8px 20px #244e4010}@keyframes bookFloat{0%,100%{transform:rotateY(-18deg) rotateZ(-7deg) translateY(0)}50%{transform:rotateY(-12deg) rotateZ(-5deg) translateY(-12px)}}@media(max-width:650px){.modal{border-radius:22px 22px 0 0!important}.hair-options .visual-options{grid-template-columns:repeat(3,1fr);gap:8px}.visual-choice{padding:12px 8px!important}.hairstyle-icon{width:48px;height:48px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.photo-pick{position:relative;display:inline-flex;align-items:center;justify-content:center;background:#244e40;color:white;border-radius:100px;padding:12px 21px;cursor:pointer;font-weight:500;overflow:hidden}.photo-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0!important}.photo-pick:focus-within{outline:3px solid #bd8d53;outline-offset:4px}.reference-photo .choice-note{margin-bottom:0}.navlinks a{position:relative;padding:7px 0}.navlinks a::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:1px;background:#658264;transform:scaleX(0);transform-origin:left;transition:transform .3s}.navlinks a:hover::after{transform:scaleX(1)}.btn{position:relative;overflow:hidden;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,background .35s}.btn::after{content:'';position:absolute;inset:-100% -50%;background:linear-gradient(110deg,transparent 45%,#ffffff24 50%,transparent 55%);transform:translateX(-65%);transition:transform .7s;pointer-events:none}.btn:hover::after{transform:translateX(65%)}.btn .arrow{transition:transform .3s}.btn:hover .arrow{transform:translateX(5px)}@keyframes heroType{from{opacity:0;transform:translateY(28px);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}@keyframes heroImage{from{opacity:0;transform:scale(1.08);clip-path:inset(0 0 0 100%)}to{opacity:1;transform:scale(1);clip-path:inset(0)}}@keyframes labelRise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@media(max-width:650px){}@media(prefers-reduced-motion:reduce){}
/* Portraits plats : repères visuels personnalisés en temps réel. */
.flat-portrait{width:84px!important;height:90px!important;display:block;flex:none;transition:filter .25s}.hair-options .visual-choice{min-height:152px!important;background:#fff!important;padding:14px 10px!important}.hair-options .visual-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hair-options .choice-content{gap:9px}.hair-options .visual-choice:hover .flat-portrait{filter:drop-shadow(0 4px 4px #29352b12)}.hair-options .visual-choice:has(input:checked){background:#f1f5ec!important}.live-portrait{display:flex;align-items:center;gap:22px;padding:18px 23px;border:1px solid #e3e6db;background:#f5f6f0;border-radius:20px;margin:20px 0 26px}.live-portrait .flat-portrait{width:100px!important;height:110px!important}.live-portrait b{font-size:13px;font-weight:600}.live-portrait p{font-size:11px;color:#6e7c65;margin:5px 0}.live-portrait small{display:block;font-size:10px;color:#859079;max-width:380px;line-height:1.6}.character-card details .visual-options:has(.flat-portrait){display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.character-card details .visual-choice:has(.flat-portrait) .choice-content{flex-direction:column}.character-card details .visual-choice:has(.flat-portrait){padding:12px 5px!important}@media(max-width:650px){.hair-options .visual-options,.character-card details .visual-options:has(.flat-portrait){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.flat-portrait{width:72px!important;height:80px!important}.hair-options .visual-choice{min-height:136px!important}.live-portrait{gap:15px;padding:16px}.live-portrait .flat-portrait{width:76px!important;height:90px!important}.live-portrait b{font-size:12px}.live-portrait small{font-size:9px}}
.refined-portrait{width:92px!important;height:100px!important}.hair-options .visual-choice{min-height:162px!important;border-color:#e9e8e0!important;background:linear-gradient(155deg,#fff,#fcfbf8)!important}.hair-options .visual-choice:has(input:checked){background:#f0f4ea!important;border-color:#698168!important}.hair-options .visual-choice:hover{box-shadow:0 9px 24px #244e4012}.live-portrait .refined-portrait{width:110px!important;height:120px!important}.hair-options .choice-content{gap:8px}.hair-options .choice-content>span{font-size:11px}@media(max-width:650px){.refined-portrait{width:76px!important;height:84px!important}.hair-options .visual-choice{min-height:144px!important}.live-portrait .refined-portrait{width:84px!important;height:96px!important}}
/* Finition des cartes : hiérarchie plus légère et surfaces homogènes. */
.hair-options{padding-top:3px}.hair-options .visual-options{gap:10px}.hair-options .visual-choice{min-height:152px!important;border-radius:18px!important;border:1px solid #e8e9e2!important;background:#fff!important;box-shadow:none;padding:16px 10px 12px!important}.hair-options .visual-choice:hover{background:#fbfcf8!important;border-color:#bac9b4!important;box-shadow:0 5px 16px #244e4009;transform:translateY(-2px)}.hair-options .visual-choice:has(input:checked){border-color:#73906e!important;box-shadow:inset 0 0 0 .5px #73906e!important;background:#f5f8f1!important}.hair-options .choice-tick{width:16px;height:16px;line-height:16px;top:10px;right:10px;background:#5d7b59;font-size:9px}.hair-options .choice-content{gap:10px}.hair-options .choice-content>span{font-size:11px;letter-spacing:.05px;color:#415246}.refined-portrait{width:86px!important;height:94px!important}.live-portrait{background:#f6f7f2;border:0;border-radius:20px;padding:18px 24px;gap:24px;margin:22px 0 29px}.live-portrait .refined-portrait{width:94px!important;height:104px!important}.live-portrait b{font:500 25px/1.1 var(--serif);letter-spacing:-.4px}.live-portrait p{font-size:11px;color:#687963;margin:8px 0}.live-portrait small{font-size:9px;line-height:1.7;color:#87917e;max-width:330px}.character-section{border-color:#e7e9df}.character-section h3{font-size:29px}.choice-group legend{font-size:12px;font-weight:500;letter-spacing:.15px}.choice-note{color:#8a9383!important;line-height:1.7}.hair-options .choice-note{font-size:10px;margin-top:14px}.swatch-options .visual-choice{border-radius:15px!important;box-shadow:none!important}.swatch-options .visual-choice:has(input:checked){background:#f5f8f1!important;border-color:#73906e!important}.swatch-options .choice-content{gap:9px}.hair-lock{width:28px;height:34px}.refined-swatch{width:26px;height:26px;border:3px solid #fff;outline:1px solid #e6e7de;box-shadow:none}.sex-options .visual-choice:has(input:checked),.age-options .visual-choice:has(input:checked){background:#f5f8f1!important;box-shadow:inset 0 0 0 .5px #73906e!important;border-color:#73906e!important}@media(max-width:650px){.hair-options .visual-options{gap:8px}.hair-options .visual-choice{min-height:140px!important;padding:12px 7px!important}.refined-portrait{width:74px!important;height:82px!important}.live-portrait{padding:17px;gap:16px}.live-portrait b{font-size:23px}.live-portrait .refined-portrait{width:78px!important;height:90px!important}.live-portrait small{font-size:9px}}
