/* ============ AVINFC — styles globaux ============ */
:root {
  --navy: #0a1120;
  --navy-2: #101a2e;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-bg: #eef4ff;
  --gold: #fbbf24;
  --green: #16a34a;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #93a4c3;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 17, 32, 0.10);
  --shadow-soft: 0 4px 14px rgba(10, 17, 32, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* la plaque 3D inclinée ne doit pas élargir la page (mobile) */
}

/* height:auto est indispensable dès qu'on met width/height en attributs HTML,
   sinon l'image est étirée quand le CSS contraint sa largeur. */
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.logo:hover { text-decoration: none; }
.logo .nfc-dot { color: var(--blue-light); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #cbd5e1; font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 10px 18px;
  border-radius: 10px; font-weight: 600 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-light); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Annonce ---------- */
.topbar {
  background: var(--blue); color: #fff; text-align: center;
  font-size: 0.85rem; font-weight: 600; padding: 8px 16px;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 75% -10%, #1d3461 0%, var(--navy) 55%);
  color: #fff; padding: 84px 0 96px; overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35);
  color: #9cc0ff; font-size: 0.82rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15;
  font-weight: 800; letter-spacing: -1px; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--blue-light); }
.hero p.lead { font-size: 1.13rem; color: var(--muted-2); max-width: 34rem; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; flex: none; }
.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45)); }

/* ---------- Plaque 3D interactive ---------- */
.plate3d-scene {
  perspective: 1100px;
  display: flex; justify-content: center; align-items: center;
  padding: 20px 0;
  touch-action: pan-y; /* le doigt pilote la plaque, le scroll vertical reste possible */
}
.plate3d-float {
  animation: plateFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 45px 45px rgba(0, 0, 0, 0.45));
}
.plate3d {
  position: relative;
  width: min(400px, 66vw); /* plaque carrée 12 × 12 cm — 66vw laisse la place à la rotation 3D */
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(6deg);
  transition: transform .3s ease-out;
  border-radius: 28px;
  animation: plateSway 7s ease-in-out infinite;
}
.plate3d.grabbed { animation: none; }
@keyframes plateSway {
  0%, 100% { transform: rotateY(-20deg) rotateX(7deg); }
  50% { transform: rotateY(16deg) rotateX(2deg); }
}
.plate3d::before {
  /* épaisseur / tranche de la plaque */
  content: "";
  position: absolute; inset: 0;
  background: #cbd5e1;
  border-radius: 28px;
  transform: translateZ(-9px);
}
.plate3d img {
  width: 100%; display: block;
  border-radius: 28px;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.plate3d-gloss {
  position: absolute; inset: 0;
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.05) 30%, transparent 55%);
  pointer-events: none;
  transform: translateZ(1px);
}
@keyframes plateFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .plate3d-float, .plate3d { animation: none; }}

/* Images produit (visuel carré) */
.product-card .p-img img { width: 100%; max-width: 260px; height: auto; margin: 0 auto; border-radius: 12px; }

/* Galerie produit avec photo réelle */
.product-gallery.photo { padding: 0; background: none; overflow: hidden; }
.product-gallery.photo img { width: 100%; display: block; border-radius: var(--radius); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; border-radius: 12px; cursor: pointer;
  padding: 15px 28px; border: 0; transition: transform .15s, background .2s, box-shadow .2s;
  text-decoration: none !important;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Bande de stats ---------- */
.stats-band { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,0.06); }
.stats-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 24px;
}
.stat { text-align: center; color: #fff; }
.stat .num { font-size: 1.9rem; font-weight: 800; color: var(--blue-light); letter-spacing: -1px; }
.stat .lbl { font-size: 0.86rem; color: var(--muted-2); }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 56px; }
.section-head .kicker {
  color: var(--blue); font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.8rem; display: block; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cartes / grilles ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-soft);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue-bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Étapes */
.step { position: relative; }
.step .step-num {
  position: absolute; top: 22px; right: 24px; font-size: 2.6rem; font-weight: 800;
  color: var(--blue-bg); line-height: 1;
}

