/* OnePromptComic — Style principal */
:root{
  --bg:#0b0b10; --panel:#11121a; --ink:#e9eefb; --muted:#b9c2dc;
  --brand:#7c5cff; --brand-2:#ff2f6d; --accent:#00ffd0;
  --line:#2a2c3a; --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:16px; --space:clamp(14px,3.2vw,28px); --max:1200px;
  --link:#00ffd0; --link-hover:#ffffff; --link-visited:#80ffd0;
  --h2: clamp(26px, 6vw, 56px);
  --h3: clamp(18px, 2.8vw, 24px);
  --lead: clamp(15px, 2.4vw, 18px);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font:16px/1.6 Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(124,92,255,.08), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,47,109,.07), transparent 42%),
    linear-gradient(180deg, #0b0b10, #0b0b10);
  background-attachment:fixed;
  padding-top: 68px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap:anywhere;
}
img{max-width:100%; height:auto; display:block}
.header{
  position: fixed; top: 0; left: 0; right: 0; height: 68px;
  z-index: 9999; isolation: isolate; overflow: visible;
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(11,11,16,.6);
}
.wrap{ max-width:var(--max); margin:auto; padding:0 var(--space) }
.bar{ display:flex; align-items:center; justify-content:space-between; height:68px; gap:12px }
.logo{ display:flex; align-items:center; gap:12px; text-decoration:none }
.logo-mark{ width:36px; height:36px; border-radius:10px; background:conic-gradient(from 200deg at 60% 40%, var(--brand), var(--brand-2), var(--accent), var(--brand)); box-shadow:0 0 0 3px rgba(255,255,255,.05), var(--shadow) }
.logo-word{ font-family:Bangers,system-ui; letter-spacing:.5px; font-size:22px; display:flex; gap:6px; line-height:1; color:#fff }
.logo-word span:nth-child(2){ color:var(--brand-2) }

nav ul{ display:flex; gap:22px; list-style:none; margin:0; padding:0 }
nav a{ color:var(--ink); text-decoration:none; font-weight:600 }
nav a:hover{ color:#fff }
.menu-btn{ display:none; background:transparent; color:var(--ink); border:1px solid var(--line); padding:10px 12px; border-radius:12px }

.lang-switch{ display:flex; gap:6px; align-items:center; margin-left:auto }
.lang-btn{
  border:1px solid var(--line); background:rgba(17,18,26,.85); color:var(--ink);
  padding:8px 12px; border-radius:12px; font-weight:700; cursor:pointer;
  min-width:44px; min-height:36px;
}
.lang-btn[aria-pressed="true"]{ background:var(--accent); color:#0b0b10; }

section{ scroll-margin-top:90px }
.section{ padding:clamp(36px,6vw,80px) 0; border-bottom:1px solid var(--line); background:linear-gradient(180deg, transparent, transparent 80%, rgba(255,255,255,.015) 100%) }
.section h2{ font-family:Bangers; font-size:var(--h2); margin:0 0 10px }
.lead{ color:var(--muted); max-width:70ch; font-size:var(--lead) }
.note{ font-size:14px; color:var(--muted) }

.grid{ display:grid; gap:18px; grid-template-columns:repeat(12,1fr) }
.card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow) }
.card > h3{ font-size:var(--h3) }
.muted{ color:var(--muted) }

.thumb{ aspect-ratio:4/3; border-radius:12px; border:1px dashed #3b3e55; background:#0e0f17; display:grid; place-items:center; color:#8087a8; font-weight:600; width:100% }
.thumb-row{ display:flex; gap:10px; flex-wrap:wrap }
.thumb-row figure{ flex:1 1 280px; min-width:160px; max-width:360px; margin:0 auto }

.btn{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#0b0b10; font-weight:700; padding:12px 18px; border-radius:12px; background:var(--accent); box-shadow:var(--shadow); min-height:44px }
.btn.secondary{ background:transparent; color:var(--ink); border:1px solid var(--line) }

.footer{ padding:40px 0; text-align:center; color:var(--muted) }
.contact{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:center; margin-top:10px }
.contact a{ color:#fff; text-decoration:none; font-weight:700 }

/* Solution header */
.solution-header{
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}

/* Qui section */
.qui-images{
  display:flex; gap:20px; justify-content:center; align-items:stretch;
}
.qui-zoom{
  display:block; border-radius:12px; overflow:visible;
  border:2px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
  height:480px;
}
.qui-zoom:hover{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border-color: rgba(255,215,0,.7);
}
.qui-zoom img{
  height:100%; width:auto; border-radius:10px; display:block;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  object-fit:cover;
}

@media (max-width: 860px){
  .qui-images{ flex-direction:column; align-items:center; gap:16px; }
  .qui-zoom{ height:380px; }
}
@media (max-width: 520px){
  .qui-zoom{ height:300px; }
}

/* Fan de cartes (section Solution) */
.fan-container{
  display:flex; justify-content:center; align-items:center;
  padding:60px 0 40px; position:relative;
}
.fan-wrapper{
  display:flex; align-items:flex-start; gap:80px;
}
.fan-left{
  display:flex; flex-direction:column; align-items:center; gap:20px; flex-shrink:0;
  position:relative; width:280px;
}
.fan-preview{
  width:280px; height:420px; border-radius:12px; overflow:hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,.6);
  opacity:0; transition: opacity .3s ease;
  position:absolute; top:0; left:50%; transform:translateX(-50%); z-index:10;
  pointer-events:none;
}
.fan-preview.visible{ opacity:1; }
.fan-preview img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.fan{
  position:relative; width:368px; height:483px;
}
.fan-card{
  --angle: calc((var(--i) - 2.5) * 14deg);
  position:absolute; left:50%; top:0;
  width:230px; height:345px;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(var(--angle));
  transition: transform .35s ease, opacity .3s ease;
  border-radius:12px; overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  cursor:pointer; z-index: calc(var(--i));
}
.fan-card img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.fan-card.active{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border: 2px solid rgba(255,215,0,.7);
}
.fan-caption{
  max-width:280px; min-height:420px; text-align:center;
  font-size:clamp(14px, 2.2vw, 17px); font-weight:600;
  display:flex; align-items:center; justify-content:center;
}
.fan-caption p{ margin:0; color:var(--muted); }
.fan-caption-mobile{ display:none; margin:20px auto 0; max-width:320px; }

/* Showcase (images + texte) */
.solution-showcase{
  display:flex; align-items:center; gap:40px; margin-top:60px;
}
.solution-showcase-images{
  position:relative; flex-shrink:0; width:500px; height:520px;
}
.solution-showcase-images img{
  position:absolute; width:300px; height:auto; border-radius:12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.solution-showcase-images .showcase-zoom{
  position:absolute; display:block; border-radius:12px; overflow:visible;
  cursor:pointer; text-decoration:none;
  border: 2px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.solution-showcase-images .showcase-zoom:hover{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border-color: rgba(255,215,0,.7);
}
.solution-showcase-images .showcase-zoom img{
  position:relative; width:300px; height:auto; border-radius:10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  display:block;
}
.solution-showcase-images .showcase-zoom:first-child{
  top:0; left:0; z-index:1;
}
.solution-showcase-images .showcase-zoom:last-child{
  top:100px; left:200px; z-index:2;
}
.solution-showcase-text{
  max-width:280px; margin-left:40px;
  font-size:clamp(15px, 2.2vw, 18px); font-weight:600;
}
.solution-showcase-text p{ margin:0; color:var(--muted); }

@media (max-width: 860px){
  .fan-wrapper{ flex-direction:column; align-items:center; gap:20px; }
  .fan-left{ width:200px; }
  .fan-preview{ width:200px; height:300px; }
  .fan-caption{ max-width:200px; min-height:300px; font-size:14px; }
  .fan-caption-mobile{ display:none; }
  .fan{ width:300px; height:380px; }
  .fan-card{ width:160px; height:240px; }
  .solution-showcase{ flex-direction:column; gap:24px; margin-top:40px; align-items:center; }
  .solution-showcase-images{ width:280px; height:400px; }
  .solution-showcase-images .showcase-zoom img{ width:200px; }
  .solution-showcase-images .showcase-zoom:last-child{ left:100px; top:60px; }
  .solution-showcase-text{ margin-left:0; max-width:280px; text-align:center; }
}
@media (max-width: 520px){
  .fan-container{ padding:30px 0 20px; }
  .fan-left{ width:160px; }
  .fan-preview{ width:160px; height:240px; }
  .fan-caption{ max-width:160px; min-height:240px; font-size:13px; }
  .fan{ width:240px; height:320px; }
  .fan-card{ width:130px; height:195px; --angle: calc((var(--i) - 2.5) * 8deg); }
  .solution-showcase-images{ width:240px; height:340px; }
  .solution-showcase-images .showcase-zoom img{ width:160px; }
  .solution-showcase-images .showcase-zoom:last-child{ left:80px; top:50px; }
}

/* Tarifs section */
.tarifs-images{
  display:flex; gap:20px; justify-content:center; margin:30px 0 30px; align-items:stretch;
}
.tarifs-zoom{
  display:block; border-radius:12px; overflow:visible;
  border:2px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
  height:480px;
}
.tarifs-zoom:hover{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border-color: rgba(255,215,0,.7);
}
.tarifs-zoom img{
  height:100%; width:auto; border-radius:10px; display:block;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  object-fit:cover;
}
.tarifs-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:24px; margin-top:30px;
}
.tarifs-card{
  display:flex; flex-direction:column; gap:12px; text-align:center; align-items:center;
}
.tarifs-card h3{ margin:0; }
.tarifs-price{
  font-size:clamp(24px, 4vw, 36px); font-weight:700; color:var(--accent); margin:0;
}
.tarifs-card-cta .btn{ margin-top:8px; }
.tarifs-notes{ list-style:disc; margin:0; padding-left:18px; font-size:13px; text-align:left; }

@media (max-width: 860px){
  .tarifs-images{ flex-direction:column; align-items:center; gap:16px; }
  .tarifs-zoom{ height:380px; }
}
@media (max-width: 520px){
  .tarifs-zoom{ height:300px; }
}

/* PI section */
.pi-images{
  display:flex; gap:20px; justify-content:center; margin:30px 0 30px; align-items:stretch;
}
.pi-zoom{
  display:block; border-radius:12px; overflow:visible;
  border:2px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
  height:480px;
}
.pi-zoom:hover{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border-color: rgba(255,215,0,.7);
}
.pi-zoom img{
  height:100%; width:auto; border-radius:10px; display:block;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  object-fit:cover;
}
.pi-text-card{
  display:flex; flex-direction:column; gap:14px; max-width:700px; margin:0 auto;
}

@media (max-width: 860px){
  .pi-images{ flex-direction:column; align-items:center; gap:16px; }
  .pi-zoom{ height:380px; }
}
@media (max-width: 520px){
  .pi-zoom{ height:300px; }
}

/* Emotions */
.emotions-showcase{
  display:flex; gap:60px; justify-content:center; align-items:flex-start;
  margin-top:40px; flex-wrap:wrap;
}
.emotions-group{
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.emotions-label{
  font-size:15px; text-align:center; margin:0;
}
.emotions-lead-card{
  text-align:center; max-width:600px; margin:20px auto 0;
}
.emotions-lead-card .lead{ margin:0; }

.emotions-block{
  display:flex; align-items:center; gap:60px; margin-top:60px;
}
.emotions-block--reverse{
  flex-direction:row-reverse;
}
.emotions-block-text{
  max-width:320px; font-size:clamp(15px, 2.2vw, 18px); font-weight:600;
}
.emotions-block-text p{ margin:0; color:var(--muted); }
.emotions-stack{
  position:relative; width:500px; height:480px;
}
.emotions-stack--duo{
  width:400px; height:450px;
}
.emotions-img{
  position:absolute; display:block; border-radius:12px; overflow:visible;
  border:2px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, transform .3s ease;
}
.emotions-img:hover{
  box-shadow: 0 0 16px 4px rgba(255,215,0,.6), 0 0 4px 2px rgba(255,180,0,.4);
  border-color: rgba(255,215,0,.7);
  z-index:20;
  transform: scale(1.04);
}
.emotions-img img{
  height:380px; width:auto; border-radius:10px; display:block;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

/* Trio stack positions */
.emotions-stack .emotions-img--cover{
  top:0; left:0; z-index:3;
}
.emotions-stack .emotions-img--mid{
  top:40px; left:140px; z-index:2;
}
.emotions-stack .emotions-img--back{
  top:80px; left:260px; z-index:1;
}

/* Duo stack positions */
.emotions-stack--duo .emotions-img--cover{
  top:0; left:0; z-index:2;
}
.emotions-stack--duo .emotions-img--mid{
  top:50px; left:160px; z-index:1;
}

@media (max-width: 860px){
  .emotions-showcase{ flex-direction:column; align-items:center; gap:40px; }
  .emotions-stack{ width:360px; height:380px; }
  .emotions-stack--duo{ width:320px; height:360px; }
  .emotions-img img{ height:280px; }
  .emotions-stack .emotions-img--mid{ left:120px; top:30px; }
  .emotions-stack .emotions-img--back{ left:220px; top:60px; }
  .emotions-stack--duo .emotions-img--mid{ left:140px; top:40px; }
  .emotions-block, .emotions-block--reverse{ flex-direction:column; align-items:center; gap:30px; }
}
@media (max-width: 520px){
  .emotions-stack{ width:280px; height:320px; }
  .emotions-stack--duo{ width:250px; height:300px; }
  .emotions-img img{ height:220px; }
  .emotions-stack .emotions-img--mid{ left:90px; top:25px; }
  .emotions-stack .emotions-img--back{ left:160px; top:50px; }
  .emotions-stack--duo .emotions-img--mid{ left:100px; top:35px; }
}

/* Mobile & phablet */
@media (max-width: 860px){
  body{ padding-top: 64px }
  .bar{ height:64px }
  .menu-btn{ display:inline-block }
  nav ul{ display:none }
  nav ul.open{
    display:flex;
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap:12px; padding: 12px var(--space);
    background: rgba(11,11,16,.95);
    border-bottom: 1px solid var(--line); z-index: 10000;
  }
  .grid{ grid-template-columns: 1fr }
  .card{ padding:14px }
  .wrap{ padding:0 calc(var(--space) - 2px) }

  .thumb-row{ justify-content:center }
  .logo-word{ font-size:20px }

  .section{ padding:clamp(28px,7vw,56px) 0 }
  .lead{ font-size:clamp(15px, 4.2vw, 17px) }
}

@media (max-width: 520px){
  .menu-btn{ padding:10px 14px }
  .lang-btn{ padding:8px 14px }
  .btn{ width:100%; justify-content:center }
  .thumb-row figure{ min-width:140px }
}

@supports (-webkit-touch-callout: none){
  body{ background-attachment: scroll; }
}

/* Lightbox */
.lightbox-backdrop{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.85); z-index:10000; padding:16px}
.lightbox-backdrop.open{display:flex}
.lightbox-img{max-width:min(92vw,1600px); max-height:92vh; border-radius:12px}
.lightbox-close{position:fixed; top:12px; right:12px; border:1px solid var(--line); background:rgba(17,18,26,.9); color:#fff; border-radius:10px; padding:10px 14px; font-weight:700; min-height:40px}

/* Links */
main a:not(.btn):not(nav a){
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
main a:not(.btn):not(nav a):hover{ color: var(--link-hover); }
main a:not(.btn):not(nav a):visited{ color: var(--link-visited); }
a:focus-visible{ outline: 2px dashed var(--link); outline-offset: 3px; border-radius: 6px; }
.link{ color: var(--link); text-decoration: underline; }
.link:hover{ color: var(--link-hover); }

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
