*{box-sizing:border-box}
:root{
  --bg:#f5f3ef;
  --bg-soft:#faf9f6;
  --paper:#ffffff;
  --text:#131722;
  --muted:#6e7480;
  --line:rgba(19,23,34,.10);
  --ink:#10131b;
  --gold:#9b7b4f;
  --gold-soft:#d6c2a1;
  --blue:#173c8f;
  --blue-2:#2a57c5;
  --success:#1f7a4e;
  --shadow-xl:0 32px 80px rgba(15,19,30,.12);
  --shadow-lg:0 18px 50px rgba(15,19,30,.09);
  --shadow-md:0 10px 30px rgba(15,19,30,.07);
  --radius-xxl:44px;
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:16px;
}
html{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(155,123,79,.11), transparent 22%),
    radial-gradient(circle at 92% 12%, rgba(23,60,143,.08), transparent 26%),
    linear-gradient(180deg,#fcfbf8 0%,var(--bg) 100%);
  scroll-behavior:smooth;
}
body{margin:0;color:var(--text);background:transparent}
a{color:var(--blue)}
img{max-width:100%;display:block}
audio,video{width:100%}
p,.prose{line-height:1.78;color:#3a4350}
h1,h2,h3{letter-spacing:-.035em;margin:0 0 .35em}
h1{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:clamp(2.9rem,7vw,6.8rem);
  line-height:.93;
}
h2{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.02;
}
code{background:#f0eee8;padding:.2rem .45rem;border-radius:8px}
.button,button{
  appearance:none;border:0;border-radius:999px;padding:15px 20px;
  background:linear-gradient(180deg,#254eaf,#153477);
  color:#fff;text-decoration:none;font-weight:800;display:inline-flex;align-items:center;justify-content:center;
  gap:10px;cursor:pointer;
  box-shadow:0 12px 30px rgba(23,60,143,.22);
  transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease,background .2s ease;
}
.button:hover,button:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(23,60,143,.28)}
.button.secondary{
  background:rgba(255,255,255,.88);
  color:var(--ink);
  border:1px solid var(--line);
  box-shadow:none;
}
form{display:grid;gap:14px}
label{display:grid;gap:6px;font-weight:650;font-size:.92rem}
input,textarea,select{
  width:100%;border:1px solid #cfd6e4;border-radius:14px;padding:12px 13px;background:#fff;color:var(--text);font:inherit
}
input:focus,textarea:focus,select:focus{outline:2px solid rgba(42,87,197,.15);border-color:var(--blue-2)}
.check{display:flex;grid-auto-flow:column;align-items:center;justify-content:start;gap:9px}
.check input{width:auto}
.alert{padding:14px 16px;border-radius:14px;background:#fff4d6;margin:14px 0}
.alert.error{background:#ffe9e9}
.alert.success{background:#e7f8ed}
.help,small{color:var(--muted)}

.shell{width:min(1180px,calc(100% - 32px));margin:34px auto}
.narrow{max-width:760px}
.card,.story-block,.product-hero,.stat{
  background:rgba(255,255,255,.9);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow-md);
}
.hero{margin-top:10vh}
.eyebrow{
  text-transform:uppercase;letter-spacing:.18em;font-size:.7rem;font-weight:900;
  color:#7b7f89;margin-bottom:14px
}
.lead,.hero-lead{font-size:1.16rem;line-height:1.78;color:#47505f;max-width:64ch}

.admin-top{
  position:sticky;top:0;z-index:50;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:16px max(18px,calc((100% - 1180px)/2));
  background:rgba(16,26,51,.90);backdrop-filter:blur(16px);color:#fff;border-bottom:1px solid rgba(255,255,255,.06)
}
.admin-top a{color:#fff;text-decoration:none}
.admin-top nav{display:flex;gap:18px;flex-wrap:wrap}
.page-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}
.page-head h1{font-family:Inter,system-ui,sans-serif;font-size:2.5rem;margin:.12em 0;font-weight:800}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 22px}
.stats-grid.compact{grid-template-columns:repeat(2,minmax(140px,220px))}
.stat span{display:block;color:var(--muted);margin-bottom:8px}
.stat strong{font-size:2rem}
.admin-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:11px 9px;border-bottom:1px solid #e8ebf2;vertical-align:top}
th{font-size:.8rem;color:#69758e;text-transform:uppercase}
.truncate{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link-button{background:transparent;color:#a11;padding:0;box-shadow:none}
.inline-form{grid-template-columns:1fr 1fr 2fr .6fr .6fr auto;align-items:end;margin-bottom:20px}
.login-card{max-width:520px;margin:10vh auto}

.page-shell{min-height:100vh}
.product-page{
  width:min(1240px,calc(100% - 24px));
  margin:18px auto 88px;
  display:grid;gap:28px
}
.floating-bar{
  width:min(1240px,calc(100% - 24px));
  margin:18px auto 0;
  position:sticky;top:14px;z-index:45;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;
  background:rgba(250,249,246,.76);
  border:1px solid rgba(19,23,34,.09);
  backdrop-filter:blur(18px);
  border-radius:999px;
  box-shadow:0 16px 36px rgba(15,19,30,.08);
}
.brand-mini{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800}
.brand-mini-dot{
  width:11px;height:11px;border-radius:50%;
  background:linear-gradient(180deg,#b59666,#8b6b43);
  box-shadow:0 0 0 8px rgba(155,123,79,.08)
}
.language-switcher{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.language-switcher a{
  min-width:42px;height:38px;padding:0 11px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;font-weight:800;font-size:.8rem;
  background:#f1efe9;color:#4a4f58;border:1px solid rgba(19,23,34,.07)
}
.language-switcher a.active{
  background:var(--ink);color:#fff;border-color:transparent
}

.hero-panel{
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(340px,.97fr);
  gap:24px;align-items:stretch
}
.premium-surface{
  background:
    linear-gradient(140deg,rgba(255,255,255,.97),rgba(248,246,240,.92));
}
.hero-copy{
  border-radius:var(--radius-xxl);
  padding:52px;
  min-height:650px;
  display:flex;flex-direction:column;justify-content:center;
  border:1px solid rgba(19,23,34,.08);
  box-shadow:var(--shadow-xl)
}
.hero-copy h1{max-width:13ch}
.hero-lead{max-width:58ch;margin-top:18px}
.hero-facts{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;margin:30px 0 14px
}
.fact-card{
  background:rgba(255,255,255,.68);
  border:1px solid rgba(19,23,34,.08);
  border-radius:18px;padding:16px 17px 18px;
  box-shadow:none
}
.fact-label{
  display:block;font-size:.7rem;font-weight:900;letter-spacing:.12em;
  text-transform:uppercase;color:#8a8e96;margin-bottom:8px
}
.fact-card strong{font-size:.98rem;line-height:1.42}
.hero-actions,.cta-actions,.actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-proof{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:30px;padding-top:22px;border-top:1px solid rgba(19,23,34,.08)
}
.hero-proof span{
  font-size:.76rem;font-weight:800;color:#5c626d;
  padding:8px 10px;border-radius:999px;background:#f4f1eb
}
.hero-visual{display:flex}
.hero-visual-inner{
  width:100%;border-radius:var(--radius-xxl);padding:28px;position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:650px;
  background:
    radial-gradient(circle at 10% 12%, rgba(155,123,79,.18), transparent 26%),
    radial-gradient(circle at 88% 84%, rgba(23,60,143,.13), transparent 28%),
    linear-gradient(160deg,#f5f1e7,#e8edf5);
  border:1px solid rgba(19,23,34,.08);
  box-shadow:var(--shadow-xl)
}
.hero-visual-inner::after{
  content:"";position:absolute;inset:auto -18% -28% auto;width:72%;height:72%;
  border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.65),transparent 68%);
  pointer-events:none
}
.hero-logo{max-height:54px;max-width:210px;object-fit:contain;margin-bottom:24px;position:relative;z-index:2}
.hero-product-image{
  width:min(100%,520px);max-height:480px;object-fit:contain;border-radius:24px;
  filter:drop-shadow(0 34px 46px rgba(0,0,0,.18));position:relative;z-index:2
}
.hero-product-placeholder{
  width:min(100%,430px);aspect-ratio:1/1;border-radius:32px;display:grid;place-items:center;text-align:center;
  background:linear-gradient(180deg,#f0ede6,#dde4ef);color:#546071;font-weight:800;padding:24px;position:relative;z-index:2
}
.hero-badge{
  position:absolute;bottom:24px;left:24px;z-index:3;
  padding:11px 14px;border-radius:999px;background:rgba(255,255,255,.92);
  border:1px solid rgba(19,23,34,.08);font-size:.78rem;font-weight:900;color:var(--ink);box-shadow:var(--shadow-md)
}

.section-intro{
  max-width:760px;padding:28px 8px 4px
}
.section-intro h2{margin-bottom:10px}
.section-intro p{font-size:1.06rem;max-width:60ch}

.content-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px
}
.story-card{
  border-radius:34px;padding:34px;position:relative;overflow:hidden;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(19,23,34,.08);
  box-shadow:var(--shadow-lg)
}
.story-card::before{
  content:"";position:absolute;top:-80px;right:-60px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(155,123,79,.10),transparent 70%)
}
.story-card:nth-child(even)::before{
  background:radial-gradient(circle,rgba(23,60,143,.09),transparent 70%)
}
.story-number{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;
  background:var(--ink);color:#fff;font-weight:900;margin-bottom:18px;
  box-shadow:0 10px 22px rgba(19,23,34,.12)
}
.story-meta{
  color:#858a92;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px
}
.story-card .prose{font-size:1.02rem}

.media-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px
}
.media-card{
  border-radius:34px;padding:30px;background:rgba(255,255,255,.92);
  border:1px solid rgba(19,23,34,.08);box-shadow:var(--shadow-lg)
}
.media-card audio{margin-top:14px}
.video-frame{position:relative;padding-top:56.25%;overflow:hidden;border-radius:24px;background:#0f1117}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.responsive-video{border-radius:24px;background:#0f1117;max-height:560px;object-fit:cover}

.cta-panel{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;
  border-radius:40px;padding:38px;
  background:
    linear-gradient(135deg,rgba(20,25,36,.97),rgba(31,41,62,.96));
  color:#fff;
  box-shadow:0 28px 70px rgba(15,19,30,.20)
}
.cta-panel .eyebrow{color:#c9cbd1}
.cta-panel h2,.cta-panel p{color:#fff}
.cta-panel .button.secondary{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.16)}
.page-footer{
  display:flex;justify-content:space-between;gap:18px;align-items:flex-end;
  padding:6px 6px 0;color:#717783
}
.page-footer p{margin:.35em 0 0}
.footer-link{text-decoration:none;font-weight:800;color:var(--ink);white-space:nowrap}

.mobile-sticky-cta{display:none}

.landing-wrap{width:min(980px,calc(100% - 24px));margin:9vh auto}
.landing-card{
  border-radius:40px;padding:48px;background:rgba(255,255,255,.92);
  border:1px solid rgba(19,23,34,.08);box-shadow:var(--shadow-xl)
}
.landing-lead{font-size:1.18rem;color:#495160;max-width:58ch}

.premium-reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.65,.25,1)
}
.premium-reveal.is-visible{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .premium-reveal{opacity:1;transform:none;transition:none}
  .button,button{transition:none}
}

@media (max-width:1020px){
  .hero-panel,.content-grid,.media-grid,.cta-panel,.admin-grid,.stats-grid{grid-template-columns:1fr}
  .stats-grid.compact{grid-template-columns:1fr 1fr}
  .hero-copy,.hero-visual-inner{min-height:auto}
  .inline-form{grid-template-columns:1fr}
  .hero-copy h1{max-width:none}
}
@media (max-width:760px){
  .floating-bar{
    border-radius:24px;align-items:flex-start;flex-direction:column;padding:14px;top:8px
  }
  .product-page{margin-top:14px;margin-bottom:110px}
  .hero-copy,.hero-visual-inner,.story-card,.media-card,.cta-panel,.landing-card{padding:23px}
  .hero-panel{gap:14px}
  .hero-facts{grid-template-columns:1fr}
  .hero-actions,.cta-actions,.actions{flex-direction:column}
  .button,button{width:100%}
  .hero-proof{gap:7px}
  .section-intro{padding:20px 4px 0}
  .page-footer{flex-direction:column;align-items:flex-start;padding-bottom:18px}
  .mobile-sticky-cta{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    position:fixed;left:10px;right:10px;bottom:10px;z-index:80;
    padding:10px;
    border-radius:22px;
    background:rgba(255,255,255,.90);
    border:1px solid rgba(19,23,34,.10);
    backdrop-filter:blur(18px);
    box-shadow:0 20px 50px rgba(15,19,30,.18)
  }
  .mobile-sticky-meta{min-width:0}
  .mobile-sticky-meta strong,.mobile-sticky-meta span{
    display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  .mobile-sticky-meta strong{font-size:.9rem;color:var(--ink)}
  .mobile-sticky-meta span{font-size:.74rem;color:#777d88;margin-top:2px}
  .mobile-sticky-cta .button{width:auto;padding:12px 15px;font-size:.82rem}
  .admin-top{align-items:flex-start;flex-direction:column}
  .admin-top nav{flex-wrap:wrap}
  .page-head{align-items:flex-start;flex-direction:column}
  .shell{margin-top:20px}
  table{font-size:.9rem;display:block;overflow:auto}
}


/* V4.1 — 10 langues */
.language-switcher{
  max-width:min(760px,72vw);
  overflow-x:auto;
  flex-wrap:nowrap;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.language-switcher::-webkit-scrollbar{display:none}
.language-switcher a{flex:0 0 auto;white-space:nowrap}

html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .story-card,
html[dir="rtl"] .media-card,
html[dir="rtl"] .section-intro,
html[dir="rtl"] .cta-panel,
html[dir="rtl"] .page-footer,
html[dir="rtl"] .fact-card{text-align:right}
html[dir="rtl"] .hero-panel,
html[dir="rtl"] .cta-panel{direction:rtl}
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .cta-actions,
html[dir="rtl"] .hero-proof{justify-content:flex-start}
html[dir="rtl"] .hero-badge{left:auto;right:24px}
html[dir="rtl"] .brand-mini{direction:rtl}
html[dir="rtl"] .mobile-sticky-cta{direction:rtl}
html[lang="zh"] body,
html[lang="ja"] body{
  font-family:Inter,"Noto Sans CJK SC","Noto Sans SC","Noto Sans JP","PingFang SC","Hiragino Sans","Yu Gothic",system-ui,sans-serif;
}
html[lang="ar"] body{
  font-family:Inter,"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}
html[lang="ru"] body{
  font-family:Inter,"Segoe UI",Arial,system-ui,sans-serif;
}
@media(max-width:760px){
  .language-switcher{max-width:100%;width:100%}
}


/* GS1 advanced scan context */
.fact-card.gs1-dynamic{
  background:linear-gradient(180deg,rgba(236,247,241,.95),rgba(248,252,250,.96));
  border-color:rgba(31,122,78,.18)
}
.fact-card.gs1-dynamic .fact-label{color:#39795c}
.gs1-context{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  border-radius:28px;padding:20px 22px;
  background:rgba(255,255,255,.88);border:1px solid rgba(19,23,34,.08);box-shadow:var(--shadow-md)
}
.gs1-context-head{display:flex;align-items:center;gap:14px}
.gs1-context-mark{
  width:56px;height:56px;display:grid;place-items:center;border-radius:18px;
  background:#1f7a4e;color:#fff;font-size:.9rem;font-weight:950;letter-spacing:.04em
}
.gs1-context .eyebrow{margin-bottom:3px}
.gs1-context code{
  max-width:100%;overflow:auto;white-space:nowrap;
  background:#f3f5f3;color:#34473c;padding:10px 13px;border-radius:12px
}
@media(max-width:760px){
  .gs1-context{align-items:flex-start;flex-direction:column}
  .gs1-context code{width:100%}
}


/* ==========================================================
   V4.3 — RESPONSIVE MOBILE-FIRST + MENU DE LANGUE DÉROULANT
   ========================================================== */

html,body{max-width:100%;overflow-x:hidden}
.page-shell,.product-page,.hero-panel,.hero-copy,.hero-visual,.hero-visual-inner,
.story-card,.media-card,.cta-panel,.gs1-context{min-width:0}

.floating-bar{
  min-height:62px;
  padding:10px 12px;
  gap:14px;
}
.brand-mini{
  min-width:0;
  flex:1 1 auto;
}
.brand-mini span:last-child{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Sélecteur de langue natif : plus robuste sur iOS / Android */
.language-switcher{display:none!important}
.language-menu{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
}
.language-menu>label{
  margin:0;
  display:block;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#747984;
  white-space:nowrap;
}
.language-select-wrap{position:relative}
.language-select-wrap::after{
  content:"⌄";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-56%);
  pointer-events:none;
  color:#555d68;
  font-size:.9rem;
  line-height:1;
}
#language-select{
  appearance:none;
  -webkit-appearance:none;
  width:auto;
  max-width:210px;
  min-width:142px;
  height:42px;
  margin:0;
  padding:0 34px 0 13px;
  border-radius:999px;
  border:1px solid rgba(19,23,34,.10);
  background:rgba(255,255,255,.92);
  color:#171b24;
  font-size:.82rem;
  font-weight:800;
  line-height:42px;
  box-shadow:none;
  cursor:pointer;
}
#language-select:focus{
  outline:3px solid rgba(42,87,197,.13);
  border-color:rgba(42,87,197,.35);
}
html[dir="rtl"] .language-select-wrap::after{
  right:auto;left:12px;
}
html[dir="rtl"] #language-select{
  padding:0 13px 0 34px;
}

/* Tablette : on passe plus tôt en une seule colonne */
@media(max-width:980px){
  .product-page{
    width:min(760px,calc(100% - 24px));
    gap:18px;
  }
  .hero-panel{
    grid-template-columns:1fr!important;
    gap:16px;
  }
  .hero-visual{order:-1}
  .hero-copy,.hero-visual-inner{
    min-height:0!important;
  }
  .hero-copy{
    padding:32px;
  }
  .hero-visual-inner{
    min-height:420px!important;
    padding:22px;
  }
  .hero-product-image{
    width:min(100%,400px);
    max-height:370px;
  }
  .hero-copy h1{max-width:none!important}
  .content-grid,.media-grid,.cta-panel{
    grid-template-columns:1fr!important;
  }
  .cta-panel{gap:16px}
}

/* Téléphone */
@media(max-width:700px){
  :root{
    --radius-xxl:28px;
    --radius-xl:24px;
    --radius-lg:20px;
  }

  body{font-size:15px}

  h1{
    font-size:clamp(2.05rem,10.8vw,3rem)!important;
    line-height:.98!important;
    letter-spacing:-.04em;
  }
  h2{
    font-size:clamp(1.55rem,7.6vw,2.05rem)!important;
  }
  p,.prose{line-height:1.68}

  .floating-bar{
    width:calc(100% - 16px)!important;
    margin:8px auto 0!important;
    top:7px!important;
    border-radius:20px!important;
    flex-direction:row!important;
    align-items:center!important;
    padding:9px 10px!important;
  }
  .brand-mini{font-size:.85rem}
  .brand-mini-dot{
    width:9px;height:9px;
    box-shadow:0 0 0 6px rgba(155,123,79,.08);
  }
  .language-menu{gap:0}
  .language-menu>label{display:none}
  #language-select{
    min-width:0;
    width:148px;
    max-width:44vw;
    height:40px;
    font-size:.76rem;
    padding-left:11px;
    padding-right:30px;
  }

  .product-page{
    width:calc(100% - 16px)!important;
    margin:10px auto calc(104px + env(safe-area-inset-bottom))!important;
    gap:14px!important;
  }

  .hero-panel{gap:12px!important}

  .hero-visual-inner{
    min-height:300px!important;
    border-radius:26px!important;
    padding:16px!important;
  }
  .hero-product-image{
    width:min(100%,300px)!important;
    max-height:280px!important;
    border-radius:18px!important;
    filter:drop-shadow(0 20px 26px rgba(0,0,0,.15))!important;
  }
  .hero-logo{
    max-height:40px!important;
    max-width:150px!important;
    margin-bottom:12px!important;
  }
  .hero-badge{
    left:14px!important;
    bottom:14px!important;
    padding:8px 10px!important;
    font-size:.68rem!important;
  }
  html[dir="rtl"] .hero-badge{left:auto!important;right:14px!important}

  .hero-copy{
    border-radius:26px!important;
    padding:24px 20px!important;
  }
  .hero-lead{
    font-size:1rem!important;
    line-height:1.66!important;
    margin-top:12px!important;
  }

  .hero-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:20px 0 12px!important;
  }
  .fact-card{
    padding:12px!important;
    border-radius:15px!important;
    overflow:hidden;
  }
  .fact-label{
    font-size:.61rem!important;
    line-height:1.3;
    letter-spacing:.08em!important;
    margin-bottom:6px!important;
  }
  .fact-card strong{
    display:block;
    font-size:.83rem!important;
    line-height:1.35!important;
    overflow-wrap:anywhere;
  }

  .hero-actions,.cta-actions,.actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .hero-actions .button,.cta-actions .button,.actions .button{
    width:100%!important;
    min-height:46px;
    padding:12px 15px!important;
  }

  .hero-proof{
    margin-top:20px!important;
    padding-top:16px!important;
    gap:6px!important;
  }
  .hero-proof span{
    font-size:.67rem!important;
    padding:7px 9px!important;
  }

  .section-intro{
    padding:18px 4px 0!important;
  }
  .section-intro p{font-size:.96rem!important}

  .content-grid,.media-grid{gap:10px!important}

  .story-card,.media-card{
    border-radius:24px!important;
    padding:21px!important;
  }
  .story-number{
    width:38px!important;height:38px!important;
    margin-bottom:14px!important;
    font-size:.8rem;
  }
  .story-meta{font-size:.65rem!important}
  .story-card .prose{font-size:.96rem!important}

  .video-frame,.responsive-video{border-radius:18px!important}

  .gs1-context{
    padding:15px!important;
    border-radius:20px!important;
    gap:12px!important;
  }
  .gs1-context-mark{
    width:44px!important;height:44px!important;
    border-radius:14px!important;
    font-size:.75rem!important;
  }
  .gs1-context code{
    width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:.68rem;
    line-height:1.45;
  }

  .cta-panel{
    border-radius:26px!important;
    padding:24px 20px!important;
  }

  .page-footer{
    padding:8px 5px 12px!important;
    gap:10px!important;
  }

  .mobile-sticky-cta{
    display:grid!important;
    grid-template-columns:1fr!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .mobile-sticky-meta{display:none!important}
  .mobile-sticky-cta .button{
    width:100%!important;
    max-width:none!important;
    min-height:46px;
    padding:11px 14px!important;
    font-size:.78rem!important;
    line-height:1.2;
    text-align:center;
  }

  .landing-wrap{
    width:calc(100% - 16px)!important;
    margin:24px auto!important;
  }
  .landing-card{
    padding:24px 20px!important;
    border-radius:26px!important;
  }
}

/* Très petits téléphones */
@media(max-width:420px){
  #language-select{
    width:132px;
    max-width:42vw;
    font-size:.72rem;
  }
  .brand-mini span:last-child{
    max-width:118px;
  }
  .hero-facts{
    grid-template-columns:1fr!important;
  }
}

/* Large desktop : conserver une vraie composition premium sans étirer démesurément */
@media(min-width:1280px){
  .product-page,.floating-bar{max-width:1180px}
  .hero-copy,.hero-visual-inner{min-height:610px}
}


/* ==========================================================
   V4.4 — DESKTOP FLUID
   Typographie et mise en page réellement responsives sur ordinateur
   ========================================================== */

/* Sécurité générale contre les débordements de textes */
h1,h2,h3,p,.prose,strong,.button,.fact-card,.story-card,.media-card{
  min-width:0;
  max-width:100%;
}
h1,h2,h3,.prose,p,strong{
  overflow-wrap:break-word;
  word-break:normal;
}
h1,h2{
  text-wrap:balance;
}
p,.prose{
  text-wrap:pretty;
}
.button{
  white-space:normal;
  text-align:center;
  line-height:1.25;
}

/* Le site ne s'étire plus inutilement sur les écrans 1440 / 1920 / 4K */
@media(min-width:981px){
  .product-page,
  .floating-bar{
    width:min(1180px,calc(100% - 48px))!important;
    max-width:1180px!important;
  }

  .product-page{
    gap:clamp(20px,2vw,28px)!important;
    margin-top:18px!important;
  }

  /* Header ordinateur */
  .floating-bar{
    min-height:64px;
    padding:10px 16px!important;
  }
  .brand-mini{
    font-size:clamp(.84rem,.85vw,.96rem);
  }
  #language-select{
    width:clamp(155px,14vw,205px)!important;
    max-width:205px!important;
    min-width:155px!important;
    font-size:clamp(.76rem,.76vw,.86rem)!important;
  }

  /* HERO : texte moins gigantesque, proportions constantes */
  .hero-panel{
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;
    gap:clamp(18px,2vw,26px)!important;
    align-items:stretch!important;
  }

  .hero-copy,
  .hero-visual-inner{
    min-height:clamp(510px,43vw,610px)!important;
    max-height:none!important;
  }

  .hero-copy{
    padding:clamp(34px,4vw,54px)!important;
    justify-content:center!important;
  }

  .hero-copy h1{
    max-width:12.5ch!important;
    font-size:clamp(3rem,4.35vw,5rem)!important;
    line-height:.96!important;
    letter-spacing:-.045em!important;
  }

  .hero-lead{
    max-width:52ch!important;
    font-size:clamp(1rem,1.05vw,1.14rem)!important;
    line-height:1.68!important;
    margin-top:clamp(12px,1.5vw,18px)!important;
  }

  .eyebrow{
    font-size:clamp(.64rem,.62vw,.72rem)!important;
  }

  .hero-facts{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    margin:clamp(20px,2.3vw,28px) 0 14px!important;
  }

  .fact-card{
    padding:clamp(13px,1.35vw,17px)!important;
    overflow:hidden!important;
  }

  .fact-label{
    font-size:clamp(.59rem,.56vw,.68rem)!important;
    letter-spacing:.09em!important;
  }

  .fact-card strong{
    display:block;
    font-size:clamp(.82rem,.78vw,.96rem)!important;
    line-height:1.38!important;
    overflow-wrap:anywhere!important;
  }

  .hero-actions{
    gap:10px!important;
  }

  .hero-actions .button{
    flex:0 1 auto!important;
    max-width:100%!important;
    padding:13px 17px!important;
    font-size:clamp(.82rem,.74vw,.92rem)!important;
  }

  .hero-proof{
    margin-top:clamp(18px,2vw,26px)!important;
    padding-top:clamp(15px,1.6vw,21px)!important;
  }

  .hero-proof span{
    font-size:clamp(.65rem,.61vw,.74rem)!important;
  }

  /* Visuel : jamais trop gros par rapport au texte */
  .hero-visual-inner{
    padding:clamp(20px,2.4vw,30px)!important;
  }

  .hero-product-image{
    width:min(88%,460px)!important;
    max-height:430px!important;
  }

  .hero-logo{
    max-width:180px!important;
    max-height:50px!important;
  }

  /* Intro de chapitre */
  .section-intro{
    max-width:720px!important;
    padding:clamp(20px,2.2vw,28px) 6px 2px!important;
  }

  .section-intro h2{
    max-width:17ch;
    font-size:clamp(1.9rem,2.7vw,2.8rem)!important;
    line-height:1.04!important;
  }

  .section-intro p{
    max-width:58ch!important;
    font-size:clamp(.96rem,.9vw,1.06rem)!important;
    line-height:1.65!important;
  }

  /* Cartes storytelling : taille du texte liée à la largeur utile */
  .content-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(14px,1.5vw,20px)!important;
  }

  .story-card{
    padding:clamp(26px,2.7vw,34px)!important;
  }

  .story-card h2{
    max-width:18ch;
    font-size:clamp(1.7rem,2.05vw,2.35rem)!important;
    line-height:1.06!important;
  }

  .story-card .prose{
    max-width:62ch!important;
    font-size:clamp(.92rem,.78vw,1rem)!important;
    line-height:1.70!important;
  }

  .story-meta{
    font-size:clamp(.62rem,.54vw,.7rem)!important;
    line-height:1.4!important;
  }

  /* Médias */
  .media-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(14px,1.5vw,20px)!important;
  }

  .media-card{
    padding:clamp(24px,2.4vw,32px)!important;
  }

  .media-card h2{
    font-size:clamp(1.75rem,2.1vw,2.4rem)!important;
  }

  /* Bloc final */
  .cta-panel{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:clamp(20px,2.5vw,34px)!important;
    padding:clamp(30px,3.2vw,42px)!important;
  }

  .cta-panel h2{
    max-width:16ch;
    font-size:clamp(2rem,2.8vw,3rem)!important;
  }

  .cta-panel p{
    max-width:48ch;
    font-size:clamp(.94rem,.85vw,1.04rem)!important;
  }

  .cta-actions{
    justify-content:flex-end!important;
  }

  /* URL / contexte GS1 */
  .gs1-context{
    gap:16px!important;
    padding:18px 20px!important;
  }

  .gs1-context code{
    min-width:0!important;
    max-width:58%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:clamp(.67rem,.58vw,.76rem)!important;
    line-height:1.45!important;
  }
}

/* Écrans ordinateur compacts : 981 à 1199 px */
@media(min-width:981px) and (max-width:1199px){
  .product-page,
  .floating-bar{
    width:calc(100% - 32px)!important;
  }

  .hero-panel{
    grid-template-columns:minmax(0,1fr) minmax(360px,.88fr)!important;
  }

  .hero-copy{
    padding:32px!important;
  }

  .hero-copy h1{
    font-size:clamp(2.75rem,4.6vw,4rem)!important;
    max-width:13ch!important;
  }

  .hero-lead{
    font-size:1rem!important;
  }

  .hero-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .hero-product-image{
    width:min(90%,380px)!important;
    max-height:370px!important;
  }

  .story-card h2{
    font-size:clamp(1.55rem,2.2vw,2rem)!important;
  }
}

/* Grand écran : conserver le rythme sans grossir le texte */
@media(min-width:1600px){
  .product-page,
  .floating-bar{
    max-width:1180px!important;
  }

  .hero-copy h1{
    font-size:4.75rem!important;
  }

  .hero-lead{
    font-size:1.08rem!important;
  }

  .story-card .prose{
    font-size:.98rem!important;
  }
}

/* Langues à mots longs / alphabets non latins */
html[lang="de"] .hero-copy h1,
html[lang="ru"] .hero-copy h1{
  font-size:clamp(2.8rem,4vw,4.55rem)!important;
  max-width:15ch!important;
}

html[lang="zh"] .hero-copy h1,
html[lang="ja"] .hero-copy h1{
  font-family:Inter,"Noto Sans CJK SC","Noto Sans SC","Noto Sans JP","PingFang SC","Hiragino Sans","Yu Gothic",system-ui,sans-serif!important;
  font-weight:700!important;
  letter-spacing:-.04em!important;
  max-width:11ch!important;
}

html[lang="ar"] .hero-copy h1{
  font-family:Inter,"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-weight:700!important;
  line-height:1.12!important;
  letter-spacing:0!important;
  max-width:14ch!important;
}

html[lang="ar"] h2{
  line-height:1.18!important;
  letter-spacing:0!important;
}


/* V5 — médias, analytics et démo commerciale */
.media-admin-card{margin-top:20px}.media-admin-head{margin-bottom:14px}.media-upload-form{gap:18px}
.media-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.upload-tile{display:flex;flex-direction:column;gap:11px;min-width:0;padding:18px;border:1px solid rgba(19,23,34,.09);border-radius:20px;background:#fafbfc}
.upload-tile input[type=file]{padding:10px;background:#fff;overflow:hidden}
.upload-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#17233c;color:#fff;font-size:.66rem;font-weight:900;letter-spacing:.08em}
.admin-media-preview{width:100%;height:170px;object-fit:contain;background:#fff;border:1px solid #e6e9ef;border-radius:14px;padding:8px}
.current-media-url{font-size:.75rem;line-height:1.45;color:#59677d;overflow-wrap:anywhere;background:#fff;border-radius:10px;padding:9px}
.upload-server-limit{margin-top:16px;padding:11px 13px;border-radius:12px;background:#f3f5f8;color:#647087;font-size:.8rem}
.period-tabs{display:flex;gap:8px;flex-wrap:wrap}
.period-tabs a{padding:9px 12px;border-radius:999px;text-decoration:none;background:#eef2f8;color:#3e4b62;font-weight:800;font-size:.82rem}
.period-tabs a.active{background:#173c8f;color:#fff}
.scan-chart{height:220px;display:flex;align-items:flex-end;gap:3px;padding:22px 4px 4px;border-bottom:1px solid #e7ebf1}
.scan-bar-wrap{height:100%;flex:1 1 0;min-width:3px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}
.scan-bar{width:min(100%,18px);min-height:3px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#2a57c5,#173c8f)}
.scan-bar-wrap span{font-size:.6rem;color:#8490a4}
.analytics-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px;margin:18px 0}
.metric-list{display:grid;gap:6px}.metric-list>div,.demo-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f4}
.table-scroll{width:100%;overflow:auto}
.commercial-demo{display:grid;gap:20px}
.demo-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:38px;border-radius:32px;background:linear-gradient(135deg,#101726,#1d3156);color:#fff;box-shadow:0 24px 60px rgba(16,23,38,.20)}
.demo-hero h1{font-family:Georgia,"Times New Roman",serif;color:#fff;font-size:clamp(3rem,5vw,5.2rem);font-weight:500;line-height:.95}
.demo-hero p{color:#d9dfeb;max-width:58ch;font-size:1.04rem}.demo-hero .eyebrow{color:#b9c4d8}
.demo-live-badge{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);font-size:.8rem;font-weight:800}
.demo-live-badge span{width:9px;height:9px;border-radius:50%;background:#63d69a;box-shadow:0 0 0 7px rgba(99,214,154,.10)}
.demo-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.demo-kpi-grid article{padding:22px;border-radius:22px;background:#fff;border:1px solid #e6eaf1;box-shadow:0 9px 28px rgba(16,32,58,.06)}
.demo-kpi-grid span,.demo-kpi-grid small{display:block;color:#718099}.demo-kpi-grid strong{display:block;font-size:clamp(2rem,3vw,3.2rem);letter-spacing:-.04em;margin:8px 0}
.demo-funnel,.demo-panel,.demo-promise{background:#fff;border:1px solid #e6eaf1;border-radius:28px;padding:28px;box-shadow:0 9px 28px rgba(16,32,58,.06)}
.demo-funnel h2,.demo-panel h2,.demo-promise h2{font-family:Georgia,"Times New Roman",serif;font-weight:500}
.funnel-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center;margin-top:22px}
.funnel-flow>div{min-width:0;padding:17px;border-radius:18px;background:#f5f7fa}.funnel-flow>div span{display:block;font-size:.68rem;font-weight:900;color:#7b879b;margin-bottom:8px}
.funnel-flow>div strong,.funnel-flow>div small{display:block}.funnel-flow>div small{color:#718099;margin-top:4px}.funnel-flow i{font-style:normal;color:#9aa4b5;font-size:1.5rem}
.demo-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.demo-ranking{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f4}
.demo-ranking>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#162b55;color:#fff;font-size:.72rem;font-weight:900}
.demo-ranking div{min-width:0}.demo-ranking strong,.demo-ranking small{display:block}.demo-ranking strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-ranking small{color:#8190a5;margin-top:3px}
.demo-metrics{display:grid}.demo-promise{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;background:linear-gradient(135deg,#faf7f0,#f2f5fb)}
.demo-promise-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.demo-promise-chips span{padding:9px 11px;border-radius:999px;background:#fff;border:1px solid #dfe5ee;font-size:.75rem;font-weight:900;color:#40506a}
@media(max-width:980px){.media-upload-grid,.analytics-grid,.demo-two-col,.demo-promise{grid-template-columns:1fr 1fr}.demo-kpi-grid{grid-template-columns:1fr 1fr}.funnel-flow{grid-template-columns:1fr}.funnel-flow i{transform:rotate(90deg);justify-self:center}.demo-promise{grid-template-columns:1fr}.demo-promise-chips{justify-content:flex-start}}
@media(max-width:700px){.media-upload-grid,.analytics-grid,.demo-kpi-grid,.demo-two-col{grid-template-columns:1fr}.demo-hero{padding:24px;align-items:flex-start;flex-direction:column}.demo-hero h1{font-size:clamp(2.5rem,12vw,3.8rem)}.scan-chart{height:180px}.scan-bar-wrap span{display:none}.period-tabs{width:100%}.period-tabs a{flex:1;text-align:center}}
