/* ============================================================
   V2 — style calé sur la maquette (orange vif, crème, Inter)
   Chargé après style.css : surcharge les jetons et composants.
   ============================================================ */
:root {
  --braise: #fd5501; --braise-2: #e84b00; --ambre: #ff8a3d; --orange-txt: #e2611f;
  --creme: #fcf6f1; --creme-2: #f6ece4; --sable: #e7dcd2; --charbon: #191610; --charbon-2: #241f19; --charbon-3: #352d26;
  --texte: #111111; --texte-doux: #6b625c; --line: #efe5dc;
  --f-titre: "Inter", system-ui, sans-serif; --f-texte: "Inter", system-ui, sans-serif;
  --max: 1352px;
}
body { background: var(--creme); font-size: 15px; }
h1, h2, h3, h4 { letter-spacing: -.03em; font-weight: 800; }
.wrap-lg { width: min(1434px, 100% - 40px); margin-inline: auto; }

/* Bandeau */
.topbar { background: var(--charbon); color: #f4ece6; font-size: 14px; border: 0; }
.topbar__track { display: flex; justify-content: space-between; gap: 40px; padding: 0; height: 36px; align-items: center; animation: none; }
.topbar__track span::before { content: "★"; color: var(--braise); margin-right: 12px; font-size: 15px; }
.topbar__track .dup { display: none; }

/* En-tête */
.header { background: #fdf7f2; backdrop-filter: none; border-bottom: 1px solid #f1e7df; }
.header__in { height: 72px; gap: 0; }
.logo { gap: 9px; font-size: 30px; font-weight: 800; letter-spacing: -.045em; }
.logo__mark { width: 46px; height: 46px; border-radius: 11px; background: var(--braise); box-shadow: none; }
.logo__mark svg { width: 27px; height: 27px; fill: #fff; }
.logo em { color: var(--braise); }
.nav { margin-left: 87px; gap: 6px; align-self: stretch; align-items: stretch; }
.nav > a, .nav__drop > a { display: flex; align-items: center; gap: 4px; padding: 0 16px; border-radius: 0; font-size: 15px; font-weight: 600; color: var(--texte); position: relative; background: none !important; }
.nav a.is-active { color: var(--braise); }
.nav > a.is-active::after, .nav__drop > a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; border-radius: 3px; background: var(--braise); }
.nav a:hover { color: var(--braise); }
.nav__drop { position: relative; display: flex; }
.nav__drop svg { width: 16px; height: 16px; }
.nav__menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.25); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--texte); }
.nav__menu a:hover { background: var(--creme); color: var(--braise); }
.header__search { max-width: 318px; margin-left: auto; }
.header__search input { height: 38px; padding: 0 16px 0 42px; border: 1px solid #d9cfc6; background: #fdf9f6; font-size: 14px; }
.header__search svg { left: 15px; width: 20px; color: #222; }
.header .icon-btn { width: 44px; height: 44px; margin-left: 10px; color: var(--texte); }
.header #open-cart { margin-left: 8px; }
.header .icon-btn svg { width: 25px; height: 25px; }
.cart-count { top: 0; right: -2px; min-width: 19px; height: 19px; font-size: 11px; }

/* Hero */
.hero2 { position: relative; height: 332px; overflow: hidden; background: linear-gradient(90deg, #f9eee7 0%, #f7ebe2 45%, #f3e4d8 100%); }
.hero2__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 54.1%; background: url("../img/hero-salon.jpg") right center / cover no-repeat; }
.hero2__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f7ebe2 0%, rgba(247,235,226,.55) 12%, rgba(247,235,226,0) 30%); }
.hero2__in { position: relative; z-index: 1; padding-top: 34px; }
.hero2__eyebrow { display: block; color: var(--orange-txt); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; }
.hero2 h1 { font-size: 51px; line-height: 1.04; font-weight: 800; letter-spacing: -.04em; color: var(--texte); margin: 9px 0 17px; }
.hero2 h1 span { color: var(--braise); }
.hero2 p { font-size: 17px; line-height: 1.36; color: #2a2522; margin: 0; }
.hero2__ctas { display: flex; gap: 26px; margin-top: 26px; }
.btn2 { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 28px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: .2s; white-space: nowrap; }
.btn2 svg { width: 20px; height: 20px; }
.btn2--feu { background: var(--braise); color: #fff; box-shadow: 0 8px 22px -10px rgba(253,85,1,.8); }
.btn2--feu:hover { background: var(--braise-2); transform: translateY(-1px); }
.btn2--line { border: 1.5px solid #d6ccc4; color: var(--texte); background: rgba(255,255,255,.35); }
.btn2--line:hover { border-color: var(--texte); background: #fff; }

/* Barre de catégories */
.catbar { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 9px; margin-top: 25px; padding: 0 22px; }
.catbar__tile { display: flex; flex-direction: column; align-items: center; height: 113px; padding: 7px 6px 0; border-radius: 14px; background: #f9f1eb; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 6px 16px -14px rgba(80,40,10,.35); transition: .2s; text-align: center; }
.catbar__tile:hover { background: #fde7d5; transform: translateY(-2px); }
.catbar__tile.is-all { background: #fde6d3; }
.catbar__img { height: 58px; width: 100%; display: grid; place-items: center; margin-bottom: 11px; color: var(--braise); }
.catbar__img img { max-height: 58px; max-width: 78%; object-fit: contain; }
.catbar__img svg { width: 34px; height: 34px; }
.catbar__tile b { font-size: 14px; font-weight: 600; color: var(--texte); line-height: 1.2; white-space: nowrap; }
.catbar__tile small { font-size: 13px; color: #6b625c; margin-top: 3px; }

/* Réassurance */
.trust2 { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 16px; height: 66px; background: #fbf6f2; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px -20px rgba(80,40,10,.35); }
.trust2__item { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.trust2__item + .trust2__item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: #eadfd5; }
.trust2__item svg { width: 30px; height: 30px; color: var(--braise); flex: none; }
.trust2__item strong { display: block; font-size: 14px; font-weight: 600; }
.trust2__item span { font-size: 14px; color: #6b625c; }

/* Bons plans */
.deals2 { display: grid; grid-template-columns: minmax(0, 1fr) 375px; gap: 27px; margin-top: 44px; align-items: start; }
.deals2__head { display: flex; align-items: center; justify-content: space-between; height: 34px; margin-bottom: -2px; }
.deals2__head h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: -.035em; }
.deals2__head h2 svg { width: 28px; height: 28px; }
.deals2__head a { display: inline-flex; align-items: center; gap: 6px; color: var(--braise); font-weight: 600; font-size: 14px; }
.deals2__head a svg { width: 16px; height: 16px; }
.deals2__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }

/* Cartes produit (toutes pages) */
.p-card { background: #fbf7f3; border: 1px solid #f1e8e0; border-radius: 14px; padding: 12px 12px 14px; box-shadow: 0 8px 22px -20px rgba(80,40,10,.4); }
.p-card__media { aspect-ratio: auto; height: 135px; border-radius: 10px; background: #f4efea; }
.p-card__media img { width: auto; height: 92%; max-width: 92%; }
.p-card__badges { top: 6px; left: 0; gap: 6px; }
.badge { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 4px 11px; border-radius: 999px; background: var(--charbon); color: #fff; }
.p-card__badges .badge:not(.badge--promo):not(.badge--mag) { font-size: 12px; text-transform: uppercase; padding: 5px 11px; letter-spacing: .02em; }
.badge--promo { background: var(--braise); }
.badge--mag { background: #fff; color: var(--texte); font-size: 12px; }
.p-card__brand { font-size: 11px; font-weight: 600; letter-spacing: .03em; color: #555; margin: 10px 0 2px; }
.p-card__title { font-size: 15px; font-weight: 600; line-height: 1.27; min-height: 2.54em; letter-spacing: -.01em; }
.stars { margin-top: 5px; font-size: 13px; color: #6b625c; gap: 6px; }
.stars__bar { width: 82px; height: 15px; background: linear-gradient(90deg, #ff7a00 calc(var(--r) / 5 * 100%), #e7ddd2 0); }
.p-card__foot { padding-top: 8px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.price--promo { color: var(--braise); }
.price s { font-size: 13px; color: #8a817a; margin-bottom: 4px; font-weight: 400; }
.add-btn { width: 46px; height: 34px; border-radius: 8px; background: var(--braise); color: #fff; }
.add-btn:hover { background: var(--braise-2); transform: none; }
.add-btn svg { width: 21px; height: 21px; }
.add-btn[disabled] { background: #eee4db; color: #8a817a; }

/* Carte « Préparez l'hiver » */
.winter { position: relative; overflow: hidden; height: 304px; border-radius: 16px; padding: 30px 36px; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 78% 60%, rgba(214,103,36,.75), rgba(214,103,36,0) 55%), linear-gradient(100deg, #2b201a 0%, #33251d 45%, #5a3420 100%); }
.winter::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34%; background: url("../img/hiver-fenetre.jpg") right center / cover no-repeat; z-index: -1; }
.winter::after { content: ""; position: absolute; top: 0; bottom: 0; right: 20%; width: 26%; background: linear-gradient(90deg, rgba(60,36,22,1), rgba(60,36,22,0)); z-index: -1; }
.winter__ico { width: 30px; height: 30px; color: var(--braise); }
.winter h3 { font-size: 28px; line-height: 1.17; letter-spacing: -.035em; margin: 14px 0 14px; }
.winter h3 span { color: var(--braise); }
.winter p { font-size: 14.5px; line-height: 1.38; color: #ece0d7; max-width: 26ch; margin: 0 0 22px; }
.winter__btn { display: inline-flex; align-items: center; gap: 10px; height: 39px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--texte); font-weight: 600; font-size: 15px; }
.winter__btn svg { width: 16px; height: 16px; }
.winter__btn:hover { background: var(--braise); color: #fff; }

/* Pages secondaires en clair, comme l'accueil */
.shop-hero, .page-hero { background: linear-gradient(90deg, #f9eee7, #f3e4d8); color: var(--texte); }
.shop-hero::before, .page-hero::before { background: radial-gradient(circle, rgba(253,85,1,.18), transparent 65%); }
.crumbs { color: #8a817a; }
.crumbs a:hover { color: var(--braise); }
.shop-hero p, .page-hero p { color: #4a423d; }
.chip { background: #fff; border-color: var(--line); color: var(--texte); }
.chip:hover { border-color: var(--braise); color: var(--braise); }
.chip.is-on { background: var(--braise); border-color: var(--braise); color: #fff; }
.steps span { background: #fff; border-color: var(--line); color: #8a817a; }
.steps span b { background: var(--creme-2); }
.steps span.is-done { color: var(--texte); }
.btn--feu { background: var(--braise); border-radius: 10px; }
.btn--dark, .btn--line, .btn--ghost { border-radius: 10px; }
.section h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

@media (max-width: 1280px) {
  .nav { margin-left: 30px; }
  .nav > a, .nav__drop > a { padding: 0 10px; }
  .header__search { max-width: 240px; }
  .catbar { padding: 0; }
  .deals2 { grid-template-columns: 1fr; }
  .winter { height: auto; min-height: 260px; }
}
@media (max-width: 1100px) {
  .nav__drop .nav__menu { display: none; }
  .nav.is-open > a, .nav.is-open .nav__drop > a { padding: 12px 6px; }
  .nav.is-open a.is-active::after { display: none; }
  .hero2__photo { width: 60%; }
  .hero2__photo::before { background: linear-gradient(90deg, #f7ebe2 0%, rgba(247,235,226,.85) 30%, rgba(247,235,226,0) 70%); }
  .catbar { grid-template-columns: repeat(11, 110px); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .trust2 { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .deals2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .topbar__track { justify-content: flex-start; animation: defile 30s linear infinite; width: max-content; padding-left: 16px; margin: 0; }
  .topbar__track .dup { display: inline; }
  .logo { font-size: 23px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__mark svg { width: 22px; height: 22px; }
  .header .icon-btn { margin-left: 0; width: 40px; }
  .hero2 { height: auto; }
  .hero2__photo { position: relative; width: 100%; height: 210px; display: block; }
  .hero2__photo::before { background: linear-gradient(0deg, #f7ebe2 0%, rgba(247,235,226,0) 40%); }
  .hero2__in { padding: 6px 0 30px; }
  .hero2 h1 { font-size: 34px; }
  .hero2 p { font-size: 15.5px; }
  .hero2 p br { display: none; }
  .hero2__ctas { flex-direction: column; gap: 12px; }
  .btn2 { justify-content: center; }
  .catbar { grid-template-columns: repeat(11, 100px); }
  .deals2__head { flex-wrap: wrap; height: auto; gap: 8px; margin-bottom: 12px; }
  .deals2__head h2 { font-size: 24px; }
  .deals2__grid { gap: 10px; }
  .p-card__media { height: 120px; }
  .price { font-size: 20px; }
  .add-btn { width: 40px; height: 32px; }
  .winter { padding: 26px; }
}

/* --- ajustements après comparaison pixel à pixel avec la maquette --- */
.topbar { font-weight: 400; }
.nav { gap: 20px; }
.nav > a, .nav__drop > a { padding: 0 7px; font-size: 14.5px; }
.header__search { margin-right: 4px; }
.hero2 h1 { font-size: 50px; margin: 5px 0 14px; }
.hero2 p { font-size: 16.6px; }
.hero2__ctas { margin-top: 24px; }
.btn2 { padding: 0 25px; }
.p-card__media { display: block; }
.p-card__media img { width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 6px; }
.catbar__img { height: 62px; margin-bottom: 6px; }
.catbar__img img { max-height: 62px; }
.catbar__tile small { font-size: 12.5px; }
.deals2 { margin-top: 30px; }
.deals2__head { margin-bottom: 12px; }
.winter p { font-size: 14px; max-width: 24ch; }
.winter__btn { font-size: 14.5px; }
.p-card__brand { margin: 6px 0 2px; }
.p-card__foot { padding-top: 4px; }
.stars { margin-top: 3px; }
.toast { translate: -50% calc(100% + 60px); visibility: hidden; transition: translate .35s cubic-bezier(.3,1.4,.6,1), visibility 0s .35s; }
.toast.is-on { translate: -50% 0; visibility: visible; transition: translate .35s cubic-bezier(.3,1.4,.6,1); }
@media (max-width: 680px) { .hero2 h1 { font-size: 31px; } }

/* Section livraison 24h / 48h */
.ship2 { margin-top: 56px; }
.ship2__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px 48px; padding: 40px 44px 32px; border-radius: 18px;
  background: linear-gradient(110deg, #fff7f1 0%, #fdeee2 60%, #fbe3d0 100%); border: 1px solid var(--line); box-shadow: 0 14px 34px -28px rgba(80,40,10,.45); }
.ship2__card::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(253,85,1,.16), transparent 65%); pointer-events: none; }
.ship2__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--braise); font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .02em; }
.ship2__kicker svg { width: 28px; height: 28px; }
.ship2 h2 { font-size: 36px; line-height: 1.08; letter-spacing: -.04em; margin: 12px 0 12px; }
.ship2 h2 span { color: var(--braise); }
.ship2__intro > p { font-size: 15.5px; line-height: 1.45; color: #4a423d; margin: 0 0 22px; max-width: 46ch; }
.ship2__timer { display: inline-flex; align-items: center; gap: 14px; background: var(--charbon); color: #fff; border-radius: 12px; padding: 14px 20px; font-size: 15px; }
.ship2__timer b { color: #ff8a3d; font-variant-numeric: tabular-nums; }
.ship2__timer small { display: block; color: #cfc3ba; font-size: 13px; margin-top: 2px; }
.ship2__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--braise); box-shadow: 0 0 0 0 rgba(253,85,1,.7); animation: pulse 1.8s infinite; flex: none; }
.ship2__offers { display: grid; gap: 12px; align-content: center; position: relative; z-index: 1; }
.ship2__offer { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.ship2__offer.is-express { border-color: var(--braise); box-shadow: 0 0 0 3px rgba(253,85,1,.1); }
.ship2__badge { flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; letter-spacing: -.03em; background: #fde6d3; color: var(--braise); }
.is-express .ship2__badge { background: var(--braise); color: #fff; }
.ship2__txt { flex: 1; min-width: 0; }
.ship2__txt strong { display: block; font-size: 15px; font-weight: 700; }
.ship2__txt span { font-size: 13.5px; color: #6b625c; }
.ship2__txt b { color: var(--texte); font-weight: 600; }
.ship2__price { text-align: right; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.ship2__price small { display: block; font-size: 12px; font-weight: 600; color: var(--vert, #2f9e6b); letter-spacing: 0; }
.ship2__steps { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 22px 0 0; border-top: 1px solid #f0dccb; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.ship2__steps li { display: flex; align-items: center; gap: 14px; position: relative; }
.ship2__steps li span { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid #f6c9a8; display: grid; place-items: center; color: var(--braise); }
.ship2__steps li span svg { width: 22px; height: 22px; }
.ship2__steps strong { display: block; font-size: 14.5px; font-weight: 700; }
.ship2__steps small { font-size: 13px; color: #6b625c; }
.ship2__more { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--braise); font-weight: 600; font-size: 14px; margin-top: -6px; }
.ship2__more svg { width: 16px; height: 16px; }
.ship-note { font-size: 14px; color: #4a423d; margin: -6px 0 12px; }
@media (max-width: 1000px) {
  .ship2__card { grid-template-columns: 1fr; padding: 30px 26px 26px; }
  .ship2__steps { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 680px) {
  .ship2 { margin-top: 40px; }
  .ship2 h2 { font-size: 28px; }
  .ship2__timer { display: flex; }
  .ship2__offer { padding: 12px; gap: 12px; }
  .ship2__badge { width: 46px; height: 46px; font-size: 15px; }
}
@media (max-width: 680px) { .ship2__card { padding: 24px 16px 22px; } .ship2__offer { padding: 12px 12px; } .ship2__price { font-size: 16px; } }

/* Logo officiel */
.logo--img { display: flex; align-items: center; flex: none; }
.logo--img img { height: 50px; width: auto; display: block; }
.header .nav { margin-left: 68px; }
.logo--foot { margin-bottom: 18px; }
.logo--foot img { height: 56px; }
@media (max-width: 1280px) { .header .nav { margin-left: 24px; } .logo--img img { height: 44px; } }
@media (max-width: 680px) { .header .logo--img { margin-right: auto; } .header .logo--img img { height: 36px; } .logo--foot img { height: 46px; } }
.logo--foot img { height: 66px; }
@media (max-width: 680px) { .logo--foot img { height: 54px; } }

.acct-dot { position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 50%; background: #2f9e6b; box-shadow: 0 0 0 2px #fdf7f2; }
.acct-dot[hidden] { display: none; }
#account-link { position: relative; }

#fav-link svg { width: 25px; height: 25px; }
@media (max-width: 680px) { #fav-link { display: none; } }
