/* ===== DiagAuto — feuille de style ===== */
:root{
  --bg:#0e1116;
  --bg-alt:#141922;
  --surface:#1a212d;
  --line:#283142;
  --text:#e8edf4;
  --muted:#9aa7ba;
  --brand:#ff5a1f;
  --brand-soft:#ff7a47;
  --accent:#2dd4a7;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 18px 40px -20px rgba(0,0,0,.7);
  --maxw:1140px;
  --font:'Inter',system-ui,sans-serif;
  --display:'Sora',system-ui,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
/* l'attribut hidden doit toujours masquer, même si une classe définit display */
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

h1,h2,h3,h4{font-family:var(--display);line-height:1.15;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.5rem,3vw,2.2rem)}

/* ===== Topbar ===== */
.topbar{background:var(--brand);color:#fff;font-size:.86rem;font-weight:600}
.topbar__inner{display:flex;justify-content:space-between;align-items:center;height:38px}
.topbar__phone{font-weight:700}
@media(max-width:600px){.topbar__item{font-size:.74rem}}

/* ===== Header ===== */
.header{position:sticky;top:0;z-index:50;background:rgba(14,17,22,.86);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:74px}
.logo{display:flex;align-items:center;gap:12px}
.logo__mark{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,var(--brand),var(--brand-soft));color:#fff;font-family:var(--display);font-weight:800;font-size:1.05rem}
.logo__text{font-family:var(--display);font-weight:700;font-size:1.25rem;line-height:1}
.logo__text strong{color:var(--brand)}
.logo__text small{display:block;font-family:var(--font);font-weight:500;font-size:.66rem;color:var(--muted);letter-spacing:.04em;margin-top:3px}
.nav{display:flex;align-items:center;gap:30px}
.nav a{font-size:.94rem;font-weight:500;color:var(--muted);transition:color .2s}
.nav a:hover{color:var(--text)}
.nav__cta{background:var(--brand);color:#fff!important;padding:10px 18px;border-radius:10px;font-weight:600}
.nav__cta:hover{background:var(--brand-soft)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.burger span{width:24px;height:2px;background:var(--text);transition:.3s}

/* ===== Hero ===== */
.hero{position:relative;overflow:hidden;padding:72px 0 80px;
  background:radial-gradient(900px 500px at 80% -10%,rgba(255,90,31,.18),transparent 60%),var(--bg)}
.hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.badge{display:inline-block;font-size:.8rem;font-weight:600;color:var(--brand-soft);background:rgba(255,90,31,.12);border:1px solid rgba(255,90,31,.3);padding:6px 14px;border-radius:99px;margin-bottom:22px}
.hero__lead{color:var(--muted);font-size:1.1rem;max-width:520px;margin:22px 0 30px}
.hero__actions{display:flex;gap:14px;flex-wrap:wrap}
.hero__trust{list-style:none;display:flex;gap:34px;margin-top:42px;flex-wrap:wrap}
.hero__trust strong{display:block;font-family:var(--display);font-size:1.5rem;color:var(--text)}
.hero__trust span{font-size:.84rem;color:var(--muted)}

/* hero visual */
.hero__visual{position:relative;display:flex;justify-content:center}
.hero__photo{position:relative;width:100%;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.hero__photo img{width:100%;height:420px;object-fit:cover}
.hero__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(14,17,22,.55))}
.hero__photo-badge{position:absolute;left:16px;bottom:16px;z-index:2;display:flex;align-items:center;gap:8px;background:rgba(14,17,22,.7);backdrop-filter:blur(6px);border:1px solid var(--line);padding:8px 14px;border-radius:99px;font-size:.82rem;font-weight:600}
.hero__photo-badge .dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 rgba(45,212,167,.6);animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(45,212,167,.6)}70%{box-shadow:0 0 0 9px rgba(45,212,167,0)}100%{box-shadow:0 0 0 0 rgba(45,212,167,0)}}
.hero__chip{position:absolute;right:-10px;top:28px;background:linear-gradient(135deg,var(--brand),var(--brand-soft));color:#fff;padding:14px 20px;border-radius:14px;box-shadow:var(--shadow);text-align:center}
.hero__chip b{display:block;font-family:var(--display);font-size:1.7rem;line-height:1}
.hero__chip small{font-size:.72rem;opacity:.9}

/* card media */
.card{padding:0;overflow:hidden}
.card__media{position:relative;height:170px;overflow:hidden}
.card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card__media img{transform:scale(1.06)}
.card__tag{position:absolute;left:14px;bottom:-18px;width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:1.3rem}
.card h3{font-size:1.2rem;margin:28px 26px 10px}
.card p{margin:0 26px 16px}
.card__link{margin:0 26px 26px;display:inline-block}

/* split media */
.split__media{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.split__media img{width:100%;height:380px;object-fit:cover}
.split__media-stats{position:absolute;left:14px;right:14px;bottom:14px;display:flex;gap:12px}
.split__media-stats span{flex:1;background:rgba(14,17,22,.78);backdrop-filter:blur(6px);border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:.82rem;color:var(--muted)}
.split__media-stats b{display:block;font-family:var(--display);color:var(--brand-soft);font-size:1.05rem}
.split__media--eco img{filter:saturate(1.1)}
.eco-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(180deg,rgba(14,17,22,.25),rgba(14,17,22,.78))}
.eco-overlay__big{font-family:var(--display);font-weight:800;font-size:4rem;color:var(--accent);line-height:1}
.eco-overlay__sub{color:#fff;max-width:240px;margin-top:6px;font-weight:500}

/* ===== Brands ===== */
.brands{border-block:1px solid var(--line);padding:26px 0;background:var(--bg-alt)}
.brands__label{text-align:center;font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-bottom:16px}
.brands__list{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 34px}
.brands__list span{font-family:var(--display);font-weight:600;font-size:1.05rem;color:var(--muted);opacity:.8;transition:.2s}
.brands__list span:hover{opacity:1;color:var(--text)}

/* ===== Sections ===== */
.section{padding:84px 0}
.section--alt{background:var(--bg-alt)}
.section__head{max-width:660px;margin:0 auto 50px;text-align:center}
.section__head p{color:var(--muted);margin-top:16px;font-size:1.05rem}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-soft);margin-bottom:12px}

/* cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;transition:.25s}
.card:hover{transform:translateY(-5px);border-color:rgba(255,90,31,.5);box-shadow:var(--shadow)}
.card__icon{font-size:1.8rem;width:56px;height:56px;display:grid;place-items:center;background:var(--bg);border:1px solid var(--line);border-radius:14px;margin-bottom:18px}
.card h3{font-size:1.2rem;margin-bottom:10px}
.card p{color:var(--muted);font-size:.96rem;margin-bottom:16px}
.card__link{color:var(--brand-soft);font-weight:600;font-size:.92rem}
.card__link:hover{color:var(--brand)}

/* split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.split--reverse .split__text{order:2}
.split__text h2{margin-bottom:18px}
.split__text>p{color:var(--muted);margin-bottom:22px;font-size:1.05rem}
.checklist{list-style:none;display:grid;gap:12px;margin-bottom:28px}
.checklist li{position:relative;padding-left:30px;color:var(--text)}
.checklist li::before{content:"✔";position:absolute;left:0;color:var(--accent);font-weight:700}
.checklist--cols{grid-template-columns:repeat(3,1fr);gap:12px 8px}
.checklist--cols li{font-size:.94rem}

.split__panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:34px;box-shadow:var(--shadow)}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.stat{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:20px}
.stat b{display:block;font-family:var(--display);font-size:1.3rem;color:var(--brand-soft)}
.stat span{font-size:.86rem;color:var(--muted)}

.split__panel--eco{background:linear-gradient(160deg,rgba(45,212,167,.14),var(--surface))}
.eco{text-align:center;padding:18px}
.eco__label{font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.eco__big{display:block;font-family:var(--display);font-weight:800;font-size:3rem;color:var(--accent);margin:8px 0}
.eco__sub{color:var(--text)}
.eco__note{font-size:.8rem;color:var(--muted);margin-top:18px}

.key-card{aspect-ratio:1.6/1;background:linear-gradient(135deg,#222a37,#12161e);border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;justify-content:flex-end;padding:26px;position:relative}
.key-card__chip{position:absolute;top:26px;left:26px;width:46px;height:34px;border-radius:7px;background:linear-gradient(135deg,#d4af37,#b8860b)}
.key-card__title{font-family:var(--display);font-weight:700;font-size:1.3rem}
.key-card__sub{color:var(--muted);font-size:.9rem}

/* taglist */
.taglist{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:880px;margin:0 auto 44px}
.taglist span{background:var(--surface);border:1px solid var(--line);padding:11px 18px;border-radius:99px;font-size:.92rem;font-weight:500;transition:.2s}
.taglist span:hover{border-color:var(--brand);color:var(--brand-soft)}
.promise{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:900px;margin:0 auto}
.promise__item{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:22px;color:var(--muted)}
.promise__item b{color:var(--brand);font-family:var(--display);font-size:1.3rem;margin-right:6px}

