/* Base visuelle du storefront Duka360. Ne contient AUCUNE couleur/rayon en dur :
   tout vient des variables --bg/--surface/--ink/--muted/--line/--primary/--secondary/--accent
   et --radius-sm/md/lg injectées par ThemeCssBuilder dans <head>. */

:root{
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
html{scroll-padding-top:env(safe-area-inset-top,0px); scroll-behavior:smooth;}
*{box-sizing:border-box;}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--font-body); line-height:1.5; -webkit-font-smoothing:antialiased;}
h1,h2,h3,.brand{font-family:var(--font-display); font-weight:500; letter-spacing:-.01em;}
a{color:inherit;}
.wrap{max-width:1120px; margin:0 auto; padding:0 20px;}
img,svg{max-width:100%;}
.scrollx{overflow-x:auto; -webkit-overflow-scrolling:touch;}
.ic,.ic-lg,.ic-sm{fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; display:inline-block; vertical-align:-3px;}
.ic{width:16px; height:16px;}
.ic-lg{width:19px; height:19px; vertical-align:-4px;}
.ic-sm{width:14px; height:14px; vertical-align:-2px;}

header{position:sticky; top:0; top:env(safe-area-inset-top,0px); z-index:20; background:var(--bg); border-bottom:1px solid var(--line);}
.headrow{display:flex; align-items:center; padding-block:12px; gap:10px; flex-wrap:wrap;}
.brand{font-size:18px; display:flex; align-items:center; gap:8px; flex:none; min-width:0;}
.brand .mark{width:28px; height:28px; border-radius:50%; background:conic-gradient(var(--primary),var(--accent),var(--secondary),var(--primary)); flex:none; object-fit:cover;}
.brand span:last-child{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:42vw;}
nav{display:none; gap:24px; font-size:14px; color:var(--muted); flex:none;}
nav a:hover{color:var(--ink);}
.cart{display:flex; align-items:center; gap:6px; font-size:13px; border:1px solid var(--line); border-radius:999px; padding:8px 12px; white-space:nowrap; background:transparent; font:inherit; color:var(--ink); cursor:pointer; margin-left:auto;}
.cart:hover{border-color:var(--ink);}
.badge{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff)); border-radius:999px; font-size:11px; padding:1px 7px; min-width:16px; text-align:center;}
.search{display:flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:999px; padding:9px 14px; background:var(--surface); flex:1 1 100%; order:3; max-width:none; min-width:0; color:var(--muted);}
.search input{border:none; outline:none; background:transparent; font:inherit; font-size:14px; color:var(--ink); width:100%; min-width:0;}
.empty{display:none; color:var(--muted); font-size:14px; padding:18px 0; grid-column:1/-1;}

.pager{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:22px;}
.pager[hidden]{display:none !important;}
.pager-btn{font:inherit; font-size:13px; font-weight:600; min-width:38px; min-height:38px; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer;}
.pager-btn:hover:not(:disabled){border-color:var(--button, var(--primary)); color:var(--button, var(--primary));}
.pager-btn.active{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff)); border-color:var(--button, var(--primary));}
.pager-btn:disabled{opacity:.4; cursor:not-allowed;}
.pager-nav{min-width:auto; padding:8px 14px;}
.pager-meta{width:100%; text-align:center; font-size:12.5px; color:var(--muted); margin-top:2px;}

/* Mobile-first hero — padding-block seul pour ne pas écraser les marges .wrap */
.hero{padding-block:20px 28px; display:grid; grid-template-columns:1fr; gap:18px; align-items:stretch;}
.herocopy{display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0;}
.hero h1{font-size:clamp(26px,7vw,40px); line-height:1.15; margin:0 0 10px; letter-spacing:-.02em; color:var(--ink); max-width:22ch;}
.hero p{color:var(--muted); font-size:15px; max-width:36ch; margin:0 auto 18px; line-height:1.45;}
.heroactions{display:flex; flex-direction:column; gap:10px; width:100%; max-width:420px;}
.heroactions .btn{width:100%; min-height:48px; font-size:15px; padding:14px 20px;}
.btn{font:inherit; font-size:14px; font-weight:600; border-radius:var(--radius-sm); padding:12px 18px; border:1px solid transparent; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:filter .15s ease, transform .1s ease, background .15s ease;}
.btn-primary{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff)); border-color:var(--button, var(--primary));}
.btn-primary:hover{filter:brightness(1.06);}
.btn-primary:disabled{opacity:.4; cursor:not-allowed; filter:none;}
.btn-ghost{border-color:var(--button, var(--primary)); color:var(--button, var(--primary)); background:transparent;}
.btn-ghost:hover{background:color-mix(in srgb, var(--button, var(--primary)) 10%, transparent);}
.btn:active{transform:translateY(1px);}
.heropat{order:-1; aspect-ratio:5/4; border-radius:var(--radius-lg); background:var(--surface); border:none; padding:0; display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow:0 12px 32px color-mix(in srgb, var(--ink) 10%, transparent); width:100%;}
.heropat.has-img{background:transparent;}
.heropat img{width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block;}
.heropat svg{max-width:56%; opacity:.9;}

