/* =========================================================
   CartaPuce — site marketing (refonte 2026)
   Design: Figma "CartaPuce — Accueil". Police Inter.
   ========================================================= */

:root{
  --ink:#222027;
  --ink-soft:#27252b;
  --gold:#c4900a;
  --gold-soft:#fff3d6;
  --gold-tint:#fff9ed;
  --muted:#716d79;
  --cream:#faf8f3;
  --page:#f6f4ef;
  --line:#ece9e4;
  --white:#ffffff;
  /* cartes */
  --c-yellow:#f3d457;
  --c-blue:#264cb3;
  --c-red:#d94443;
  --c-dark:#222027;
  --shadow-card:0 12px 14px rgba(40,22,75,.09);
  --shadow-soft:0 12px 28px rgba(40,22,75,.09);
  --shadow-phone:0 24px 40px rgba(43,23,75,.14);
  --maxw:1280px;
  --pad:clamp(20px,5vw,80px);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:var(--ink);
  background:var(--page);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
  max-width:100%;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
p{margin:0}
.wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* ---------- Boutons ---------- */
.btn-store{
  display:inline-flex;align-items:center;gap:.55em;
  height:62px;padding:0 32px;border-radius:100px;
  background:var(--gold);color:#fff;font-size:16px;font-weight:600;line-height:1;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-store:hover{filter:brightness(1.05);box-shadow:0 10px 24px rgba(196,144,10,.32)}
.btn-store .apple-ico{height:1.15em;width:auto;flex:none;position:relative;top:-1px}
.btn-store .play-ico{height:1.2em;width:auto;flex:none;position:relative;top:-1px}
.btn-store.small{height:52px;font-size:15px;padding:0 20px}
/* Rangée de boutons stores (App Store + Google Play côte à côte) */
.store-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--gold);
  font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--gold);flex:none}
.eyebrow.on-dark{color:var(--gold)}

/* ---------- Navigation ---------- */
nav{position:sticky;top:0;z-index:50;background:rgba(246,244,239,.82);
  backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;transition:border-color .2s ease, background .2s ease}
nav.scrolled{border-bottom-color:var(--line)}
.nav-in{max-width:var(--maxw);margin:0 auto;height:84px;display:flex;align-items:center;
  justify-content:space-between;padding-left:var(--pad);padding-right:var(--pad)}