/* duo */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.duo__item{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:38px}
.duo__item h2{font-size:1.5rem;margin:6px 0 14px}
.duo__item p{color:var(--muted);margin-bottom:18px}

/* why */
.why{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.why__item{padding:8px}
.why__item h3{font-size:1.1rem;margin-bottom:10px;color:var(--brand-soft)}
.why__item p{color:var(--muted);font-size:.95rem}

/* cta band */
.cta-band{background-size:cover;background-position:center;padding:90px 0;text-align:center}
.cta-band__inner{max-width:620px;margin:0 auto}
.cta-band p{color:var(--muted);margin:16px 0 28px;font-size:1.08rem}
.cta-band .hero__actions{justify-content:center}

/* contact */
.section--contact{background:radial-gradient(700px 400px at 15% 0%,rgba(45,212,167,.1),transparent),var(--bg-alt)}
.contact-list{list-style:none;display:grid;gap:16px;margin-top:24px}
.contact-list li{display:flex;align-items:center;gap:12px;font-size:1.02rem}
.contact-list span{font-size:1.2rem}
.form{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow)}
.form label{display:block;font-size:.86rem;font-weight:600;color:var(--muted);margin-bottom:16px}
.form input,.form select,.form textarea{width:100%;margin-top:6px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px 14px;color:var(--text);font-family:inherit;font-size:.96rem;transition:.2s}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--brand)}
.form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form__note{font-size:.9rem;color:var(--accent);margin-top:4px}

/* buttons */
.btn{display:inline-block;padding:13px 26px;border-radius:11px;font-weight:600;font-size:.98rem;cursor:pointer;border:1px solid transparent;transition:.2s;font-family:inherit}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-soft);transform:translateY(-2px)}
.btn--ghost{background:transparent;border-color:var(--line);color:var(--text)}
.btn--ghost:hover{border-color:var(--text)}
.btn--block{width:100%}

/* footer */
.footer{background:var(--bg);border-top:1px solid var(--line);padding:54px 0 0}
.footer__inner{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:34px;padding-bottom:40px}
.footer__brand p{color:var(--muted);font-size:.94rem;margin-top:16px;max-width:320px}
.footer__col h4{font-size:.92rem;margin-bottom:14px}
.footer__col a,.footer__col span{display:block;color:var(--muted);font-size:.92rem;margin-bottom:9px}
.footer__col a:hover{color:var(--brand-soft)}
.footer__bottom{border-top:1px solid var(--line);padding:20px 0}
.footer__bottom .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.84rem;color:var(--muted)}

/* fab */
.fab{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:var(--brand);display:none;place-items:center;font-size:1.4rem;box-shadow:var(--shadow);z-index:60}