.sec{padding:32px 0;}
.sec + .sec{border-top:1px solid var(--line);}
.sechead{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:18px; flex-wrap:wrap;}
.sechead h2{font-size:clamp(22px,5vw,28px); margin:0;}
.sechead p{color:var(--muted); font-size:13.5px; margin:6px 0 0; max-width:48ch;}

.tabs{display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap;}
.tab{font:inherit; font-size:13px; padding:8px 14px; border-radius:var(--radius-sm, 8px); border:1px solid var(--line); background:transparent; color:var(--muted); cursor:pointer;}
.tab.active{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff)); border-color:var(--button, var(--primary));}

/* Mobile: 2 colonnes produits */
.grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:12px; display:flex; flex-direction:column; gap:8px; min-width:0;}
.card .thumb{aspect-ratio:1/1; border-radius:calc(var(--radius-md) - 4px); margin-bottom:0; background-size:cover; background-position:center;}
.tag{align-self:flex-start; font-size:10.5px; font-weight:600; padding:2px 8px; border-radius:999px; color:var(--ink); background:color-mix(in srgb, var(--ink) 12%, transparent);}
.tag.produit{color:var(--ink); background:color-mix(in srgb, var(--ink) 12%, transparent);}
.tag.service{color:var(--ink); background:color-mix(in srgb, var(--secondary) 18%, transparent);}
.card h3{font-size:14px; margin:0; font-weight:600; font-family:var(--font-body); line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--ink);}
.card .desc{color:var(--muted); font-size:12px; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.card .meta{display:none; align-items:center; gap:6px; font-size:12px; color:var(--muted); margin-top:2px;}
.row{display:flex; align-items:center; justify-content:space-between; margin-top:auto; gap:6px; flex-wrap:wrap;}
.price{font-weight:700; font-size:13.5px; color:var(--ink);}
.mini{font:inherit; font-size:12px; font-weight:600; padding:8px 10px; border-radius:var(--radius-sm); border:1px solid var(--button, var(--primary)); background:transparent; color:var(--button, var(--primary)); cursor:pointer; white-space:nowrap;}
.mini.solid{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff)); border-color:var(--button, var(--primary));}
.mini:hover{filter:brightness(1.05);}

.stepper{display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:var(--radius-sm); padding:4px;}
.stepper button{width:26px; height:26px; border:none; background:var(--surface); color:var(--ink); border-radius:5px; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.stepper button:hover{background:var(--bg);}
.stepper span{min-width:16px; text-align:center; font-weight:700; font-size:13.5px;}

.devisform{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:18px; width:100%; max-width:none; box-sizing:border-box;}
.devis-grid{display:grid; grid-template-columns:1fr; gap:0 16px; width:100%;}
.devis-span{grid-column:1 / -1;}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:16px;}
.field label{font-size:12.5px; font-weight:600; color:var(--muted);}
.field input,.field select,.field textarea{font:inherit; font-size:14px; padding:11px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--bg); color:var(--field-ink, var(--ink));}
.field input::placeholder,.field textarea::placeholder{color:var(--muted); opacity:1;}
.field textarea{resize:vertical; min-height:88px;}

.tables-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:4px;}
.table-card{font:inherit; text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:14px 12px; cursor:pointer; color:var(--ink); display:flex; flex-direction:column; gap:4px; min-width:0; transition:border-color .15s ease, background .15s ease;}
.table-card:hover:not(:disabled){border-color:var(--button, var(--primary));}
.table-card.selected{border-color:var(--button, var(--primary)); background:color-mix(in srgb, var(--button, var(--primary)) 10%, var(--surface));}
.table-card.unavailable,.table-card:disabled{opacity:.55; cursor:not-allowed;}
.table-card__name{font-weight:700; font-size:14.5px;}
.table-card__meta{font-size:12.5px; color:var(--muted);}
.table-card__status{font-size:11px; font-weight:600; color:var(--button, var(--primary));}
.table-card__status.muted{color:var(--muted); font-weight:500;}

