/* Version mobile StudioGifty : ajustements appliqués sous 820 px de large */
@media (max-width: 820px){
  html,body{overflow-x:clip}
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  [style*="max-width: 1200px"],[style*="max-width: 980px"],[style*="max-width: 820px"],[style*="max-width: 1100px"],[style*="max-width: 1280px"]{padding-left:18px!important;padding-right:18px!important}
  [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns: 300px 1fr"],[style*="grid-template-columns: 1fr 1.15fr"],[style*="grid-template-columns: 1.15fr 1fr"],[style*="grid-template-columns: 1.6fr"],[style*="grid-template-columns: 1.4fr 1fr"],[style*="grid-template-columns: 1.05fr"],[style*="grid-template-columns: 1fr 1fr"],[style*="grid-template-columns: 290px"],[style*="grid-template-columns: repeat(2"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="grid-template-columns: repeat(4"],[style*="grid-template-columns: repeat(5"],[style*="grid-template-columns: repeat(6"],[style*="grid-template-columns: repeat(8"],[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="position: sticky"]:not(header),[style*="grid-template-columns: 290px"]>*{position:static!important}
  [style*="flex: 1 1"]{flex-basis:100%!important;min-width:0!important;max-width:100%!important}
  [style*="display: flex"]>*,[style*="display: grid"]>*{min-width:0}
  [style*="grid-column: 1 / -1"]:not(.pill){flex-wrap:wrap!important}
  [style*="flex-wrap: nowrap"]:not(.scr){flex-wrap:wrap!important}
  [style*="white-space: nowrap"]:not(.b3d):not(button){white-space:normal!important}
  p,li,h1,h2,h3,span{overflow-wrap:anywhere}
  h1{font-size:34px!important;line-height:1.1!important}
  h2{font-size:28px!important;line-height:1.15!important}
  [style*="font-size: 58px"],[style*="font-size: 60px"],[style*="font-size: 64px"],[style*="font-size: 52px"],[style*="font-size: 50px"]{font-size:34px!important}
  [style*="padding: 50px 40px"],[style*="padding: 60px"],[style*="padding: 56px"],[style*="padding: 48px"]{padding:28px 20px!important}
  [style*="border-radius: 36px"],[style*="border-radius: 40px"]{border-radius:26px!important}
  [style*="gap: 60px"],[style*="gap: 56px"],[style*="gap: 48px"]{gap:28px!important}
  [style*="height: 560px"],[style*="height: 620px"],[style*="height: 600px"],[style*="height: 520px"],[style*="height: 500px"]{height:auto!important;min-height:340px}
  .scr{overflow-x:auto!important;touch-action:pan-x pan-y!important;scroll-snap-type:x mandatory}
  .scr>*{scroll-snap-align:start}
  .arw{display:none!important}

  /* ===== en-tête : barre en verre, puis 2 pilules au défilement ===== */
  .sg-root>div>[role="note"]:first-child,.topbar{position:relative!important;transform:none!important;opacity:1!important;font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 10px!important;letter-spacing:-.1px}
  header.glass{position:sticky!important;top:8px!important;margin:8px 10px 0!important;padding:6px!important;border-radius:999px!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:visible!important;flex-wrap:nowrap!important;gap:0!important;transform:none!important}
  header.glass::after{display:none!important}
  header.glass::before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;border-radius:999px;z-index:-1;background:rgba(255,255,255,.12)!important;-webkit-backdrop-filter:blur(12px) saturate(200%);backdrop-filter:blur(12px) saturate(200%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 1px 1px rgba(255,255,255,.9),0 6px 22px rgba(0,0,0,.08);transition:left .55s cubic-bezier(.2,.8,.2,1)}
  html.sg-mini header.glass::before{left:calc(100% - 100px)}
  header.glass>.logo,header.glass>a[href="/"]{padding:9px 16px;border-radius:999px;font-size:22px!important;line-height:1.2;transition:background .45s,box-shadow .45s,-webkit-backdrop-filter .45s}
  html.sg-mini header.glass>.logo,html.sg-mini header.glass>a[href="/"]{background:rgba(255,255,255,.12)!important;-webkit-backdrop-filter:blur(12px) saturate(200%);backdrop-filter:blur(12px) saturate(200%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 1px 1px rgba(255,255,255,.9),0 6px 22px rgba(0,0,0,.08)}
  header.glass>a[href="/panier"]{order:2;margin-left:auto;flex:none;position:relative;width:44px;height:44px;border-radius:999px;font-size:0!important;color:transparent!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 10V7a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center/23px no-repeat}
  header.glass>a[href="/panier"][data-n]:not([data-n="0"])::after{content:attr(data-n);position:absolute;top:5px;right:4px;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:var(--ac);color:#fff;font:600 10.5px/17px Inter,system-ui,sans-serif;text-align:center}
  header.glass .sg-burger{display:block!important;order:3;margin-left:0;color:var(--ac)}
  /* panneau du menu, même verre dépoli que la barre */
  header.glass>nav{display:flex!important;position:absolute!important;top:calc(100% + 10px);left:0;right:0;flex-direction:column;align-items:stretch!important;gap:0!important;padding:8px!important;border-radius:26px;background:rgba(255,255,255,.3)!important;-webkit-backdrop-filter:blur(26px) saturate(200%);backdrop-filter:blur(26px) saturate(200%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),inset 0 1px 1px rgba(255,255,255,.9),0 14px 40px rgba(0,0,0,.12);max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain;opacity:0;visibility:hidden;transform:translateY(-10px) scale(.97);transform-origin:top right;transition:opacity .25s ease,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s .45s}
  html.sg-menu header.glass>nav{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s}
  header.glass>nav>a,header.glass>nav .ddt{display:flex!important;justify-content:space-between;align-items:center;padding:14px 16px!important;font-size:17px!important;font-weight:500;color:#1A1A1A!important;text-decoration:none;border-radius:16px;-webkit-tap-highlight-color:transparent}
  header.glass>nav>a:active,header.glass>nav .ddt:active{background:color-mix(in srgb,var(--ac) 12%,transparent)}
  header.glass>nav>*{border-top:0!important;border-bottom:1px solid rgba(0,0,0,.06)}
  header.glass>nav>:last-child,header.glass>nav>a[href="/creer"]{border-bottom:0!important}
  header.glass>nav>a:not([href="/creer"]),header.glass>nav .ddt{border-radius:0}
  header.glass>nav>a[href="/creer"]{order:9;justify-content:center;margin:8px 0 2px;border:0!important;border-radius:999px;background:var(--ac);color:#fff!important;font-weight:600;box-shadow:0 6px 16px color-mix(in srgb,var(--ac) 28%,transparent)}
  header.glass .dd{display:block!important}
  header.glass .dd::after{display:none!important}
  header.glass .dd:hover .ddt svg,header.glass .dd:focus-within .ddt svg{transform:none}
  header.glass .dd.on .ddt svg{transform:rotate(180deg)}
  header.glass .ddp{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;min-width:0!important;margin:0!important;padding:0 8px!important;background:transparent!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;transform:none!important;max-height:0;overflow:hidden;transition:max-height .45s cubic-bezier(.2,.8,.2,1),padding .35s cubic-bezier(.2,.8,.2,1)}
  header.glass .dd.on .ddp{max-height:640px;padding:2px 8px 12px!important}
  header.glass .ddp a{padding:11px 12px!important;font-size:14.5px;white-space:normal!important;background:rgba(255,255,255,.35);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);border-radius:14px}
  header.glass .ddp .all{border-top:0!important;margin-top:0!important;background:color-mix(in srgb,var(--ac) 10%,#fff)}
  header.glass .mm{display:none!important}
  header.glass>ol[aria-label="Étapes"],header.glass>ol[aria-label="Étapes"]+span{display:none!important}
  html::after{content:"";position:fixed;left:0;right:0;top:-25vh;bottom:-25vh;z-index:39;background:rgba(30,10,20,.18);opacity:0;pointer-events:none;transition:opacity .35s}
  html.sg-menu::after{opacity:1}

  /* ===== boutons, pastilles, teintes ===== */
  [style*="display: flex"]:has(>.b3d){flex-wrap:wrap!important}
  .b3d{flex:none!important;min-width:auto!important;max-width:100%;box-sizing:border-box;white-space:nowrap!important;box-shadow:0 4px 12px color-mix(in srgb,var(--ac) 22%,transparent),0 1px 3px rgba(0,0,0,.08)!important}
  .pill{white-space:normal!important;align-items:center!important;padding:8px 12px!important;font-size:12.5px!important;line-height:1.3;border-radius:22px!important;background:color-mix(in srgb,var(--ac) 11%,#FFFFFF)!important;border-color:color-mix(in srgb,var(--ac) 30%,#FFFFFF)!important}
  .pill>svg{flex:none}
  [style*="border-radius: 22px"],[style*="border-radius: 24px"],[style*="border-radius: 26px"],[style*="border-radius: 28px"]{border-radius:20px!important}
  [style*="background: color-mix(in srgb, var(--ac) 4%, #FFFFFF)"]{background:color-mix(in srgb,var(--ac) 9%,#FFFFFF)!important}
  [style*="background: color-mix(in srgb, var(--ac) 5%, #FFFFFF)"]{background:color-mix(in srgb,var(--ac) 10%,#FFFFFF)!important}
  [style*="background: color-mix(in srgb, var(--ac) 6%, #FFFFFF)"]{background:color-mix(in srgb,var(--ac) 12%,#FFFFFF)!important}
  [style*="background: color-mix(in srgb, var(--ac) 7%, #FFFFFF)"]{background:color-mix(in srgb,var(--ac) 13%,#FFFFFF)!important}
  [style*="background: color-mix(in srgb, var(--ac) 8%, #FFFFFF)"]{background:color-mix(in srgb,var(--ac) 14%,#FFFFFF)!important}

  /* ===== accueil : visuel en haut, avis, avantages, bouton ===== */
  section:has(>.hero){padding:18px 14px 36px!important;gap:20px!important}
  section:has(>.hero)>.hero{order:2;height:auto!important;aspect-ratio:4/3;min-height:0!important;max-height:none;flex:none!important;width:100%;border-radius:22px!important;background-size:cover!important;background-position:50% 40%!important}
  section:has(>.hero)>div:first-child{gap:16px!important}
  section:has(>.hero) h1>span{margin-bottom:12px!important}
  section:has(>.hero) p{font-size:15.5px!important}
  section:has(>.hero)>div:first-child>div{display:contents!important}
  section:has(>.hero) a[href="#avis"]{order:2;flex-direction:row!important;align-items:center;gap:8px!important}
  section:has(>.hero) a[href="#avis"]>span:first-child{font-size:14px!important}
  section:has(>.hero) ul{order:3;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0!important;gap:8px!important}
  section:has(>.hero) a.b3d{order:1;display:block;text-align:center;padding:13px 20px!important;font-size:15px!important}

  /* les plus offerts : cartes plus carrées, 2 par écran */
  #offerts{padding-bottom:44px!important}
  #offerts .scr{scroll-padding-left:18px}
  #offerts .scr>div{gap:12px!important;padding:6px 12px 6px 0!important}
  #offerts .card{width:calc(50vw - 24px)!important;gap:8px!important;scroll-snap-align:start}
  #offerts .card .im{height:calc(57vw - 27px)!important;border-radius:18px!important}
  #offerts .scr{overflow:hidden!important;touch-action:pan-y!important;scroll-snap-type:none!important}
  #offerts .go::after{display:none!important}
  #offerts .go{background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;will-change:auto!important;transform:none!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;left:8px!important;right:8px!important;bottom:8px!important;padding:7px!important;font-size:11.5px!important}
  #offerts .card h3{font-size:13.5px!important}
  #offerts .card>div:not(.im){flex-wrap:wrap;gap:2px!important}
  #offerts .card>div:not(.im)>span,#offerts .card>span{font-size:12.5px!important}

  /* et vous, quelle est votre idée */
  section[aria-labelledby="titre-idee"]{padding:44px 14px 104px!important}
  #titre-idee{font-size:27px!important}
  section[aria-labelledby="titre-idee"] p{font-size:14.5px!important}
  .dock{margin:-78px auto 36px!important;padding:0 30px!important}
  .dockin{padding:5px 5px 5px 16px!important;gap:6px!important;flex-wrap:nowrap!important}
  .dockin>span{display:flex!important;justify-content:flex-end;overflow:hidden;white-space:nowrap;min-width:0;font-size:15px!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16px);mask-image:linear-gradient(90deg,transparent,#000 16px)}
  .dockin:focus-within>span,.dockin>span:has(.dki:not(:placeholder-shown)){-webkit-mask-image:none!important;mask-image:none!important}
  .dockin>span>*{flex:none;white-space:nowrap}
  .dockin>span::after{content:"";flex:1 1 0}
  .dockin>button{width:40px!important;height:40px!important;flex:none}
  .dockin>a.b3d{padding:11px 18px!important;font-size:14px!important;flex:none}

  /* comment ça marche + engagements : défilement horizontal */
  section:is(#comment,[aria-labelledby="comment"]){padding:52px 0 14px!important}
  section:is(#comment,[aria-labelledby="comment"])>.reveal{margin-bottom:20px!important;padding:0 18px}
  section:is(#comment,[aria-labelledby="comment"])>div[style*="repeat(3"]{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding:4px 18px 8px;scroll-padding:0 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  section:is(#comment,[aria-labelledby="comment"])>div[style*="repeat(3"]::-webkit-scrollbar,section[aria-label="Nos engagements"]>div::-webkit-scrollbar{display:none}
  section:is(#comment,[aria-labelledby="comment"])>div[style*="repeat(3"]>div{flex:0 0 68%!important;padding:14px!important;gap:12px!important;scroll-snap-align:start}
  section:is(#comment,[aria-labelledby="comment"])>div[style*="repeat(3"]>div>div[aria-hidden]{height:150px!important}
  section:is(#comment,[aria-labelledby="comment"])>div[style*="repeat(3"]>div>div[aria-hidden]>*{zoom:.8}
  section:is(#comment,[aria-labelledby="comment"]) h3{font-size:16.5px!important}
  section:is(#comment,[aria-labelledby="comment"])>div p{font-size:13.5px!important;line-height:1.5!important}
  section:is(#comment,[aria-labelledby="comment"])>div>div>div>span:first-child{font-size:18px!important}
  section[aria-label="Nos engagements"]{padding:10px 0 44px!important}
  section[aria-label="Nos engagements"]>div{display:flex!important;overflow-x:auto;gap:10px!important;padding:2px 18px 6px;scroll-snap-type:none;scroll-behavior:auto;scrollbar-width:none}
  section[aria-label="Nos engagements"]>div>div{flex:0 0 auto!important;padding:12px 16px!important;gap:10px!important;border-radius:18px!important;white-space:nowrap}
  section[aria-label="Nos engagements"]>div>div>span{font-size:12.5px!important;white-space:nowrap!important}
  section[aria-label="Nos engagements"]>div>div strong{font-size:13.5px!important}

  /* témoignages : titre + note sur 2 lignes, cartes plus petites */
  #avis{padding:44px 18px!important}
  #avis>div>.reveal{margin-bottom:14px!important;gap:6px!important}
  #avis>div>.reveal>span{flex:none!important;flex-wrap:nowrap!important;white-space:nowrap!important;font-size:13px!important;gap:6px!important}
  #avis>div>.reveal>span>span:first-child{font-size:15px!important}
  #avis .rvz{margin:0 -18px!important;padding:6px 0 14px!important;touch-action:pan-y}
  #avis>div>div[style*="repeat(3"]::-webkit-scrollbar{display:none}
  #avis .rvt{gap:12px!important;padding:0 12px 0 0!important}
  #avis>div:has(>div[style*="repeat(3"]){overflow:hidden;margin:0 -18px!important;padding:0!important;touch-action:pan-y}
  #avis>div:has(>div[style*="repeat(3"])>.reveal{padding:0 18px}
  #avis>div>div[style*="repeat(3"]{display:flex!important;width:max-content;gap:12px!important;margin:0!important;padding:6px 12px 14px 0!important;will-change:transform}
  #avis figure{flex:none!important;scroll-snap-align:start;width:260px!important;height:300px;min-height:0!important;box-sizing:border-box;padding:14px 10px 16px!important;border-radius:20px!important;gap:10px!important;cursor:pointer}
  #avis figure blockquote{font-size:14px!important;line-height:1.5!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden;padding:0 12px!important}
  #avis figure figcaption{margin-top:auto!important;padding:0 12px!important}
  #avis figure>span:first-child{padding-left:12px}
  #avis figure>span:first-child>span:last-child{width:44px!important;height:56px!important}
  #avis figure>span:first-child>span:first-child{font-size:15px!important}
  #avis figure::after{content:"Lire plus";align-self:flex-start;margin:0 12px;padding:6px 14px;border-radius:999px;background:color-mix(in srgb,var(--ac) 10%,#FFFFFF);color:var(--ac);font:600 12.5px Inter,system-ui,sans-serif}
  /* rappel final */
  section[aria-label="Commencer"]{padding:26px 14px!important}
  section[aria-label="Commencer"]>div{padding:34px 22px 26px!important;border-radius:26px!important;gap:12px!important;background:linear-gradient(155deg,color-mix(in srgb,var(--ac) 20%,#FFFFFF),color-mix(in srgb,var(--ac) 6%,#FFFFFF))!important;border:1px solid color-mix(in srgb,var(--ac) 18%,#FFFFFF);box-shadow:0 14px 34px color-mix(in srgb,var(--ac) 16%,transparent)}
  section[aria-label="Commencer"] h2{display:block!important;font-size:30px!important}
  section[aria-label="Commencer"] h2 svg{display:inline-block;vertical-align:-5px;width:28px;height:28px;margin-left:6px}
  section[aria-label="Commencer"] p{font-size:14.5px!important}
  section[aria-label="Commencer"] a.b3d{align-self:stretch;text-align:center;padding:13px 20px!important;margin-top:6px;font-size:15px!important}

  /* FAQ : 4 questions, puis « Lire plus » */
  .faq{padding:16px 18px 36px!important}
  .faq details{padding:15px 0!important}
  .faq summary{font-size:15.5px!important;align-items:center}
  .faq p{font-size:14px!important}
  .faq details:nth-of-type(n+5){display:none}
  html.sg-faq .faq details:nth-of-type(n+5){display:block}
  .sg-faqmore{display:flex!important;align-items:center;gap:6px;margin:18px auto 0;padding:11px 22px;border-radius:999px;border:1px solid color-mix(in srgb,var(--ac) 30%,#FFFFFF);background:color-mix(in srgb,var(--ac) 9%,#FFFFFF);color:var(--ac);font:600 14px Inter,system-ui,sans-serif;cursor:pointer}

  /* boutique + idées : 3 par ligne, images plus courtes */
  [style*="display: grid"]:has(>.tile){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
  .tile{gap:5px!important}
  .tile .im{height:calc((100vw - 56px) / 3 * 1.3)!important;border-radius:14px!important}
  .tile>span{font-size:12.5px!important;line-height:1.25}
  .tile>span+span{font-size:11.5px!important;margin-top:-2px!important}
  [style*="display: grid"]:has(>.card .go){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
  [style*="display: grid"]>.card:has(.go){gap:5px!important}
  [style*="display: grid"]>.card:has(.go) .im{height:calc((100vw - 56px) / 3 * 1.3)!important;border-radius:14px!important}
  [style*="display: grid"]>.card:has(.go) .go{display:none!important}
  [style*="display: grid"]>.card:has(.go) h3{font-size:13px!important;line-height:1.25}
  [style*="display: grid"]>.card:has(.go)>span{font-size:11.5px!important;margin-top:-2px!important}
  html.sg-idees [style*="display: grid"]:has(>.card){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
  html.sg-idees .card{gap:5px!important}
  html.sg-idees .card .im{height:calc((100vw - 56px) / 3 * 1.3)!important;border-radius:14px!important}
  html.sg-idees .card .im .glass{left:6px!important;top:6px!important;padding:3px 7px!important;font-size:10px!important}
  html.sg-idees .card h3,html.sg-idees .card strong,html.sg-idees .card h3 a{font-size:13px!important;line-height:1.25}
  html.sg-idees .card>p,html.sg-idees .card>span:last-child:not(:first-child){display:none!important}
  html.sg-idees .card>div:not(.im){flex-direction:column!important;gap:1px!important}
  html.sg-idees .card span{font-size:11.5px!important}
  /* sections image + texte côte à côte : empilées */
  section[style*="flex-direction: row"]{flex-direction:column!important;align-items:stretch!important;gap:22px!important}
  section[style*="flex-direction: row"]>.card,section[style*="flex-direction: row"]>div{flex:none!important;width:100%}
  .card>.im[style*="height: 4"],.card>.im[style*="height: 3"],a.card>div.im[style*="height: 4"]{height:62vw!important;max-height:340px}
  .card h3[style*="font-size: 28px"]{font-size:22px!important}
  /* les 3 points « finitions » : défilement horizontal compact */
  section[aria-labelledby="matiere"]{padding-left:0!important;padding-right:0!important}
  section[aria-labelledby="matiere"]>div>.reveal{padding:0 18px;margin-bottom:20px!important}
  section[aria-labelledby="matiere"]>div>div[style*="repeat(3"]{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding:4px 18px 8px;scroll-padding:0 18px;scrollbar-width:none}
  section[aria-labelledby="matiere"]>div>div[style*="repeat(3"]::-webkit-scrollbar{display:none}
  section[aria-labelledby="matiere"]>div>div[style*="repeat(3"]>div{flex:0 0 68%!important;gap:8px!important;scroll-snap-align:start}
  section[aria-labelledby="matiere"] [role="img"]{height:150px!important;border-radius:18px!important}
  section[aria-labelledby="matiere"] h3{font-size:16.5px!important}
  section[aria-labelledby="matiere"] p{font-size:13.5px!important;line-height:1.5!important}
  /* « ça nous tient à cœur » : même ligne compacte que les engagements de l'accueil */
  section[aria-labelledby="promesse"]{padding:40px 0!important}
  section[aria-labelledby="promesse"]>div{gap:18px!important;padding:0!important}
  section[aria-labelledby="promesse"] h2{padding:0 18px}
  section[aria-labelledby="promesse"] [style*="repeat(4"]{display:flex!important;overflow-x:auto;gap:10px!important;padding:2px 18px 6px;box-sizing:border-box;scrollbar-width:none}
  section[aria-labelledby="promesse"] [style*="repeat(4"]::-webkit-scrollbar{display:none}
  section[aria-labelledby="promesse"] [style*="repeat(4"]>div{flex:0 0 230px!important;display:grid!important;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:2px!important;align-items:center;text-align:left;padding:12px 14px!important;border-radius:18px;border:1px solid #EDEDED;background:#FFFFFF;box-sizing:border-box}
  section[aria-labelledby="promesse"] [style*="repeat(4"]>div>span:first-child{grid-row:1 / 3;width:40px!important;height:40px!important}
  section[aria-labelledby="promesse"] [style*="repeat(4"]>div>span:first-child svg{width:20px;height:20px}
  section[aria-labelledby="promesse"] [style*="repeat(4"] strong{font-size:13.5px!important}
  section[aria-labelledby="promesse"] [style*="repeat(4"]>div>span:last-child{font-size:12px!important;line-height:1.35!important}
  /* textes longs : 3 lignes puis « Lire la suite » au toucher */
  section[aria-label="L'émotion"]{gap:26px!important}
  section[aria-label="L'émotion"] h2,section[aria-labelledby="pourquoi"] h2{font-size:24px!important}
  section[aria-label="L'émotion"] p,section[aria-labelledby="pourquoi"] p{font-size:14.5px!important;line-height:1.6!important}
  /* articles du blog : vignette à gauche, texte à droite */
  a.card[href^="/blog/"]{display:grid!important;grid-template-columns:110px minmax(0,1fr);grid-auto-rows:min-content;column-gap:14px;row-gap:3px!important;align-content:center;text-align:left!important}
  a.card[href^="/blog/"]>.im{grid-row:1 / span 4;height:120px!important;border-radius:16px!important;align-self:start}
  a.card[href^="/blog/"]>strong,a.card[href^="/blog/"]>h3{font-size:16px!important;line-height:1.25!important}
  a.card[href^="/blog/"]>span:first-of-type{font-size:10.5px!important}
  a.card[href^="/blog/"]>span:last-child:not(:first-of-type){font-size:12.5px!important;line-height:1.4!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  a.card[href^="/blog/"]>p{font-size:12.5px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0!important}
  /* fiches produit : vignettes sur 4 colonnes, galerie limitée à 9 idées */
  [style*="display: grid"]:has(>.opt.ph){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  .opt.ph{height:62px!important;border-radius:12px!important}
  [style*="display: grid"]>.card:has(.go):nth-child(n+10){display:none!important}
  /* exemples : jamais une image seule sur la dernière ligne */
  [style*="display: grid"]:has(>.card .go):has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="display: grid"]:has(>.card .go):has(>:nth-child(4):last-child)>.card .im{height:calc((100vw - 46px) / 2 * 0.95)!important}
  [style*="display: grid"]:has(>.card .go):not(:has(>:nth-child(4):last-child))>.card:nth-child(3n+1):last-child,
  [style*="display: grid"]:has(>.card .go):not(:has(>:nth-child(4):last-child))>.card:nth-child(3n+1):nth-last-child(2),
  [style*="display: grid"]:has(>.card .go):not(:has(>:nth-child(4):last-child))>.card:nth-child(3n+1):nth-last-child(2)+.card{display:none!important}
  /* idées dans les articles : vignette à gauche, texte à droite */
  [style*="grid-template-columns: 300px 1fr"]:has(>[role="img"]:first-child){grid-template-columns:104px minmax(0,1fr)!important;gap:14px!important;padding:12px!important;border-radius:20px!important}
  [style*="grid-template-columns: 300px 1fr"]>[role="img"]:first-child{height:136px!important;border-radius:14px!important}
  [style*="grid-template-columns: 300px 1fr"] h3{font-size:16px!important;line-height:1.3}
  [style*="grid-template-columns: 300px 1fr"] p{font-size:14px!important;line-height:1.55!important}
  [style*="grid-template-columns: 300px 1fr"] .b3d{padding:10px 18px!important;font-size:13.5px!important}
  [style*="font-size: 17px; line-height: 1.75"]{font-size:15.5px!important;line-height:1.65!important}
  /* espacements des sections alignés sur l'accueil */
  [style*="padding: 70px"],[style*="padding: 80px"],[style*="padding: 90px"],[style*="padding: 96px"],[style*="padding: 100px"],[style*="padding: 110px"]{padding-top:44px!important}
  [style*="px 40px 70px"],[style*="px 40px 80px"],[style*="px 40px 90px"],[style*="px 40px 96px"],[style*="px 40px 100px"],[style*="px 40px 110px"],[style*="padding: 80px 40px;"],[style*="padding: 90px 40px;"],[style*="padding: 96px 40px;"],[style*="padding: 100px 40px;"],[style$="padding: 80px 40px"],[style$="padding: 90px 40px"],[style$="padding: 96px 40px"],[style$="padding: 100px 40px"]{padding-bottom:44px!important}
  [style*="margin: 0 0 26px"],[style*="margin-bottom: 44px"]{margin-bottom:18px!important}
  .opt:not(.ph){color:#1A1A1A!important}
  .opt:not(.ph)[aria-pressed="true"]{background:color-mix(in srgb,var(--ac) 11%,#FFFFFF)!important;color:var(--ac)!important}
  /* pied de page compact, rubriques repliables */
  .ft{border-radius:28px 28px 0 0!important}
  .ft>div:first-child{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:28px 18px 4px!important}
  .ft>div:first-child>div:first-child{padding-bottom:16px}
  .ft>div:first-child>:nth-child(n+2){gap:0!important;border-top:1px solid rgba(0,0,0,.07);margin:0!important}
  .ft>div:first-child>:nth-child(n+2)>strong{display:flex;justify-content:space-between;align-items:center;padding:14px 4px;margin:0!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .ft>div:first-child>:nth-child(n+2)>strong::after{content:"";width:7px;height:7px;border-right:2px solid;border-bottom:2px solid;transform:translateY(-2px) rotate(45deg);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .ft>div:first-child>.on>strong::after{transform:translateY(2px) rotate(-135deg)}
  .ft>div:first-child>:nth-child(n+2)>:not(strong){max-height:0;opacity:0;overflow:hidden;padding:0 4px!important;margin:0!important;transition:max-height .4s cubic-bezier(.2,.8,.2,1),opacity .3s,padding .3s}
  .ft>div:first-child>.on>:not(strong){max-height:60px;opacity:1;padding:7px 4px!important}
  .ft>div:first-child>.on>:last-child{padding-bottom:14px!important}
  .ft button{white-space:nowrap!important;padding:10px 14px!important}
  .ft a[href^="tel:"]{display:none!important}
  .ft>div:nth-child(2){padding:14px 18px 22px!important;gap:10px!important;justify-content:center!important;text-align:center;font-size:11.5px!important}
  .ft>div:nth-child(2) nav{gap:12px!important;justify-content:center}

  [style*="padding: 12px 12px 12px 22px"]{flex-wrap:wrap!important;padding:16px!important}
  [style*="padding: 12px 12px 12px 22px"]>div:first-child{flex:1 1 100%!important}
  /* atelier : aperçu, puis discussion, puis choix du produit */
  main>section[aria-label="Aperçu"]{order:1!important;height:auto!important}
  main>section[aria-label="Aperçu"]>[role="img"]{min-height:360px;aspect-ratio:4/5;height:auto!important}
  main>section[aria-label="Discussion avec l'assistant"]{order:2!important;height:72vh!important;min-height:480px}
  main>section[aria-label="Choix du produit"]{order:3!important;height:auto!important;overflow:visible!important}
  .dock{bottom:10px!important;left:10px;right:10px}
  input,select,textarea{font-size:16px!important}
  table{display:table!important;width:100%;font-size:13px!important}
  table th,table td{padding:9px 2px!important;white-space:nowrap;font-size:12.5px!important}
}
.sg-burger{display:none;position:relative;flex:none;width:44px;height:44px;border-radius:999px;border:0;background:transparent;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.sg-burger i{position:absolute;left:12px;right:12px;height:2.2px;border-radius:2px;background:currentColor;transition:transform .4s cubic-bezier(.2,.8,.2,1),opacity .25s}
.sg-burger i:nth-child(1){top:15px}.sg-burger i:nth-child(2){top:21px}.sg-burger i:nth-child(3){top:27px}
html.sg-menu .sg-burger i:nth-child(1){transform:translateY(6px) rotate(45deg)}
html.sg-menu .sg-burger i:nth-child(2){opacity:0;transform:scaleX(.2)}
html.sg-menu .sg-burger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.sg-faqmore{display:none}

button{color:inherit}
/* fenêtre « avis complet » */
.sg-pop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(30,10,20,.28);opacity:0;transition:opacity .3s}
.sg-pop.on{opacity:1}
.sg-pop>div{position:relative;width:100%;max-width:420px;max-height:80vh;overflow:auto;box-sizing:border-box;padding:26px 22px 22px;border-radius:26px;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),0 24px 60px rgba(0,0,0,.18);font:15px/1.6 Inter,system-ui,sans-serif;color:#1A1A1A;transform:translateY(16px) scale(.96);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.sg-pop.on>div{transform:none}
.sg-pop blockquote{margin:12px 0 16px;font-size:16px;line-height:1.6}
.sg-pop button{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:999px;border:0;background:rgba(0,0,0,.05);font-size:20px;line-height:1;cursor:pointer;color:#1A1A1A
}
@media (max-width: 820px){
  /* 01/12 studio mobile : récap + panier sous la sélection, choix 2 par ligne, place pour la pilule */
  main:has(>section[aria-label="Aperçu"]){padding-bottom:110px!important}
  main>section[aria-label="Aperçu"]{display:contents!important}
  main>section[aria-label="Aperçu"]>*{order:1}
  main>section[aria-label="Aperçu"]>div:last-child{order:4!important;flex-wrap:wrap}
  main>section[aria-label="Choix du produit"] div[style*="flex-wrap: wrap"]:has(>.opt){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  main>section[aria-label="Choix du produit"] div[style*="flex-wrap: wrap"]>.opt{width:100%;text-align:center;justify-content:center}
  main>section[aria-label="Choix du produit"] div[style*="grid-template-columns: repeat(2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Engagements (#avis) sur mobile : liste compacte, une ligne par engagement */
@media (max-width:820px){
  #avis h2{font-size:30px!important;line-height:1.15!important}
  #avis>div>div[style*="repeat(4"]{grid-template-columns:1fr!important;gap:10px!important}
  #avis>div>div[style*="repeat(4"]>div{display:grid!important;grid-template-columns:40px minmax(0,1fr);column-gap:14px;row-gap:3px!important;padding:16px 18px!important;border-radius:20px!important;align-items:start}
  #avis>div>div[style*="repeat(4"]>div>span[aria-hidden]{grid-row:1/3;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--ac) 10%,#fff);display:flex;align-items:center;justify-content:center;font-size:16px!important}
  #avis>div>div[style*="repeat(4"]>div>strong{font-size:16px!important;line-height:1.3;padding-top:2px}
  #avis>div>div[style*="repeat(4"]>div>span:last-child{font-size:14px!important;line-height:1.5!important}
}

/* Studio mobile : barre de l'aperçu sur une ligne, mention de zone masquée, suggestions en ligne défilante */
@media (max-width:820px){
  .pvlab{white-space:nowrap!important;font-size:12.5px!important;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .pvbar{flex:none!important;gap:4px!important}
  .pvbar button{white-space:nowrap!important;padding:6px 9px!important;font-size:12px!important;flex:none!important}
  .pvbar .sw{flex:none}
  .zlab{display:none!important}
  .chipsrow{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;margin:0 -4px;padding:0 4px 2px}
  .chipsrow::-webkit-scrollbar{display:none}
  .chipsrow .chip{flex:none;white-space:nowrap}
}

/* Aperçu du studio : pleine largeur sur iPhone (Safari calculait la largeur depuis la hauteur mini + ratio 4/5) */
@media (max-width:820px){
  main>section[aria-label="Aperçu"]>[role="img"],main>section[aria-label="Aperçu"] .cq{width:100%!important;max-width:none!important;align-self:stretch!important;justify-self:stretch!important;box-sizing:border-box}
}
/* 05/12 : panier mobile (vignette + texte, prix dessous), onglets du pop-up boutique */
@media (max-width: 820px){
  .cline{grid-template-columns:84px minmax(0,1fr)!important;gap:4px 14px!important;padding:12px!important;align-items:start!important}
  .cline>.ph{grid-row:1 / span 2;height:104px!important}
  .cline>strong:last-child{grid-column:2;font-size:16px!important}
  .cline span:has(>.qbtn){flex-wrap:wrap;row-gap:6px}
  .cline .cedit{white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important;margin-left:6px!important}
  .stepsnav{flex-wrap:nowrap!important;gap:4px!important}
  .stepsnav>span{flex:1 1 auto;text-align:center;white-space:nowrap!important;overflow-wrap:normal!important;padding:6px 7px!important;font-size:11px!important}
  .dockin>.dkf{cursor:pointer}
}
/* mode économie d'énergie : plus de flou en direct ni d'animation en boucle pendant le défilement */
html.sg-lite *,html.sg-lite *::before,html.sg-lite *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.sg-lite .glass,html.sg-lite header.glass::before,html.sg-lite #sgnav,html.sg-lite header.glass>nav,html.sg-lite.sg-mini header.glass>.logo,html.sg-lite.sg-mini header.glass>a[href="/"]{background:rgba(255,255,255,.95)!important}
html.sg-lite .sgtk,html.sg-lite .hv-sw,html.sg-lite .hv-ring,html.sg-lite .hv-ai svg,html.sg-lite .hv-sp,html.sg-lite .hv-old,html.sg-lite .hv-dots,html.sg-lite .hv-lb b,html.sg-lite .hv-m,html.sg-lite .caret,html.sg-lite .reveal,html.sg-lite .dockin{animation:none!important}
html.sg-lite .dock,html.sg-lite .topbar,html.sg-lite header.glass,html.sg-lite .sgtk{will-change:auto!important}
html.sg-lite .reveal{opacity:1!important;transform:none!important}
/* Safari : la bulle de droite (panier + menu) restait vide sur l'accueil */
@media (max-width: 820px){
  header.glass{will-change:auto!important;isolation:isolate}
  header.glass>:not(nav){position:relative;z-index:1}
}
html.sg-lite .hv-w *{animation:none!important}html.sg-lite .hv-old{opacity:0!important}html.sg-lite .hv-m{opacity:1!important}html.sg-lite .hv-p{opacity:.8!important}
/* en-tête sans panier ni menu (page panier) : pas de bulle vide en haut à droite */
@media (max-width: 820px){html.sg-mini header.glass:not(:has(.sg-burger)):not(:has(>a[href="/panier"]))::before{opacity:0!important}}