/* ===== Boutique ===== */
.nav__cart{position:relative;font-weight:600}
.cart-badge{position:absolute;top:-8px;right:-12px;background:var(--brand);color:#fff;font-size:.66rem;font-weight:700;min-width:18px;height:18px;border-radius:99px;display:inline-grid;place-items:center;padding:0 4px}
.btn--sm{padding:8px 14px;font-size:.86rem}
.shop-loading{color:var(--muted);padding:40px 0}
.shop-layout{display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start}
.shop-filters{position:sticky;top:90px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:grid;gap:16px}
.shop-filters label{display:block;font-size:.84rem;font-weight:600;color:var(--muted)}
.shop-filters select{width:100%;margin-top:6px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--text);font-family:inherit}
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.pcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s}
.pcard:hover{transform:translateY(-4px);border-color:rgba(255,90,31,.5);box-shadow:var(--shadow)}
.pcard__media{position:relative;display:block;height:170px;overflow:hidden}
.pcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pcard:hover .pcard__media img{transform:scale(1.06)}
.pcard__type{position:absolute;top:10px;left:10px;background:var(--brand);color:#fff;font-size:.7rem;font-weight:700;padding:4px 10px;border-radius:99px}
.pcard__type--used{background:var(--accent);color:#06281f}
.pcard__body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.pcard__body h3{font-size:1.02rem;margin-bottom:4px}
.pcard__brand{font-size:.76rem;color:var(--brand-soft);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.pcard__desc{color:var(--muted);font-size:.88rem;margin:8px 0 14px;flex:1}
.pcard__foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pcard__price{font-family:var(--display);font-weight:700;font-size:1.2rem;display:flex;flex-direction:column;line-height:1.1}
.pcard__price small{font-size:.62rem;color:var(--muted);font-weight:500;letter-spacing:.04em}
.pcard__oos{color:#ff6b6b;font-size:.84rem;font-weight:600}

/* fiche produit */
.product{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.product__media{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.product__media img{width:100%;height:420px;object-fit:cover}
.product__price{font-family:var(--display);font-weight:800;font-size:2rem;color:var(--brand-soft);margin:10px 0}
.product__price small{font-size:.9rem;color:var(--muted);font-weight:500}
.product__desc{color:var(--muted);margin-bottom:18px}
.product__note{background:rgba(45,212,167,.1);border:1px solid rgba(45,212,167,.3);border-radius:12px;padding:14px;font-size:.92rem;margin-bottom:20px}
.product__buy{display:flex;gap:12px;margin-bottom:14px;align-items:flex-end}
.qty-field{display:flex;flex-direction:column;gap:6px}
.qty-field label{font-size:.78rem;font-weight:600;color:var(--muted)}
.product__buy input{width:88px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:13px;color:var(--text);font-family:inherit;text-align:center;font-size:1rem}
.product__buy .btn{flex:1}
.product__stock{color:var(--brand-soft);font-size:.86rem;font-weight:600;margin-bottom:10px}
.product__added{background:rgba(45,212,167,.12);border:1px solid rgba(45,212,167,.35);border-radius:10px;padding:12px 14px;font-size:.92rem;margin-bottom:14px}
.product__added a{color:var(--accent);font-weight:600;text-decoration:underline}

/* panier */
.cart{display:grid;grid-template-columns:1fr 320px;gap:30px;align-items:start}
.cart__lines{display:grid;gap:14px}
.cart__line{display:grid;grid-template-columns:64px 1fr 80px 90px 32px;gap:14px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}
.cart__line img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.cart__line-info strong{display:block;font-size:.96rem}
.cart__line-info span{font-size:.82rem;color:var(--muted)}
.cart__qty{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--text);text-align:center}
.cart__line-total{font-family:var(--display);font-weight:700;text-align:right}
.cart__remove{background:none;border:0;color:var(--muted);font-size:1rem;cursor:pointer}
.cart__remove:hover{color:#ff6b6b}
.cart__summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;position:sticky;top:90px}
.cart__summary h2{font-size:1.2rem;margin-bottom:16px}
.cart__row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;color:var(--muted);font-size:.92rem}
.cart__row b{white-space:nowrap}
.cart__row b{color:var(--text);font-family:var(--display);font-size:1.2rem}
.cart__note{font-size:.86rem;color:var(--muted);margin-bottom:14px}
.cart__summary .btn{margin:8px 0 14px}
.cart-warn{background:rgba(255,90,31,.1);border:1px solid rgba(255,90,31,.3);border-radius:12px;padding:12px 16px;margin-bottom:20px;font-size:.9rem}

/* checkout */
.checkout{display:grid;grid-template-columns:1fr 340px;gap:30px;align-items:start}
.checkout__form h2{font-size:1.15rem;margin-bottom:12px}
.checkout__check{display:flex;align-items:flex-start;gap:10px;font-size:.86rem;color:var(--muted);font-weight:400;margin-bottom:8px}
.checkout__check input{width:auto;margin-top:3px}
.checkout__check a{color:var(--brand-soft);text-decoration:underline}
.checkout__summary{position:sticky;top:90px}
#payment-element{min-height:10px}

/* confirmation */
.confirm{max-width:560px;margin:20px auto;text-align:center}
.confirm__icon{width:72px;height:72px;border-radius:50%;background:rgba(45,212,167,.15);color:var(--accent);font-size:2rem;display:grid;place-items:center;margin:0 auto 20px;border:2px solid var(--accent)}
.confirm p{color:var(--muted);margin:14px 0}
.confirm__note{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;font-size:.92rem}
.confirm .btn{margin-top:18px}

@media(max-width:860px){
  .checkout{grid-template-columns:1fr}
  .checkout__summary{position:static}
  .shop-layout{grid-template-columns:1fr}
  .shop-filters{position:static;grid-template-columns:1fr 1fr 1fr;display:grid}
  .shop-grid{grid-template-columns:1fr 1fr}
  .product,.cart{grid-template-columns:1fr}
  .cart__summary{position:static}
}

/* ===== Espace client ===== */
.auth-tabs{display:flex;gap:8px;margin-bottom:18px;max-width:440px}
.auth-tab{flex:1;background:var(--surface);border:1px solid var(--line);color:var(--muted);padding:11px;border-radius:10px;font-family:inherit;font-weight:600;cursor:pointer;transition:.2s}
.auth-tab.is-active{background:var(--brand);color:#fff;border-color:var(--brand)}
.linklike{background:none;border:0;color:var(--brand-soft);cursor:pointer;text-decoration:underline;font:inherit;padding:0}
.account-order{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:14px}
.account-order__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.account-order__meta{color:var(--muted);font-size:.86rem;margin-bottom:8px}
.account-order__items{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.account-order__items li{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:4px 10px;font-size:.84rem;color:var(--muted)}
.rgpd-box{background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-top:30px}
.rgpd-box h3{font-size:1.05rem;margin-bottom:8px}
.rgpd-box p{color:var(--muted);font-size:.9rem;margin-bottom:14px}
.rgpd-actions{display:flex;gap:12px;flex-wrap:wrap}

/* badges de statut (client + admin) */
.badge-status{font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:99px;white-space:nowrap}
.badge-pending{background:rgba(255,90,31,.15);color:var(--brand-soft)}
.badge-paid{background:rgba(45,212,167,.15);color:var(--accent)}
.badge-preparing,.badge-shipped{background:rgba(80,150,255,.15);color:#8ab4ff}
.badge-delivered{background:rgba(45,212,167,.2);color:var(--accent)}
.badge-cancelled,.badge-refunded{background:rgba(255,107,107,.15);color:#ff6b6b}

/* ===== Bandeau cookies ===== */
#cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:200;background:var(--bg-alt);border-top:1px solid var(--line);box-shadow:0 -10px 30px -15px rgba(0,0,0,.7)}
.cookie-banner__inner{max-width:var(--maxw);margin:0 auto;padding:18px 24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.cookie-banner__text{flex:1;min-width:260px;font-size:.9rem;color:var(--muted);margin:0}
.cookie-banner__text a{color:var(--brand-soft);text-decoration:underline}
.cookie-banner__actions{display:flex;gap:12px}

/* ===== Pages légales / contenu texte ===== */
.legal{max-width:780px;margin:0 auto}
.legal h1{margin-bottom:8px}
.legal .legal__updated{color:var(--muted);font-size:.86rem;margin-bottom:28px}
.legal h2{font-size:1.25rem;margin:32px 0 10px}
.legal h3{font-size:1.05rem;margin:20px 0 8px}
.legal p,.legal li{color:var(--muted);margin-bottom:12px}
.legal ul{padding-left:22px;margin-bottom:12px}
.legal a{color:var(--brand-soft);text-decoration:underline}
.legal .todo{background:rgba(255,90,31,.1);border:1px solid rgba(255,90,31,.35);border-radius:10px;padding:12px 16px;color:var(--text);font-size:.88rem}
.legal table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.9rem}
.legal th,.legal td{border:1px solid var(--line);padding:10px;text-align:left;color:var(--muted)}
.legal th{color:var(--text);background:var(--surface)}

/* lien d'évitement (accessibilité RGAA) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:300;background:var(--brand);color:#fff;padding:10px 16px;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
/* focus visibles partout (RGAA) */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}

/* ===== Responsive ===== */
@media(max-width:900px){
  .hero__inner,.split,.duo{grid-template-columns:1fr}
  .split--reverse .split__text{order:0}
  /* sur mobile : le message d'abord, l'image ensuite */
  .hero__content{order:0}
  .hero__visual{order:2;margin-top:14px}
  .cards{grid-template-columns:1fr 1fr}
  .why{grid-template-columns:1fr 1fr}
  .footer__inner{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .nav{position:fixed;inset:74px 0 auto 0;flex-direction:column;background:var(--bg-alt);border-bottom:1px solid var(--line);padding:24px;gap:18px;transform:translateY(-130%);transition:.3s;align-items:stretch}
  .nav.open{transform:translateY(0)}
  .nav__cta{text-align:center}
  .burger{display:flex}
  .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)}
  .fab{display:grid}
  /* hero plus compact */
  .hero{padding:36px 0 48px}
  .hero__lead{font-size:1.02rem;margin:16px 0 24px}
  .hero__actions .btn{flex:1;text-align:center}
  .hero__photo img{height:300px}
  .hero__chip{right:10px;top:14px;padding:10px 14px}
  .hero__chip b{font-size:1.25rem}
  .hero__trust{gap:22px 28px;margin-top:30px}
  .split__media img{height:260px}
}
@media(max-width:560px){
  .cards,.why,.promise,.checklist--cols,.form__row,.footer__inner{grid-template-columns:1fr}
  /* boutique : 1 colonne de produits + filtres empilés */
  .shop-grid{grid-template-columns:1fr}
  .shop-filters{grid-template-columns:1fr}
  /* fiche produit : image moins haute */
  .product__media img{height:260px}
  .product__buy{flex-wrap:wrap}
  .product__buy .btn{flex:1}
  /* panier : on réorganise la ligne (plus de grille 5 colonnes) */
  .cart__line{grid-template-columns:56px 1fr auto;grid-template-areas:"img info remove" "img qty total";column-gap:12px;row-gap:8px}
  .cart__line img{grid-area:img;width:56px;height:56px}
  .cart__line-info{grid-area:info}
  .cart__qty{grid-area:qty;width:70px}
  .cart__line-total{grid-area:total;align-self:center}
  .cart__remove{grid-area:remove;justify-self:end}
  .section{padding:54px 0}
  .section__head{margin-bottom:36px}
  /* bandeau haut : on garde le téléphone entier, on raccourcit l'argument */
  .topbar__inner{gap:10px}
  .topbar__item{font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar__phone{white-space:nowrap;flex-shrink:0}
  /* header un peu plus bas mais lisible */
  .nav{inset:66px 0 auto 0}
  .header__inner{height:66px}
  .logo__mark{width:38px;height:38px}
  .logo__text{font-size:1.1rem}
  .hero__photo img{height:240px}
  .hero__chip{right:8px;top:10px;padding:8px 12px;border-radius:11px}
  .hero__chip b{font-size:1.1rem}
  .hero__chip small{font-size:.66rem}
  .eco-overlay__big{font-size:3rem}
  .cta-band{padding:60px 0}
  .duo__item{padding:26px}
  .form{padding:22px}
  .footer__bottom .container{flex-direction:column;text-align:center}
}
@media(max-width:400px){
  /* sur très petit écran, on masque l'argument pour ne garder que le numéro */
  .topbar__item{display:none}
  .topbar__inner{justify-content:center}
}