/* Footer site — fond full-bleed, contenu aligné sur .wrap */
.site-footer{
  display:block;
  width:100%;
  margin-top:8px;
  padding:0;
  background:var(--footer, color-mix(in srgb, var(--ink) 6%, var(--bg)));
  color:var(--ink);
  border-top:none;
  font-size:inherit;
}
.site-footer a{color:inherit; text-decoration:none;}
.site-footer a:hover{opacity:.85; text-decoration:underline;}
/* padding-top seul : ne pas écraser le padding horizontal de .wrap */
.footer-inner{padding-top:36px; padding-bottom:0; width:100%;}
.footer-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 18px;
  padding-bottom:24px;
  align-items:start;
}
.footer-brand{grid-column:1 / -1; margin-bottom:4px;}
.footer-logo{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
.footer-mark{width:32px; height:32px; border-radius:50%; object-fit:cover; background:conic-gradient(var(--primary),var(--accent),var(--secondary),var(--primary)); flex:none;}
.footer-brand strong{font-family:var(--font-display); font-size:20px; font-weight:600; color:var(--ink);}
.footer-brand p{margin:0; font-size:13.5px; line-height:1.45; max-width:36ch; opacity:.8; color:var(--ink);}
.footer-muted{opacity:.65 !important;}
.footer-col{min-width:0;}
.footer-col h3{margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); opacity:.9;}
.footer-col ul{list-style:none; margin:0; padding:0; display:grid; gap:8px;}
.footer-col li{font-size:14px; opacity:.82; color:var(--ink);}
.footer-contact li{display:flex; align-items:flex-start; gap:8px;}
.footer-contact .ic{flex:none; margin-top:2px; opacity:.9; color:var(--ink);}
.footer-contact a,.footer-contact span{word-break:break-word; color:var(--ink);}
.footer-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 16px;
  padding:16px 0 22px; border-top:1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-size:12.5px; opacity:.75; color:var(--ink);
}

.rdvlist{display:grid; gap:12px;}
.rdvcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap;}
.rdvcard strong{display:block; font-size:15px; margin-bottom:3px;}
.rdvcard span{color:var(--muted); font-size:13.5px;}
.rdvempty{color:var(--muted); font-size:14.5px; background:var(--surface); border:1px dashed var(--line); border-radius:var(--radius-md); padding:26px; text-align:center;}