.brand{display:inline-flex;align-items:center;gap:10px}
.brand-icon{width:38px;height:38px;border-radius:11px;background:var(--gold);
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.brand-icon .inner{width:38px;height:38px;background:var(--gold-tint);
  display:flex;align-items:center;justify-content:center}
.brand-icon .inner img{width:27.46px;height:27.46px}
.brand-name{font-size:23px;font-weight:700;color:var(--ink)}
.nav-menu{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:500;margin-inline-start:auto;margin-inline-end:28px}
.nav-menu a{color:var(--ink);transition:color .15s ease}
.nav-menu a:hover{color:var(--gold)}
.nav-right{display:flex;align-items:center;gap:14px}
.nav-pill{display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 20px;
  border-radius:30px;background:var(--gold-soft);color:var(--gold);font-size:13px;font-weight:500}
.nav-pill .arr{width:15px;height:15px;flex:none}
.nav-pill:hover{filter:brightness(.98)}
.lang-select{appearance:none;border:1px solid var(--line);background:var(--white);
  border-radius:30px;padding:8px 14px;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
.burger{display:none;width:40px;height:40px;border:none;background:none;cursor:pointer;
  flex-direction:column;gap:5px;align-items:center;justify-content:center}
.burger span{width:22px;height:2px;background:var(--ink);border-radius:2px;transition:.25s}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* menu mobile */
.mob{display:none;position:fixed;top:84px;left:0;right:0;z-index:49;background:var(--page);
  border-bottom:1px solid var(--line);padding:16px var(--pad) 24px;flex-direction:column;gap:4px}
.mob.open{display:flex}
.mob a{padding:12px 0;font-size:16px;font-weight:500;border-bottom:1px solid var(--line)}
.mob a.cta{color:var(--gold);font-weight:600;border:none}

/* ---------- Hero ---------- */
.hero{padding-top:44px;padding-bottom:30px}
.hero-in{display:flex;gap:40px;align-items:center}
.hero-copy{flex:1 1 560px;max-width:600px}
.hero-title{font-size:clamp(33px,6.4vw,78px);line-height:1.04;font-weight:400;
  letter-spacing:-.02em;margin:22px 0 0;overflow-wrap:break-word}
.hero-title .gold{color:var(--gold)}
.hero-desc{margin-top:24px;font-size:20px;line-height:1.6;color:var(--muted);max-width:500px}
.hero-cta{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* ---------- Illustration hero ---------- */
.hero-art{position:relative;width:640px;height:650px;flex:none}
.hero-art .halo{position:absolute;left:30px;top:55px;width:574px;height:574px;border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(243,212,87,.45) 0%, rgba(243,212,87,.18) 45%, rgba(243,212,87,0) 70%)}
.art-card{position:absolute;border-radius:18px;padding:20px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;justify-content:space-between}
.art-card .row{display:flex;align-items:center;justify-content:space-between}
.art-card .brand-txt{font-size:27px;font-weight:400}
.art-card .label{font-size:10px;font-weight:600}
.art-card .wifi{width:22px;height:22px;flex:none}
.card-ikea{left:17px;top:58px;width:270px;height:165px;background:var(--c-yellow);transform:rotate(-15deg)}
.card-ikea .brand-txt,.card-ikea .label{color:var(--c-blue)}
.card-carrefour{left:48px;top:358px;width:268px;height:164px;background:var(--c-blue);transform:rotate(-9deg)}
.card-carrefour .brand-txt,.card-carrefour .label{color:#fff}
.barcode{height:34px;width:160px;background:#fff;padding:4px 6px}
.barcode::before{content:"";display:block;height:100%;
  background:repeating-linear-gradient(90deg,var(--ink) 0 2px,#fff 2px 4px,var(--ink) 4px 5px,#fff 5px 9px,var(--ink) 9px 12px,#fff 12px 14px)}
.chip-benefit{position:absolute;left:325px;top:595px;width:284px;height:48px;background:#fff;
  border-radius:30px;box-shadow:var(--shadow-soft);display:flex;align-items:center;gap:9px;padding:0 17px}
.chip-benefit .check{width:17px;height:17px;flex:none}
.chip-benefit span{font-size:13px;font-weight:600;color:var(--ink)}

/* iPhone mockup */
.phone{position:absolute;left:186px;top:22px;width:292px;height:584px;transform:rotate(7deg)}
.phone-frame{width:292px;height:584px;background:var(--ink-soft);border:1.5px solid #77717a;
  border-radius:46px;padding:8px;box-shadow:var(--shadow-phone)}
.phone-screen{height:100%;background:var(--cream);border-radius:38px;padding:12px 16px;
  display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden}
.ph-status{display:flex;align-items:center;justify-content:space-between;height:24px}
.ph-status .time{font-size:11px;font-weight:700}
.ph-island{width:76px;height:22px;background:#171619;border-radius:20px}
.ph-net{display:flex;gap:3px}
.ph-net img{height:12px}
.ph-title{display:flex;align-items:center;justify-content:space-between}
.ph-title h4{margin:0;font-size:26px;font-weight:700}
.ph-add{width:28px;height:28px;border-radius:20px;background:var(--gold);
  display:flex;align-items:center;justify-content:center}
.ph-add img{width:17px;height:17px}
.ph-search{display:flex;align-items:center;gap:6px;height:32px;background:var(--line);
  border-radius:9px;padding:0 10px}
.ph-search img{width:13px;height:13px}
.ph-search span{font-size:11px;color:var(--muted)}
.ph-fav{font-size:10px;font-weight:600;color:var(--muted)}
.ph-cards{display:flex;flex-direction:column;gap:10px}
.ph-card{height:87px;border-radius:18px;padding:20px;display:flex;flex-direction:column;
  justify-content:space-between}
.ph-card .row{display:flex;align-items:center;justify-content:space-between}
.ph-card .name{font-size:20px;font-weight:400}
.ph-card .lbl{font-size:10px;font-weight:600}
.ph-card .wifi{width:22px;height:22px}
.ph-card.red{background:var(--c-red)}.ph-card.red .name,.ph-card.red .lbl{color:#fff}
.ph-card.yellow{background:var(--c-yellow)}.ph-card.yellow .name,.ph-card.yellow .lbl{color:var(--c-blue)}
.ph-card.dark{background:var(--c-dark)}.ph-card.dark .name,.ph-card.dark .lbl{color:#fff}
.ph-tabs{display:flex;align-items:flex-start;justify-content:space-between;padding-top:5px;margin-top:auto}
.ph-tab{display:flex;flex-direction:column;align-items:center;gap:4px;width:65px}
.ph-tab img{width:19px;height:19px}
.ph-tab span{font-size:9px;color:var(--muted)}
.ph-tab.active span{color:var(--gold)}
.ph-home{position:absolute;left:50%;transform:translateX(-50%);bottom:8px;width:92px;height:4px;
  background:var(--ink);border-radius:5px}

/* scale l'illustration quand la place manque */
@media (max-width:1200px){
  .hero-art{width:560px;height:570px}
  .hero-art>*{transform-origin:top left}
}
@media (max-width:980px){
  .hero-in{flex-direction:column;align-items:flex-start}
  .hero-copy{width:100%;max-width:640px;min-width:0;flex:none}
  .hero-desc{max-width:none}
  .hero-art{align-self:center;margin-top:12px}
}
/* Boîte de mise à l'échelle de l'illustration hero (évite le débordement mobile) */
.hero-art-box{display:contents}
@media (max-width:980px){
  .hero-art-box{position:relative;width:461px;height:468px;max-width:100%;margin:8px auto 0;overflow:hidden;display:block}
  .hero-art{position:absolute;top:0;left:0;transform:scale(.72);transform-origin:top left}
}
@media (max-width:640px){
  .hero-art-box{width:358px;height:364px}
  .hero-art{transform:scale(.56)}
}

/* ---------- Nav responsive ---------- */
@media (max-width:900px){
  .nav-menu,.nav-pill{display:none}
  .burger{display:flex}
}

/* ---------- Bandeau enseignes ---------- */
.logos{padding:38px 0 48px}
.logos .sep{height:1px;background:#e5e0d9;width:100%}
.logos-cover{display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-size:15px;margin-top:32px}
.logos-cover .l{color:var(--muted)}
.logos-cover .r{color:var(--gold)}
.logos-marquee{margin-top:32px;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.logos-track{display:flex;width:max-content;align-items:center;
  animation:marquee 300s linear infinite;will-change:transform}
.logos-marquee:hover .logos-track{animation-play-state:paused}
.logos-group{display:flex;align-items:center;gap:56px;padding-left:56px}
.logos-track span{font-size:30px;font-weight:400;color:var(--ink);white-space:nowrap}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:720px){
  .logos-cover{flex-direction:column;align-items:flex-start;gap:6px}
  .logos-group{gap:40px;padding-left:40px}
  .logos-track{animation-duration:240s}
  .logos-track span{font-size:23px}
}
@media (prefers-reduced-motion:reduce){
  .logos-track{animation:none;flex-wrap:wrap;width:auto;gap:18px 40px}
}

/* ---------- Section "Un portefeuille plus léger" ---------- */
.feature{padding:64px 0}
.split{background:#fff;border-radius:36px;overflow:hidden;display:flex;align-items:stretch}
.split-copy{width:612px;flex:none;padding:56px;display:flex;flex-direction:column;gap:24px}
.split-copy .h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06;font-weight:400;letter-spacing:-.015em;margin:0}
.split-copy .lead{font-size:18px;line-height:1.6;color:var(--muted)}
.benefits{display:flex;flex-direction:column;gap:18px;padding-top:8px}
.benefit{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--ink)}
.benefit img{width:18px;height:18px;flex:none}
.split-art{background:var(--gold-soft);flex:1 1 668px;min-height:622px;position:relative;overflow:hidden}
.fan{position:absolute;left:50%;top:0;transform:translateX(-50%);width:668px;height:622px}
.fan .tag{position:absolute;left:40px;top:35px;font-size:11px;color:#a07820;letter-spacing:.02em}
.fan-card{position:absolute;width:282px;height:174px;border-radius:18px;padding:20px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;justify-content:space-between}
.fan-card .row{display:flex;align-items:center;justify-content:space-between}
.fan-card .nm{font-size:27px;font-weight:400}
.fan-card .lbl{font-size:10px;font-weight:600}
.fan-card .wifi{width:22px;height:22px;flex:none}
.fan-card.navy{background:#173a70;left:84px;top:73px;transform:rotate(-11deg)}
.fan-card.green{background:#26b347;left:277px;top:120px;transform:rotate(13deg)}
.fan-card.dark{background:#222027;left:75px;top:282px;transform:rotate(-7deg)}
.fan-card.yellow{background:var(--c-yellow);left:315px;top:281px;transform:rotate(9deg)}
.fan-card.red{background:var(--c-red);left:197px;top:442px;transform:rotate(5deg)}
.fan-card.navy .nm,.fan-card.navy .lbl,
.fan-card.green .nm,.fan-card.green .lbl,
.fan-card.dark .nm,.fan-card.dark .lbl,
.fan-card.red .nm,.fan-card.red .lbl{color:#fff}
.fan-card.yellow .nm,.fan-card.yellow .lbl{color:var(--c-blue)}
@media (max-width:1024px){
  .split{flex-direction:column}
  .split-copy{width:auto;padding:40px}
  .split-art{flex:none;min-height:560px}
}
@media (max-width:720px){
  .feature{padding:40px 0}
  .split-copy{padding:28px}
  .split-art{min-height:0;height:auto}
  .fan{position:relative;left:auto;top:0;transform:none;zoom:.56;margin:24px auto}
}

/* ---------- barcode générique ---------- */
.bc{background:#fff;padding:4px 6px}
.bc::before{content:"";display:block;width:100%;height:100%;
  background:repeating-linear-gradient(90deg,var(--ink) 0 2px,#fff 2px 4px,var(--ink) 4px 5px,#fff 5px 9px,var(--ink) 9px 12px,#fff 12px 14px)}

/* ---------- Section "Comment ça marche" ---------- */
.how{padding:40px 0 96px}
.how-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:48px}
.how-head .h2{font-size:clamp(32px,4.4vw,56px);line-height:1.06;font-weight:400;letter-spacing:-.015em;margin:14px 0 0}
.how-head .aside{color:var(--muted);font-size:17px;line-height:1.5;max-width:260px;flex:none}
.steps{display:flex;gap:32px;align-items:flex-start}
.step{flex:1 1 0;display:flex;flex-direction:column;gap:24px;min-width:0}
.step-demo{background:var(--gold-soft);height:244px;border-radius:24px;display:flex;
  align-items:center;justify-content:center;overflow:hidden;position:relative}
.step-title{display:flex;align-items:center;gap:12px}
.step-num{width:30px;height:30px;border-radius:30px;background:var(--gold);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:12px;flex:none}
.step-title h3{margin:0;font-size:24px;font-weight:400}
.step>p{font-size:16px;line-height:1.6;color:var(--muted)}
/* démos */
.demo-scan{position:relative;width:274px;height:166px}
.demo-scan .mini{position:absolute;left:30px;top:22px;width:214px;background:#fff;border-radius:14px;
  padding:18px;display:flex;flex-direction:column;gap:14px}
.demo-scan .mini .nm{font-size:18px;font-weight:700;color:var(--ink)}
.demo-scan .frame{position:absolute;left:12px;top:0;width:250px;height:166px;border:2px solid var(--gold);border-radius:20px}
.demo-scan .line{position:absolute;left:0;top:91px;width:274px;height:2px;background:var(--gold)}
.demo-stack{position:relative;width:256px;height:194px}
.demo-stack .c{position:absolute;border-radius:18px;padding:20px;display:flex;flex-direction:column;
  justify-content:space-between;box-shadow:var(--shadow-card)}
.demo-stack .c .row{display:flex;align-items:center;justify-content:space-between}
.demo-stack .c .nm{font-size:27px;font-weight:400}.demo-stack .c .lbl{font-size:10px;font-weight:600}
.demo-stack .c .wifi{width:22px;height:22px}
.demo-stack .c1{left:16px;top:0;width:224px;height:100px;background:var(--c-yellow)}
.demo-stack .c1 .nm,.demo-stack .c1 .lbl{color:var(--c-blue)}
.demo-stack .c2{left:8px;top:42px;width:240px;height:106px;background:var(--c-blue)}
.demo-stack .c3{left:0;top:88px;width:256px;height:106px;background:var(--c-red)}
.demo-stack .c2 .nm,.demo-stack .c2 .lbl,.demo-stack .c3 .nm,.demo-stack .c3 .lbl{color:#fff}
.demo-ready{background:#fff;border-radius:20px;padding:22px;display:flex;flex-direction:column;
  align-items:center;gap:17px;width:248px}
.demo-ready .nm{font-size:19px;font-weight:700;color:var(--c-red)}
.demo-ready .ready{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--gold)}
.demo-ready .ready img{width:14px;height:14px}
@media (max-width:860px){
  .how{padding:24px 0 56px}
  .steps{flex-direction:column;align-items:center}
  .step{max-width:420px;width:100%}
  .how-head{flex-direction:column;align-items:flex-start}
  .how-head .aside{max-width:none}
}

/* ---------- Section "Naturellement Apple" ---------- */
.apple{padding:64px 0 80px}
.apple .intro{margin-bottom:40px}
.apple .intro .h2{font-size:clamp(32px,4.4vw,56px);line-height:1.06;font-weight:400;
  letter-spacing:-.015em;margin:14px 0 0}
.apple-row{display:flex;gap:24px;align-items:stretch}
.card-widgets{background:var(--gold-soft);border-radius:36px;padding:40px;flex:1 1 60%;
  min-height:540px;overflow:hidden;display:flex;flex-direction:column;gap:28px}
.card-watch{background:#fffbf0;border-radius:36px;padding:36px;flex:1 1 40%;
  min-height:540px;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:26px}
.panel-head .t{font-size:28px;color:var(--ink);margin:0 0 12px;line-height:1.1}
.panel-head p{font-size:16px;line-height:1.6;color:var(--muted);max-width:600px}
.card-watch .panel-head{width:100%}
.card-watch .panel-head .t{font-size:28px}

/* stage widgets */
.wstage{position:relative;width:696px;max-width:100%;height:350px;align-self:center}
.lockphone{position:absolute;left:62px;top:-30px;transform:rotate(-6deg)}
.lockphone .phone-screen{background:#f5dfa0}
.lock-body{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:24px;width:100%}
.lock-body .lk{width:22px;height:22px}
.lock-body .date{font-size:15px;font-weight:600;color:#5c3a00}
.lock-body .clock{font-size:70px;font-weight:400;color:#5c3a00;line-height:1}
.lock-chips{display:flex;gap:12px}
.lock-chips .ch{width:48px;height:48px;border:1.5px solid #5c3a00;border-radius:24px;
  display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#5c3a00}
.lock-notif{background:rgba(255,255,255,.79);border-radius:20px;padding:14px;width:100%;
  display:flex;flex-direction:column;gap:9px}
.lock-notif .src{display:flex;align-items:center;justify-content:space-between}
.lock-notif .src .a{color:var(--gold);font-size:10px}.lock-notif .src .b{color:var(--muted);font-size:9px}
.lock-notif .ti{color:var(--ink);font-size:13px}
.lock-notif .de{color:var(--muted);font-size:11px;line-height:1.5}
.wg-home{position:absolute;left:375px;top:85px;width:262px;background:#fff;border-radius:26px;
  padding:20px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--shadow-soft)}
.wg-home .id{display:flex;align-items:center;gap:8px}
.wg-home .id img{width:18px;height:18px}.wg-home .id span{color:var(--gold);font-size:13px}
.wg-favs{display:flex;gap:10px}
.wg-favs .f{flex:1;height:58px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:700;color:#fff}
.wg-favs .f.r{background:var(--c-red)}.wg-favs .f.b{background:var(--c-blue)}
.wg-favs .f.y{background:var(--c-yellow);color:var(--c-blue)}
.wg-home .cap{color:var(--muted);font-size:13px;line-height:1.5}

/* watch */
.watch{position:relative;width:230px;height:290px;flex:none}
.watch .band{position:absolute;left:63px;top:0;width:104px;height:290px;background:#ccc5d6;border-radius:28px}
.watch .crown{position:absolute;left:189px;top:94px;width:12px;height:26px;background:#77717b;border-radius:5px}
.watch .case{position:absolute;left:26px;top:53px;width:174px;height:202px;background:#464047;
  border:3px solid #8e8792;border-radius:45px;padding:8px}
.watch .screen{background:#141116;border-radius:36px;height:100%;padding:18px 14px 0;
  display:flex;flex-direction:column;align-items:center;gap:12px}
.watch .wt{font-size:12px;font-weight:600;color:#fff}
.watch .ws{font-size:18px;font-weight:700;color:#ff7775}
.watch .wc{color:#c2bac8;font-size:9px}

/* iCloud */
.icloud{border:1px solid #e5e0d9;border-radius:20px;padding:24px 32px;display:flex;
  align-items:center;gap:24px;margin-top:24px}
.icloud img{width:32px;height:32px;flex:none}
.icloud .t{font-size:21px;font-weight:600;color:var(--ink);width:310px;flex:none}
.icloud .d{font-size:16px;line-height:1.5;color:var(--muted);flex:1}
@media (max-width:1024px){
  .apple-row{flex-direction:column}
  .card-widgets,.card-watch{min-height:0}
  .wstage{height:360px}
}
@media (max-width:720px){
  .apple{padding:40px 0 56px}
  .card-widgets{padding:28px}
  .wstage{width:100%;height:auto;transform:none;margin:0;display:flex;justify-content:center}
  .wstage .lockphone{position:static;left:auto;top:auto;
    transform:rotate(-4deg) scale(.92);transform-origin:center top;margin-top:8px}
  .wstage .wg-home{display:none}
  .icloud{flex-direction:column;align-items:flex-start;gap:12px}
  .icloud .t{width:auto}
}

/* ---------- Section proximité ---------- */
.prox{background:#fff8ec}
.prox-in{display:flex;gap:80px;align-items:center;padding-top:72px;padding-bottom:72px}
.prox-copy{width:520px;flex:none;display:flex;flex-direction:column;gap:26px}
.prox-copy .h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06;font-weight:400;letter-spacing:-.015em;margin:0}
.prox-copy .lead{font-size:18px;line-height:1.6;color:var(--muted)}
.prox-copy .feat{display:flex;align-items:center;gap:10px;color:var(--gold);font-size:14px;font-weight:600}
.prox-copy .feat img{width:18px;height:18px}
.map{position:relative;flex:1 1 680px;height:520px;background:#f5e8c8;border-radius:36px;overflow:hidden}
.map .street{position:absolute;background:#fff8e8}
.map .s1{left:600px;top:-59px;width:22px;height:650px;transform:rotate(-18deg)}
.map .s2{left:290px;top:-60px;width:26px;height:650px;transform:rotate(-18deg)}
.map .s3{left:-72px;top:240px;width:800px;height:28px;transform:rotate(-25deg)}
.map .s4{left:-74px;top:284px;width:800px;height:28px;transform:rotate(22deg)}
.map .zone{position:absolute;left:210px;top:70px;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle,rgba(196,144,10,.28) 0%,rgba(196,144,10,.10) 45%,rgba(196,144,10,0) 70%)}
.map .ring{position:absolute;left:255px;top:115px;width:210px;height:210px;border-radius:50%;
  border:2px solid rgba(196,144,10,.35)}
.map .pos{position:absolute;left:220px;top:280px;width:22px;height:22px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 0 6px rgba(196,144,10,.22)}
.map .tag{position:absolute;left:28px;top:26px;font-size:10px;font-weight:600;color:#a07820;letter-spacing:.03em}
.map .store{position:absolute;left:301px;top:154px;width:116px;height:112px;background:#fff;border-radius:28px;
  box-shadow:var(--shadow-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.map .store img{width:37px;height:37px}
.map .store b{font-size:14px;font-weight:700;color:var(--ink)}
.map .notif{position:absolute;left:60px;top:345px;width:560px;max-width:calc(100% - 120px);
  background:rgba(255,255,255,.95);border-radius:24px;padding:24px;box-shadow:var(--shadow-soft);
  display:flex;flex-direction:column;gap:12px}
.map .notif .src{display:flex;align-items:center;justify-content:space-between}
.map .notif .app{display:flex;align-items:center;gap:8px}
.map .notif .app img{width:18px;height:18px}
.map .notif .app span{color:var(--gold);font-size:12px}
.map .notif .when{color:var(--muted);font-size:12px}
.map .notif .ti{color:var(--ink);font-size:20px}
.map .notif .de{color:var(--muted);font-size:14px;line-height:1.5}
@media (max-width:1024px){
  .prox-in{flex-direction:column;align-items:flex-start;gap:36px}
  .prox-copy{width:100%}
  .map{width:100%;flex:none}
}
@media (max-width:720px){
  .prox-in{padding-top:48px;padding-bottom:48px}
  .map{height:440px}
  .map .notif{padding:18px;gap:8px}
  .map .notif .ti{font-size:17px}
}

/* ---------- Section "Puce AI" (sombre) ---------- */
.puce{background:#2b220e}
.puce-in{display:flex;gap:90px;align-items:center;padding:88px 0}
.eyebrow.puce{color:#f5dfa0}.eyebrow.puce .dot{background:#f5dfa0}
.puce-art{position:relative;width:560px;height:620px;flex:none}
.puce-art .halo1{position:absolute;left:-35px;top:75px;width:580px;height:480px;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(245,223,160,.16) 0%,rgba(245,223,160,0) 62%)}
.puce-art .halo2{position:absolute;left:50px;top:120px;width:440px;height:390px;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(245,223,160,.20) 0%,rgba(245,223,160,0) 60%)}
.puce-phone{position:absolute;left:116px;top:-25px;transform:rotate(-5deg)}
.puce-head{display:flex;align-items:center;gap:9px}
.puce-head .av{width:24px;height:24px;border-radius:7px;overflow:hidden}
.puce-head .av img{width:100%;height:100%;object-fit:cover}
.puce-head .nm{font-size:24px;font-weight:700;color:var(--ink)}
.puce-welcome{background:var(--gold-soft);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:10px}
.puce-welcome .t{font-size:22px;color:var(--gold);line-height:1.2}
.puce-welcome .d{font-size:12px;color:var(--muted);line-height:1.5}
.puce-favlbl{font-size:13px;font-weight:600;color:var(--ink)}
.puce-fav{background:#fff;height:48px;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:space-between}
.puce-fav span{font-size:14px;font-weight:600;color:var(--ink)}
.puce-fav img{width:18px;height:18px}
.puce-explore{background:var(--gold);height:42px;border-radius:25px;display:flex;align-items:center;
  justify-content:center;color:#fff;font-size:12px;font-weight:600}
.puce-stack{display:flex;flex-direction:column;gap:18px;width:100%}
.puce-mascot{position:absolute;left:316px;top:250px;width:224px;height:224px;border-radius:48px;overflow:hidden;z-index:3}
.puce-mascot img{width:100%;height:100%;object-fit:cover}
.puce-sign{position:absolute;left:288px;top:490px;width:250px;height:72px;background:#f7e6b5;
  border-radius:22px;padding:20px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-soft);z-index:4}
.puce-sign .av{width:28px;height:28px;border-radius:7px;overflow:hidden;flex:none}
.puce-sign .av img{width:100%;height:100%;object-fit:cover}
.puce-sign .n{font-size:18px;color:#2b220e}
.puce-sign .s{font-size:12px;color:#2b220e}
.puce-copy{width:630px;flex:1 1 auto}
.puce-copy .h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06;font-weight:400;letter-spacing:-.015em;margin:0;color:#fff}
.puce-copy .lead{font-size:18px;line-height:1.6;color:#d4b87a}
.puce-list{width:100%}
.puce-row{display:flex;gap:18px;align-items:center;padding:20px 0;border-top:1px solid rgba(255,255,255,.11)}
.puce-row .ic{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.05);
  display:flex;align-items:center;justify-content:center;flex:none}
.puce-row .ic img{width:22px;height:22px}
.puce-row .ti{font-size:18px;font-weight:600;color:#fff}
.puce-row .de{font-size:14px;line-height:1.5;color:#d4b87a;margin-top:6px}
@media (max-width:1024px){
  .puce-in{flex-direction:column;gap:48px;padding:64px 0}
  .puce-copy{width:100%}
  .puce-art{align-self:center}
}
@media (max-width:640px){
  .puce-art{zoom:.6}
}

/* ---------- Section "La confiance, par défaut" ---------- */
.trust{padding:96px 0;display:flex;flex-direction:column;gap:48px}
.trust-top{display:flex;gap:100px;align-items:center}
.trust-copy{width:770px;flex:1 1 auto;display:flex;flex-direction:column;gap:24px}
.trust-copy .h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06;font-weight:400;letter-spacing:-.015em;margin:0}
.trust-copy .lead{font-size:18px;line-height:1.6;color:var(--muted)}
.trust-viz{width:350px;height:250px;position:relative;flex:none}
.trust-viz .halo{position:absolute;left:30px;top:0;width:250px;height:250px;border-radius:50%;
  background:radial-gradient(circle,rgba(68,99,72,.14) 0%,rgba(68,99,72,0) 65%)}
.trust-prot{position:absolute;left:88px;top:34px;width:146px;height:174px;background:#faf8f3;
  border:1px solid #ced9c2;border-radius:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.trust-prot img{width:67px;height:67px}
.trust-prot span{color:#446348;font-size:12px}
.trust-lock{position:absolute;left:214px;top:156px;width:52px;height:52px;background:#446348;
  border-radius:18px;display:flex;align-items:center;justify-content:center}
.trust-lock img{width:24px;height:24px}
.trust-cols{display:flex;gap:32px}
.trust-col{flex:1 1 0;border-top:1px solid #e5e0d9;padding-top:28px;display:flex;flex-direction:column;gap:16px;min-width:0}
.trust-col img{width:25px;height:25px}
.trust-col .t{font-size:21px;color:var(--ink)}
.trust-col .d{font-size:16px;line-height:1.6;color:var(--muted)}
.trust-link{display:inline-flex;align-items:center;gap:8px;color:var(--gold);font-size:14px;font-weight:600}
.trust-link img{width:17px;height:17px}
@media (max-width:980px){
  .trust{padding:56px 0;gap:36px}
  .trust-top{flex-direction:column;gap:40px;align-items:flex-start}
  .trust-copy{width:100%}
  .trust-cols{flex-direction:column;gap:0}
  .trust-col{padding:24px 0}
}

/* ---------- Section CTA finale ---------- */
.cta{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad) 40px}
.cta-box{background:var(--gold);border-radius:40px;min-height:500px;display:flex;gap:24px;
  align-items:center;overflow:hidden;padding-left:clamp(28px,5vw,64px);position:relative}
.cta-copy{width:670px;flex:none;display:flex;flex-direction:column;gap:26px;padding:40px 0;position:relative;z-index:2}
.cta-copy .h2{font-size:clamp(38px,5vw,62px);line-height:1.04;font-weight:400;letter-spacing:-.01em;color:#fff;margin:0}
.cta-copy .lead{font-size:19px;line-height:1.6;color:#eee7ff}
.btn-store.white{background:#fff;color:#725000;align-self:flex-start}
.cta-art{position:relative;width:580px;height:500px;flex:1 1 auto}
.cta-art .halo{position:absolute;left:45px;top:25px;width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 62%)}
.cta-card{position:absolute;width:300px;height:183px;border-radius:18px;padding:20px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;justify-content:space-between}
.cta-card .row{display:flex;align-items:center;justify-content:space-between}
.cta-card .nm{font-size:27px;font-weight:400}.cta-card .lbl{font-size:10px;font-weight:600}
.cta-card .wifi{width:22px;height:22px}
.cta-card.yellow{background:var(--c-yellow);left:115px;top:68px;transform:rotate(15deg)}
.cta-card.yellow .nm,.cta-card.yellow .lbl{color:var(--c-blue)}
.cta-card.red{background:var(--c-red);left:98px;top:152px;transform:rotate(-12deg)}
.cta-card.dark{background:var(--c-dark);left:174px;top:365px;transform:rotate(8deg)}
.cta-card.red .nm,.cta-card.red .lbl,.cta-card.dark .nm,.cta-card.dark .lbl{color:#fff}
@media (max-width:980px){
  .cta-box{flex-direction:column;padding:40px clamp(24px,5vw,40px)}
  .cta-copy{width:auto;padding:0}
  .cta-art{width:100%;height:380px}
}
@media (max-width:640px){
  .cta-art{zoom:.6}
}

/* ---------- Footer ---------- */
footer{background:var(--page)}
.foot{padding:40px 0 48px;display:flex;flex-direction:column;gap:32px}
.foot-brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.foot-id{display:flex;flex-direction:column;gap:14px}
.foot-id .top{display:flex;align-items:center;gap:10px}
.foot-badge{width:38px;height:38px;border-radius:11px;background:var(--gold);
  display:flex;align-items:center;justify-content:center}
.foot-badge img{width:23px;height:23px;filter:brightness(0) invert(1)}
.foot-id .nm{font-size:25px;font-weight:700;color:var(--ink)}
.foot-id .tag{font-size:14px;color:var(--muted)}
.foot-support{display:flex;flex-direction:column;gap:10px;align-items:flex-end;text-align:right}
.foot-support .q{font-size:14px;color:var(--muted)}
.foot-support a{font-size:17px;font-weight:600;color:var(--gold)}
.foot-sep{height:1px;background:#e5e0d9;width:100%}
.foot-block .lbl{font-size:11px;font-weight:600;color:#9e9891;letter-spacing:1px;
  text-transform:uppercase;margin-bottom:12px}
.pill-row{display:flex;flex-wrap:wrap;gap:8px}
.pill{background:#fff;border:1px solid #c4b87a;border-radius:999px;padding:6px 12px;
  font-size:13px;color:var(--muted);transition:border-color .15s,color .15s}
a.pill:hover{border-color:var(--gold);color:var(--gold)}
.pill.cur{border-color:var(--gold);color:var(--gold);font-weight:700}
.foot-legal{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}
.foot-legal .links{display:flex;gap:28px}
.foot-legal a:hover{color:var(--gold)}
.foot-fine{font-size:10px;color:var(--muted);line-height:1.5}
@media (max-width:720px){
  .foot-brand-row{flex-direction:column;align-items:flex-start;gap:20px}
  .foot-support{align-items:flex-start;text-align:left}
  .foot-legal{flex-direction:column;align-items:flex-start;gap:12px}
  .foot-legal .links{flex-wrap:wrap;gap:14px 28px}
}

/* Photo lifestyle dans la carte "widgets" */
.widgets-photo{width:100%;flex:1 1 auto;min-height:300px;border-radius:24px;overflow:hidden;display:block}
.widgets-photo img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:1024px){ .widgets-photo{min-height:260px} }
@media (max-width:720px){ .widgets-photo{min-height:220px} }

/* =========================================================
   Mode sombre (data-theme="dark" sur <html>)
   ========================================================= */
[data-theme="dark"]{
  --page:#17141a;
  --ink:#f1eee8;
  --muted:#a8a3ac;
  --line:#2d2a33;
  --cream:#201d25;
  --gold-soft:#2b2417;
  --gold-tint:#2b2417;
  --white:#201d25;
}
/* Les écrans/maquettes illustratifs restent "clairs" comme de vrais écrans */
[data-theme="dark"] .phone-screen,
[data-theme="dark"] .demo-scan,
[data-theme="dark"] .demo-stack,
[data-theme="dark"] .demo-ready,
[data-theme="dark"] .bc,
[data-theme="dark"] .barcode,
[data-theme="dark"] .chip-benefit,
[data-theme="dark"] .map{
  --ink:#222027;--muted:#716d79;--cream:#faf8f3;--line:#ece9e4;--gold-soft:#fff3d6;--white:#fff;
  color:#222027;
}
/* Surfaces à retourner explicitement (couleurs codées en dur) */
[data-theme="dark"] nav{background:rgba(23,20,26,.82)}
[data-theme="dark"] .mob{background:var(--page)}
[data-theme="dark"] .split{background:#201d25}
[data-theme="dark"] .card-watch{background:#201d25}
[data-theme="dark"] .trust-prot{background:#201d25;border-color:#36433a}
[data-theme="dark"] .prox{background:#1b1712}
[data-theme="dark"] .map{background:#2a2419}
[data-theme="dark"] .map .street{background:#3a3222}
[data-theme="dark"] .pill{background:#201d25}
[data-theme="dark"] .logos .sep,
[data-theme="dark"] .foot-sep{background:var(--line)}
[data-theme="dark"] .icloud{border-color:var(--line)}
[data-theme="dark"] .trust-col{border-top-color:var(--line)}
[data-theme="dark"] .trust-cols .trust-col{border-top-color:var(--line)}

/* Pills d'apparence (boutons) */
button.pill{font-family:inherit;line-height:normal;cursor:pointer}

/* Marge horizontale cohérente : rétablit le padding .wrap que les raccourcis
   « padding:Npx 0 » des sections écrasaient (sinon marge gauche=0 sur mobile) */
.hero.wrap,.logos.wrap,.feature.wrap,.how.wrap,.apple.wrap,.trust.wrap,
.prox-in.wrap,.puce-in.wrap,.foot.wrap{padding-left:var(--pad);padding-right:var(--pad)}

/* Bouton App Store blanc : assombrit la pomme (asset blanc -> invisible sinon) */
.btn-store.white .apple-ico{filter:brightness(0)}
.btn-store.white .play-ico{filter:brightness(0)}

/* ---------- Pages légales (chrome identique à la home) ---------- */
.legal-page{padding-bottom:64px}
.legal-hero{max-width:760px;margin:0 auto;padding:48px var(--pad) 8px}
.legal-hero h1{font-size:clamp(30px,5vw,46px);font-weight:400;letter-spacing:-.02em;color:var(--ink);margin:0 0 10px;line-height:1.08}
.legal-inner p{color:var(--muted);font-size:15px}
.legal-content{max-width:760px;margin:0 auto;padding:24px var(--pad) 40px}
.legal-content h2{font-size:22px;font-weight:600;margin:34px 0 10px;color:var(--ink)}
.legal-content h2:first-child{margin-top:0}
.legal-content p,.legal-content li{font-size:15px;line-height:1.75;color:var(--muted)}
.legal-content ul{margin:8px 0 8px 18px;padding-left:4px}
.legal-content li+li{margin-top:4px}
.legal-content a{color:var(--gold)}
.legal-content strong{color:var(--ink);font-weight:600}
