/* =========================================================
   SuperPhone — Feuille de style
   ========================================================= */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f1222;
  --ink-soft: #5b5f73;
  --line: #e7e8f0;
  --primary: #6d5efc;
  --primary-dark: #5a47e8;
  --accent: #00d4b1;
  --danger: #ff4d6d;
  --dark: #0d0f1f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(20, 20, 50, .06);
  --shadow: 0 12px 30px rgba(30, 25, 90, .10);
  --shadow-lg: 0 30px 60px rgba(30, 25, 90, .18);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
:target { scroll-margin-top: 96px; }
[hidden] { display: none !important; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(109, 94, 252, .35); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 10px 26px rgba(109, 94, 252, .45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(109, 94, 252, .12); color: var(--primary-dark);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark); color: #cfd0e8; text-align: center;
  font-size: 13px; padding: 9px 16px; letter-spacing: .2px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 22px; height: 70px; }

.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 22px; }
.logo__mark { font-size: 24px; }
.logo__text span { color: var(--primary); }
.logo--light { color: #fff; }
.logo--light .logo__text span { color: var(--accent); }

.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav__link:hover { color: var(--ink); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.search {
  position: relative; display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 14px 0 36px; height: 42px; transition: border-color .2s, background .2s;
}
.search:focus-within { border-color: var(--primary); background: #fff; }
.search__icon { position: absolute; left: 12px; width: 17px; height: 17px; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.search input { border: none; background: transparent; outline: none; font-family: var(--font); font-size: 14px; width: 180px; color: var(--ink); }

.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .15s, background .2s;
}
.cart-btn:hover { transform: translateY(-1px); background: var(--primary); }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn__badge {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px;
  background: var(--accent); color: #06251f; font-size: 12px; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--surface);
  transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-btn__badge.is-visible { transform: scale(1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(109, 94, 252, .55), transparent 60%),
    radial-gradient(520px 360px at 12% 86%, rgba(0, 212, 177, .35), transparent 60%);
}
.hero__inner {
  position: relative; padding: 72px 22px 86px;
}
.hero__content { max-width: 680px; }
.hero__title { font-family: var(--display); font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 700; margin: 18px 0 18px; letter-spacing: -1px; }
.hero__sub { font-size: 18px; color: #c3c5e0; max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.hero__cta .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--display); font-size: 26px; }
.hero__stats span { font-size: 13px; color: #9a9cc0; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__visual .phone-svg {
  width: 260px; filter: drop-shadow(0 40px 70px rgba(0,0,0,.5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(-4deg); } }

/* ---------- Avantages ---------- */
.features { padding: 58px 0 24px; position: relative; z-index: 5; }
.features__head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { font-size: 28px; margin-bottom: 8px; }
.feature h3 { font-size: 16px; margin-bottom: 3px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Catalogue ---------- */
.catalog { padding: 64px 0 72px; scroll-margin-top: 90px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-title { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.5px; }
.section-sub { color: var(--ink-soft); margin-top: 4px; }

.filters { display: flex; gap: 9px; flex-wrap: wrap; }
.filter {
  padding: 9px 17px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all .18s;
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s;
  animation: rise .4s ease backwards;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.card__media {
  position: relative; height: 240px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, #f3f1ff, #eef0fb);
  cursor: pointer; overflow: hidden;
}
.card__media .phone-svg { width: 130px; transition: transform .35s ease; }
.card:hover .card__media .phone-svg { transform: translateY(-6px) scale(1.04); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.card__tag--promo { background: var(--danger); }
.card__fav {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.8); backdrop-filter: blur(6px); cursor: pointer;
  display: grid; place-items: center; font-size: 16px; transition: transform .15s, background .2s; color: var(--ink-soft);
}
.card__fav:hover { transform: scale(1.12); }
.card__fav.is-fav { color: var(--danger); }

.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; }
.card__name { font-size: 17px; font-weight: 700; margin: 2px 0 8px; cursor: pointer; }
.card__name:hover { color: var(--primary); }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 12px; background: var(--bg); color: var(--ink-soft); padding: 4px 9px; border-radius: 7px; }

.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; }
.price__now { font-family: var(--display); font-size: 21px; font-weight: 700; }
.price__old { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.card__add {
  border: none; background: var(--primary); color: #fff; width: 44px; height: 44px;
  border-radius: 12px; cursor: pointer; font-size: 22px; display: grid; place-items: center;
  transition: transform .15s, background .2s; flex-shrink: 0;
}
.card__add:hover { background: var(--primary-dark); transform: scale(1.06); }

.empty { text-align: center; color: var(--ink-soft); padding: 60px 0; font-size: 18px; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), #8b5cf6 60%, var(--accent));
  color: #fff; border-radius: 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 22px; }
.cta-band h2 { font-family: var(--display); font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #b9bbdb; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 30px; padding-bottom: 38px; }
.footer__brand p { margin-top: 12px; font-size: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__grid a { display: block; font-size: 14px; padding: 5px 0; color: #b9bbdb; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.footer .newsletter { display: flex; gap: 8px; margin-top: 12px; }
.footer .newsletter input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: 999px; padding: 11px 16px; outline: none; font-family: var(--font); }
.footer .newsletter input::placeholder { color: #8688ad; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 22px 30px; font-size: 13px; color: #8688ad; }

/* ---------- Panier (tiroir) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10,10,25,.45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 50; }
.overlay.is-open { opacity: 1; visibility: visible; }

.cart {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 90vw;
  background: var(--surface); z-index: 60; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.cart.is-open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-family: var(--display); font-size: 21px; }
.cart__close { border: none; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 15px; color: var(--ink-soft); transition: background .2s; }
.cart__close:hover { background: var(--line); }

.cart__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart__empty { text-align: center; color: var(--ink-soft); padding: 60px 10px; }
.cart__empty span { font-size: 48px; display: block; margin-bottom: 12px; }

.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 64px; height: 76px; border-radius: 12px; background: radial-gradient(120% 120% at 50% 0%, #f3f1ff, #eef0fb); display: grid; place-items: center; flex-shrink: 0; }
.cart-item__media .phone-svg { width: 36px; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-size: 15px; font-weight: 600; }
.cart-item__meta { font-size: 12px; color: var(--ink-soft); }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { border: none; background: var(--bg); width: 28px; height: 28px; cursor: pointer; font-size: 16px; color: var(--ink); transition: background .15s; }
.qty button:hover { background: var(--line); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-item__price { font-weight: 700; font-family: var(--display); }
.cart-item__remove { border: none; background: none; color: var(--ink-soft); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; margin-top: 4px; }
.cart-item__remove:hover { color: var(--danger); }

.cart__foot { border-top: 1px solid var(--line); padding: 18px 22px 24px; }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cart__row strong { font-family: var(--display); font-size: 24px; }
.cart__note { font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Modale fiche produit ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,10,25,.5); backdrop-filter: blur(3px); }
.modal__card {
  position: relative; max-width: 880px; width: calc(100% - 40px); max-height: 90vh; overflow: auto;
  margin: 5vh auto 0; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg);
  animation: pop .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; border: none; background: rgba(255,255,255,.9); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.modal__content { display: grid; grid-template-columns: 1fr 1fr; }
.modal__media { background: radial-gradient(120% 120% at 50% 0%, #f3f1ff, #eef0fb); display: grid; place-items: center; padding: 40px; border-radius: 22px 0 0 22px; }
.modal__media .phone-svg { width: 200px; filter: drop-shadow(0 30px 50px rgba(40,30,90,.25)); }
.modal__info { padding: 36px 34px; }
.modal__info .card__brand { font-size: 13px; }
.modal__info h2 { font-family: var(--display); font-size: 28px; margin: 4px 0 10px; }
.modal__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.modal__desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
.modal__save { font-size: 12px; font-weight: 700; color: #1f7a52; background: #e6f7ef; padding: 4px 10px; border-radius: 999px; }
.modal__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 16px 0 20px; }
.modal__perks span { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.modal__spectitle { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.modal__price .price__now { font-size: 30px; }
.spec-list { list-style: none; margin: 0 0 22px; }
.spec-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list li span:first-child { color: var(--ink-soft); }
.spec-list li span:last-child { font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 80;
  opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s; pointer-events: none;
  display: flex; align-items: center; gap: 8px;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Modale info / formulaires ---------- */
.modal--info .modal__content { display: block; }
.modal__simple { padding: 34px 34px 36px; }
.modal__simple h2 { font-family: var(--display); font-size: 24px; margin-bottom: 6px; }
.modal__simple > p { color: var(--ink-soft); margin-bottom: 16px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 14px 0 22px; }
.info-list li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.info-list strong { color: var(--ink); }
.contact-info { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; }
.contact-info p { font-size: 14px; margin: 4px 0; }

.info-form { display: flex; gap: 10px; margin-top: 6px; }
.info-form--col { flex-direction: column; }
.info-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.info-form input, .info-form select, .info-form textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink); width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  background: #fff; outline: none; transition: border-color .2s;
}
.info-form input:focus, .info-form select:focus, .info-form textarea:focus { border-color: var(--primary); }
.info-form textarea { min-height: 110px; resize: vertical; }

.track { margin-top: 18px; }
.track__step { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--ink-soft); font-size: 14px; }
.track__step .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.track__step.done { color: var(--ink); font-weight: 600; }
.track__step.done .dot { background: var(--accent); border-color: var(--accent); }
.track__step.current .dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(109,94,252,.2); }
.track__eta { margin-top: 12px; font-size: 14px; background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; }

/* ---------- Pages légales ---------- */
.legal-topbar { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.legal-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.legal-back:hover { color: var(--primary); }

.legal { max-width: 820px; margin: 0 auto; padding: 44px 22px 80px; }
.legal h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 38px); letter-spacing: -.5px; margin-bottom: 6px; }
.legal-updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-family: var(--display); font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: #2c2f3f; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--primary); text-decoration: underline; }
.legal strong { color: var(--ink); }

.legal-note { background: #eef0fb; border: 1px solid #d9defb; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; color: #3a3f63; margin-bottom: 26px; }
.legal-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 14px 0; font-size: 14px; }
.fill { background: #fff3cd; color: #715200; padding: 1px 5px; border-radius: 4px; font-style: normal; }

.legal-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.legal-footer .container { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.legal-footer p { font-size: 13px; color: var(--ink-soft); }

/* Liens légaux (pieds de page) */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.footer__legal a, .footer__legal .linklike { font-size: 13px; color: var(--ink-soft); }
.footer .footer__legal a, .footer .footer__legal .linklike { color: #b9bbdb; }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--primary); }
.footer .footer__legal a:hover, .footer .footer__legal .linklike:hover { color: #fff; }
.linklike { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font); text-decoration: underline; }

/* ---------- Bandeau cookies ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px; }
.cookie[hidden] { display: none; }
.cookie h3 { font-size: 17px; margin-bottom: 6px; }
.cookie__main p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.cookie a { color: var(--primary); text-decoration: underline; }
.cookie__prefs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cookie__pref { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; }
.cookie__pref small { color: var(--ink-soft); font-size: 12px; }
.cookie__pref input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { padding: 11px 18px; font-size: 14px; }

/* ---------- Photos produit (rendus) ---------- */
.phone-photo { display: block; }
.card__media .phone-photo { height: 210px; width: auto; max-width: 86%; object-fit: contain; transition: transform .35s ease; }
.card:hover .card__media .phone-photo { transform: translateY(-6px) scale(1.04); }
.modal__media .phone-photo { height: 300px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 44px rgba(40, 30, 90, .22)); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero__visual { display: none; }
  .modal__content { grid-template-columns: 1fr; }
  .modal__media { border-radius: 22px 22px 0 0; padding: 28px; }
  .modal__media .phone-svg { width: 150px; }
}
@media (max-width: 680px) {
  .search { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card__media { height: 190px; }
  .card__media .phone-svg { width: 100px; }
  .hero__stats { gap: 22px; }
}
@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}