.checkout{display:grid; grid-template-columns:1fr; gap:24px;}
.toggle{display:flex; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; margin-bottom:18px;}
.toggle button{flex:1; font:inherit; font-size:14px; font-weight:600; padding:12px; border:none; background:var(--surface); color:var(--muted); cursor:pointer;}
.toggle button.active{background:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff));}
.paymethods{display:grid; gap:10px;}
.pay{display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:var(--radius-sm); padding:13px 15px; background:var(--surface); font-size:14px; cursor:pointer; color:var(--ink);}
.pay input{accent-color:var(--primary);}
.pay .sw{width:34px; height:22px; border-radius:5px; flex:none;}
.summary{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px;}
.summary .line{display:flex; justify-content:space-between; font-size:14px; color:var(--muted); margin-bottom:10px; gap:10px;}
.summary .line span:first-child{flex:1; min-width:0;}
.summary .line.total{color:var(--ink); font-weight:700; font-size:16px; border-top:1px solid var(--line); padding-top:12px; margin-top:4px;}
.payok{display:none; align-items:center; gap:8px; margin-top:14px; color:var(--primary); font-size:14px; font-weight:600;}
.payerr{margin-top:10px; color:#b42318; font-size:13px; font-weight:500;}
.checkout-inline{margin-top:4px;}
.checkout-inline .field{margin-bottom:12px;}
.checkout-inline .field input,.checkout-inline .field select{background:var(--bg); color:var(--field-ink, var(--ink));}
.payfield-label{font-size:12.5px; font-weight:600; color:var(--muted);}
.checkout-inline .paymethods{gap:8px;}
.checkout-inline .pay{position:relative; padding:10px 12px; border-radius:12px; background:var(--bg); transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;}
.checkout-inline .pay:hover{border-color:color-mix(in srgb, var(--primary) 40%, var(--line));}
.checkout-inline .pay input{position:absolute; width:1px; height:1px; margin:0; opacity:0;}
.checkout-inline .pay-ico{width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex:none; background:var(--surface); color:var(--ink); border:1px solid var(--line);}
.checkout-inline .pay-copy{display:flex; flex-direction:column; min-width:0; flex:1; gap:1px;}
.checkout-inline .pay-copy strong{font-size:13.5px; font-weight:600; line-height:1.25; color:var(--ink);}
.checkout-inline .pay-copy span{font-size:12px; color:var(--muted); line-height:1.3;}
.checkout-inline .pay-mark{width:18px; height:18px; border-radius:50%; border:1.5px solid var(--line); flex:none; background:var(--surface);}
.checkout-inline .pay:has(input:checked){border-color:var(--primary); background:color-mix(in srgb, var(--primary) 8%, var(--surface)); box-shadow:0 0 0 1px var(--primary);}
.checkout-inline .pay:has(input:checked) .pay-ico{background:var(--primary); color:var(--on-primary, #fff); border-color:var(--primary);}
.checkout-inline .pay:has(input:checked) .pay-mark{border-color:var(--primary); background:var(--primary); box-shadow:inset 0 0 0 3.5px var(--surface);}
.checkout-inline .pay:focus-within{outline:2px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset:2px;}

footer{padding:28px 0 36px; color:var(--muted); font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;}

.overlay{position:fixed; inset:0; background:rgba(15,15,20,.4); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:30;}
.overlay.open{opacity:1; pointer-events:auto;}
.drawer{position:fixed; top:0; right:0; height:100%; width:380px; max-width:92vw; background:var(--cart, var(--surface)); z-index:31; transform:translateX(105%); transition:transform .3s ease; display:flex; flex-direction:column; padding:22px; padding-top:calc(22px + env(safe-area-inset-top,0px)); padding-bottom:calc(22px + env(safe-area-inset-bottom,0px)); box-shadow:-14px 0 34px rgba(0,0,0,.16);}
.drawer.open{transform:translateX(0);}
.drawer-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:18px;}
.drawer-head strong{font-family:var(--font-display); font-size:19px; font-weight:500;}
.iconbtn{background:transparent; border:1px solid var(--line); border-radius:var(--radius-sm); cursor:pointer; color:var(--ink); padding:8px; display:flex; align-items:center; justify-content:center;}
.drawer-items{flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:14px;}
.drawer-item{display:flex; gap:12px; align-items:flex-start; border-bottom:1px solid var(--line); padding-bottom:14px;}
.thumb.small{width:50px; height:50px; border-radius:calc(var(--radius-md) - 6px); flex:none; background-size:cover; background-position:center;}
.di-info{display:flex; flex-direction:column; gap:3px; font-size:14px; flex:1; min-width:0;}
.di-info span{color:var(--muted); font-size:12px;}
.di-row{display:flex; align-items:center; justify-content:space-between; margin-top:6px; gap:8px;}
.di-price{font-weight:700; font-size:13.5px; white-space:nowrap;}
.drawer-foot{border-top:1px solid var(--line); padding-top:16px; margin-top:16px; flex:none; max-height:68vh; overflow-y:auto;}
.drawer-foot .line.total{display:flex; justify-content:space-between; font-weight:700; font-size:16px; margin-bottom:14px;}

.modal{position:fixed; top:50%; left:50%; transform:translate(-50%,-50%) scale(.96); width:92vw; max-width:440px; max-height:86vh; background:var(--surface); border-radius:var(--radius-lg); padding:22px; z-index:32; box-shadow:0 20px 50px rgba(0,0,0,.25); opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease; display:flex; flex-direction:column;}
.modal.open{opacity:1; pointer-events:auto; transform:translate(-50%,-50%) scale(1);}
.modal-head{display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:14px;}
.modal-head strong{font-family:var(--font-display); font-size:18px; font-weight:500;}
.modal-body{overflow-y:auto; display:grid; gap:16px; padding-right:2px; flex:1; min-height:0;}
.optgroup label.optlabel{font-size:12.5px; font-weight:600; color:var(--muted); display:block; margin-bottom:8px;}
.optrow{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); font-size:14px;}
.optrow:last-child{border-bottom:none;}
.optrow label{display:flex; align-items:center; gap:9px; cursor:pointer;}
.optrow input{accent-color:var(--primary);}
.optrow .exprice{color:var(--muted); font-size:12.5px; white-space:nowrap;}
.opthint{font-weight:500; color:var(--muted); font-size:12.5px; margin:-4px 0 8px;}
.optctl{display:inline-flex; align-items:center; gap:10px; flex-shrink:0;}
.optrow .stepper{padding:2px;}
.stepper button:disabled{opacity:.35; cursor:default;}
.modal-foot{border-top:1px solid var(--line); padding-top:16px; margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.pm-total{font-weight:700; font-size:15.5px;}
.day{flex:1; min-width:56px; text-align:center; border:1px solid var(--line); border-radius:11px; padding:10px 4px; cursor:pointer; background:var(--surface);}
.day .d{font-size:11px; color:var(--muted);}
.day .n{font-family:var(--font-display); font-size:18px; margin-top:2px;}
.day.active{border-color:var(--primary); background:color-mix(in srgb, var(--primary) 8%, transparent);}
.slot{font:inherit; font-size:13.5px; padding:10px 6px; border-radius:var(--radius-sm); border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer;}
.slot.selected{background:var(--button, var(--primary)); border-color:var(--button, var(--primary)); color:var(--on-button, var(--on-primary, #fff));}
.slot[disabled]{opacity:.4; cursor:not-allowed; text-decoration:line-through; color:var(--muted);}

/* Tablette : 3 colonnes */
@media (min-width:640px){
  .wrap{padding:0 24px;}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px;}
  .card{padding:14px; gap:9px;}
  .card h3{font-size:15px;}
  .card .desc{font-size:12.5px;}
  .card .meta{display:flex;}
  .price{font-size:14.5px;}
  .mini{font-size:12.5px; padding:8px 12px;}
  .tables-grid{grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;}
  .hero{padding-block:32px 36px; gap:24px;}
  .herocopy{align-items:flex-start; text-align:left;}
  .hero p{margin-inline:0;}
  .heroactions{max-width:none; flex-direction:row; flex-wrap:wrap;}
  .heroactions .btn{width:auto; min-width:160px; flex:0 1 auto;}
  .heropat{aspect-ratio:16/10;}
  .sec{padding:40px 0;}
  .footer-top{gap:28px 28px; padding-bottom:28px;}
}

/* Grande tablette : 4 colonnes */
@media (min-width:900px){
  .wrap{padding:0 24px;}
  .headrow{padding-block:16px; gap:20px; flex-wrap:nowrap;}
  .brand{font-size:22px; gap:10px;}
  .brand .mark{width:30px; height:30px;}
  .brand span:last-child{max-width:none;}
  nav{display:flex;}
  .search{flex:0 1 340px; order:0; max-width:340px; padding:9px 16px; margin-left:auto;}
  .cart{margin-left:0; padding:8px 16px; font-size:14px; gap:8px;}
  nav + .cart{margin-left:auto;}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;}
  .tables-grid{grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;}
  .card{padding:16px; gap:10px;}
  .card .thumb{aspect-ratio:4/3;}
  .card h3{font-size:16px; -webkit-line-clamp:unset; display:block;}
  .card .desc{font-size:13px; -webkit-line-clamp:3;}
  .price{font-size:15px;}
  .mini{font-size:13px; padding:9px 14px;}
  .hero{grid-template-columns:1.05fr .95fr; padding-block:56px 48px; gap:48px; align-items:center;}
  .heropat{order:0; aspect-ratio:1/1; box-shadow:0 18px 48px color-mix(in srgb, var(--ink) 12%, transparent);}
  .herocopy{justify-content:center; align-items:flex-start; text-align:left;}
  .hero h1{font-size:clamp(34px,4.6vw,54px); margin:0 0 16px; max-width:none;}
  .hero p{font-size:17px; margin:0 0 26px; max-width:40ch;}
  .heroactions{gap:12px; max-width:none;}
  .heroactions .btn{min-height:46px; font-size:14.5px; padding:13px 22px;}
  .btn{font-size:14.5px; padding:13px 22px;}
  .sec{padding:52px 0;}
  .sechead{margin-bottom:28px;}
  .tabs{margin-bottom:26px;}
  .devis-grid{grid-template-columns:1fr 1fr;}
  .footer-top{grid-template-columns:1.4fr 1fr 1.2fr; gap:40px; padding-bottom:36px;}
  .footer-brand{grid-column:auto; margin-bottom:0;}
  .footer-inner{padding-top:52px;}
  .checkout{grid-template-columns:1fr 1fr; gap:40px;}
}

/* Desktop large : grille 4 colonnes confortable */
@media (min-width:1100px){
  .grid{gap:18px;}
  .card{padding:20px;}
  .card h3{font-size:17px;}
  .card .desc{font-size:13.5px;}
  .price{font-size:16px;}
}