/* ---------- Comparatif NFC vs QR ---------- */
.compare { overflow-x: auto; }
.compare table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); min-width: 560px;
}
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 0.96rem; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare thead th.nfc-col { background: var(--blue); }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare td.yes { color: var(--green); font-weight: 700; }
.compare td.no { color: #dc2626; font-weight: 600; }

/* Mobile : tableau compact, entièrement visible sans défilement latéral */
@media (max-width: 620px) {
  .compare { overflow-x: visible; }
  .compare table { min-width: 0; table-layout: fixed; }
  .compare th, .compare td {
    padding: 10px 8px; font-size: 0.74rem; line-height: 1.25;
    word-break: break-word; hyphens: auto;
  }
  .compare thead th { font-size: 0.72rem; }
  .compare th:first-child, .compare td:first-child { width: 34%; }
  .compare th:nth-child(2), .compare td:nth-child(2),
  .compare th:nth-child(3), .compare td:nth-child(3) { width: 33%; }
}

/* ---------- Produit (cartes boutique) ---------- */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .p-img { background: linear-gradient(160deg, #f1f5f9, #e2e8f0); padding: 28px; }
.product-card .p-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { font-size: 1.1rem; font-weight: 700; }
.product-card .p-desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.badge-promo {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: var(--navy); font-size: 0.75rem; font-weight: 800;
  padding: 5px 11px; border-radius: 999px;
}
.per-unit { font-size: 0.82rem; color: var(--green); font-weight: 600; }

/* ---------- Page produit ---------- */
.product-page { padding: 60px 0 90px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery {
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  border-radius: var(--radius); padding: 44px; position: sticky; top: 96px;
}
.product-info h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.rating-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.product-info .price { font-size: 2.1rem; }
.tva-note { color: var(--muted); font-size: 0.85rem; }
.benefit-list { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; }
.benefit-list li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.pack-options { display: grid; gap: 12px; margin: 26px 0; }
.pack-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 2px solid var(--border); border-radius: 12px; padding: 15px 18px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.pack-option:hover { border-color: var(--blue-light); }
.pack-option.selected { border-color: var(--blue); background: var(--blue-bg); }
.pack-option .pk-left { display: flex; align-items: center; gap: 12px; }
.pack-option input { accent-color: var(--blue); width: 18px; height: 18px; }
.pack-option .pk-name { font-weight: 700; font-size: 0.97rem; }
.pack-option .pk-sub { font-size: 0.82rem; color: var(--green); font-weight: 600; }
.pack-option .pk-price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }

.qty-row { display: flex; align-items: center; gap: 16px; margin: 22px 0; }
.qty-stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.qty-stepper button {
  width: 42px; height: 46px; background: var(--bg-soft); border: 0; font-size: 1.2rem;
  cursor: pointer; font-weight: 700; color: var(--navy);
}
.qty-stepper button:hover { background: var(--border); }
.qty-stepper input {
  width: 52px; height: 46px; border: 0; text-align: center; font-size: 1rem;
  font-weight: 700; -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.reassurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.reassurance .r-item {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 12px; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--text);
}
.reassurance .r-item svg { width: 22px; height: 22px; margin: 0 auto 7px; }

/* Relance panier : il ne manque parfois qu'une plaque pour le port offert */
.ship-nudge {
  font-size: .82rem; color: var(--blue); background: var(--blue-bg);
  border-radius: 8px; padding: 7px 11px; margin: 2px 0 4px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0;
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 19px 22px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Garanties bannière ---------- */
.guarantee-banner {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px;
}
.guarantee-banner .g-item { display: flex; gap: 18px; align-items: flex-start; }
.guarantee-banner .g-item svg { width: 40px; height: 40px; flex: none; }
.guarantee-banner h3 { font-size: 1.2rem; margin-bottom: 7px; }
.guarantee-banner p { color: var(--muted-2); font-size: 0.95rem; }

/* ---------- CTA final ---------- */
.final-cta { background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; text-align: center; }
.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.final-cta p { color: #dbeafe; max-width: 36rem; margin: 0 auto 30px; }
.final-cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.final-cta .btn-primary:hover { background: var(--blue-bg); }

/* ---------- Panier / commande ---------- */
.cart-page { padding: 60px 0 90px; min-height: 55vh; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.97rem; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 16px; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.free-ship { color: var(--green); font-weight: 700; }
.empty-cart .btn { margin-top: 20px; }
.ship-option.selected { border-color: var(--blue); background: var(--blue-bg); }
.ship-option .ship-price.free { color: var(--green); }
#mr-widget { min-height: 420px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
#mr-widget iframe { border: 0; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.97rem; font-family: inherit; background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue-light); border-color: transparent; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 5px; }
.checkout-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-top: 26px; }
.checkout-box h2 { font-size: 1.25rem; margin-bottom: 20px; }
.notice {
  background: var(--blue-bg); border: 1px solid #bfdbfe; color: #1e3a8a;
  border-radius: 12px; padding: 15px 18px; font-size: 0.9rem; margin: 18px 0;
}
.notice.green { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }

/* ---------- Pages légales / contenu ---------- */
.legal-page { padding: 60px 0 90px; max-width: 50rem; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.legal-page .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 36px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 0.97rem; margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; }
.placeholder { background: #fef9c3; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-2); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 15px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--muted-2); font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.84rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .product-layout, .cart-layout { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-banner { grid-template-columns: 1fr; padding: 34px 26px; }
  .product-gallery { position: static; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open { display: flex; }
  .burger { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .ci-total { grid-column: 2; }
}

/* ============ BLOG ============ */
.blog-hero { background: radial-gradient(1000px 500px at 75% -20%, #1d3461 0%, var(--navy) 60%); color: #fff; padding: 66px 0 54px; }
.blog-hero .kicker { color: var(--blue-light); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; }
.blog-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; margin: 12px 0 10px; }
.blog-hero p { color: var(--muted-2); font-size: 1.05rem; max-width: 40rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 64px 0 88px; }
.blog-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-soft); display:flex; flex-direction:column; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration:none; }
.blog-card .bc-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--blue), #1e3a8a); display:flex; align-items:center; justify-content:center; font-size: 2.6rem; }
.blog-card .bc-body { padding: 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-card .bc-tag { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color: var(--blue); }
.blog-card h2 { font-size:1.12rem; font-weight:700; color: var(--text); line-height:1.3; }
.blog-card p { color: var(--muted); font-size:.93rem; flex:1; }
.blog-card .bc-more { color: var(--blue); font-weight:700; font-size:.9rem; }

/* Article */
.article { max-width: 46rem; margin: 0 auto; padding: 50px 0 80px; }
.breadcrumb { font-size:.85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.article-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-bottom: 14px; }
.article-meta { display:flex; gap: 14px; align-items:center; color: var(--muted); font-size:.88rem; margin-bottom: 30px; flex-wrap:wrap; }
.article-meta .tag { background: var(--blue-bg); color: var(--blue); font-weight:700; padding: 4px 11px; border-radius: 999px; font-size:.78rem; }
.article-lead { font-size: 1.15rem; color: var(--text); line-height: 1.6; margin-bottom: 30px; font-weight: 500; }
.article-content > h2 { font-size: 1.5rem; font-weight: 800; letter-spacing:-.3px; margin: 40px 0 14px; }
.article-content > h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
.article-content p { color: var(--text); font-size: 1.02rem; line-height: 1.72; margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin: 0 0 18px; display: grid; gap: 9px; }
.article-content li { color: var(--text); font-size: 1.02rem; line-height: 1.6; }
/* :not(.btn) — sinon cette règle écrase la couleur du texte des boutons,
   qui devient bleu sur fond bleu et donc illisible. */
.article-content a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; }
.article-content strong { font-weight: 700; }
.article-content blockquote { border-left: 4px solid var(--blue); background: var(--bg-soft); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--text); font-style: italic; }
.article-content .info-box { background: var(--blue-bg); border: 1px solid #bfdbfe; border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.article-content .info-box p { margin: 0; color: #1e3a8a; }
.article-cta { background: var(--navy); color:#fff; border-radius: 18px; padding: 34px; margin: 40px 0 0; text-align:center; }
.article-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.article-cta p { color: var(--muted-2); margin-bottom: 20px; }
.article-faq { margin-top: 44px; }
.article-faq h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }

@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; }}
.star-input button.on { color: var(--gold); }

/* Logo image dans la barre de navigation */
.logo img { height: 30px; width: auto; display: block; }
@media (max-width: 620px) { .logo img { height: 24px; }}

/* ============================================================
   FORMULAIRE DE COMMANDE (contact.html)
   Le paiement en ligne a été retiré : le client compose sa
   commande ici, la facture lui parvient ensuite par email.
   ============================================================ */

/* --- Les trois étapes, en tête de page --- */
.steps-inline {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 0; padding: 0;
}
.steps-inline li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; font-size: 0.86rem; line-height: 1.45;
}
.steps-inline .si-num {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 0.8rem;
  display: grid; place-items: center;
}

/* --- Bascule commande / question --- */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mode-choice {
  border: 2px solid var(--border); border-radius: 12px; padding: 13px;
  text-align: center; font-weight: 700; font-size: 0.92rem;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.mode-choice:hover { border-color: var(--blue-light); }
.mode-choice.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.mode-choice input { position: absolute; opacity: 0; pointer-events: none; }

/* --- Lignes produit avec sélecteur de quantité --- */
.order-line {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  border: 2px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 10px;
  transition: border-color .15s, background .15s;
}
.order-line.selected { border-color: var(--blue); background: var(--blue-bg); }
.order-line .ol-name { font-weight: 700; font-size: 0.95rem; }
.order-line .ol-sub { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.order-line .ol-price { font-size: 1rem; white-space: nowrap; }
.order-line .ol-price .price-old {
  color: var(--muted); text-decoration: line-through; font-size: 0.85rem; font-weight: 500;
}

/* --- Récapitulatif chiffré --- */
.recap-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; margin-top: 16px;
}

@media (max-width: 620px) {
  .steps-inline { grid-template-columns: 1fr; }
  .order-line { grid-template-columns: 1fr auto; }
  .order-line .qty-stepper { grid-column: 2; }
  .order-line .ol-price { grid-column: 1; grid-row: 2; }}

/* --- « Pourquoi le paiement ne se fait pas sur le site » (contact.html) --- */
.why-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-top: 30px;
}
.why-box h2 { font-size: 1.2rem; margin-bottom: 6px; }
.why-box .why-intro { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.why-item .why-ico { font-size: 1.35rem; line-height: 1.2; flex: 0 0 auto; }
.why-item strong { display: block; font-size: 0.97rem; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.why-item p strong { display: inline; color: var(--text); }
.why-foot {
  border-top: 1px solid var(--border); padding-top: 15px; margin: 22px 0 0;
  font-size: 0.88rem; color: var(--muted);
}
/* --- Situation du client et adresse de facturation (contact.html) --- */
.situation-choice {
  border: 2px solid var(--border); border-radius: 12px; padding: 13px;
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.situation-choice:hover { border-color: var(--blue-light); }
.situation-choice.selected { border-color: var(--blue); background: var(--blue-bg); }
.situation-choice input { position: absolute; opacity: 0; pointer-events: none; }
.situation-choice span { display: block; font-weight: 700; font-size: 0.92rem; }
.situation-choice.selected span { color: var(--blue); }
.situation-choice small { display: block; margin-top: 3px; font-size: 0.78rem; color: var(--muted); }

.case-a-cocher {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  font-size: 0.9rem; color: var(--text);
}
.case-a-cocher input { width: 17px; height: 17px; accent-color: var(--blue); cursor: pointer; }

/* Sur un écran étroit, les deux choix de situation portent trop de texte
   pour tenir côte à côte : empilés, ils redeviennent lisibles au pouce. */
@media (max-width: 480px) {
  .situation-switch { grid-template-columns: 1fr; }
  .situation-choice { text-align: left; padding: 12px 14px; }
}

/* --- Support de comptoir (produit.html) --- */
.support-lead { max-width: 46rem; margin: 0 auto 26px; }
.support-lead p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.support-lead strong { color: var(--text); }

.support-cta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  background: var(--blue-bg); border: 1px solid var(--accent-line, var(--border));
  border-radius: var(--radius); padding: 22px 26px; margin-top: 26px;
}
.support-cta .sc-name { font-weight: 800; font-size: 1.05rem; }
.support-cta .sc-note { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.support-cta .sc-buy { display: flex; align-items: center; gap: 16px; }
.support-cta .sc-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); white-space: nowrap; }

@media (max-width: 620px) {
  .support-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .support-cta .sc-buy { justify-content: center; }
}

/* Photo du support, à côté de l'explication technique */
.support-intro { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center; margin-bottom: 28px; }
.support-photo { margin: 0; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.support-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.support-intro .support-lead { max-width: none; margin: 0; }

@media (max-width: 860px) {
  .support-intro { grid-template-columns: 1fr; gap: 20px; }
  .support-photo { max-width: 340px; margin: 0 auto; }
}

/* --- Bandeau accessoire (index.html), sous les cartes de formules --- */
.accessoire {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; align-items: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 26px; box-shadow: var(--shadow-soft);
}
.accessoire .acc-img { background: var(--bg-soft); border-radius: 12px; padding: 8px; }
.accessoire .acc-img img { display: block; width: 100%; height: auto; border-radius: 8px; }
.accessoire .acc-kicker {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-bg);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
}
.accessoire h3 { margin: 0 0 6px; font-size: 1.15rem; }
.accessoire p { margin: 0 0 10px; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.accessoire p strong { color: var(--text); }
.accessoire .acc-plus { font-size: .88rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.accessoire .acc-plus:hover { text-decoration: underline; }
.accessoire .acc-buy { display: grid; gap: 10px; justify-items: center; }
.accessoire .acc-buy .price { font-size: 1.55rem; font-weight: 800; color: var(--navy); white-space: nowrap; }

@media (max-width: 860px) {
  .accessoire { grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; }
  .accessoire .acc-buy { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}
