/* =====================================================================
   Solution Accessoires — style « Boutique » (même maison que solution-phone.fr)
   Sobre : blanc et #f5f5f7, texte #1d1d1f, rouge #e30613 en accent.
   ===================================================================== */
:root {
  --red: #e30613;
  --red-dark: #b8050f;
  --red-text: #b3121f;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #e5e5ea;
  --line-2: #d2d2d7;
  --white: #ffffff;
  --radius: 18px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body { font-family: var(--font); font-weight: 500; color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--red-text); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.link { color: var(--red-text); font-weight: 700; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.hd-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; padding: 2px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-txt strong em { font-style: normal; font-weight: 500; }
.brand-txt small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
/* Bouton « Boutique » en relief, identique au site principal */
.hd-nav a.nav-boutique { padding: 9px 17px; margin: 0 4px 4px; border: 1px solid #f06870; border-bottom-color: #ae1722; border-radius: 10px; background: linear-gradient(155deg, #ed3847 0%, #cc1424 60%, #ae101d 100%); color: #fff; font-weight: 750; box-shadow: 0 4px 0 #800c17, 0 7px 12px #a10d2026, inset 0 1px 0 #ffffff55; text-shadow: 0 1px 1px #65091355; transition: transform .16s, box-shadow .16s; }
.hd-nav a.nav-boutique:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #800c17, 0 10px 16px #a10d2033, inset 0 1px 0 #ffffff55; color: #fff; background: linear-gradient(155deg, #ed3847 0%, #cc1424 60%, #ae101d 100%); }
.hd-nav a.nav-boutique:active { transform: translateY(3px); box-shadow: 0 1px 0 #800c17, inset 0 1px 0 #ffffff33; }
.hd-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hd-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); white-space: nowrap; }
.hd-phone:hover { border-color: var(--ink); }
.hd-phone .short, .hd-phone .ico-tel { display: none; }
.hd-wa { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 17px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 750; white-space: nowrap; }
.hd-wa:hover { background: var(--red-dark); }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 96px; background: var(--soft); color: var(--ink); font-size: 13px; }
.partner-strip { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.partner-strip .copy { color: var(--ink-2); font-size: 14px; }
.partner-strip .copy strong { color: var(--ink); }
.footer-cols { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.f-brand .logo { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.f-brand .logo span { font-weight: 500; }
.f-brand p { color: var(--muted); margin-top: 8px; line-height: 1.6; max-width: 320px; }
.f-col h4 { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.f-col ul { list-style: none; }
.f-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.f-col a:hover { color: var(--red-text); }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.footer-bottom .legal { display: flex; gap: 14px; align-items: center; }
.footer-bottom .legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1120px) {
  .hd-inner { flex-wrap: wrap; row-gap: 4px; padding: 8px 16px 6px; }
  .hd-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; padding: 0 0 6px; }
  .hd-nav::-webkit-scrollbar { display: none; }
  .hd-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand img { width: 34px; height: 34px; }
  .brand-txt strong { font-size: 14.5px; }
  .brand-txt small { display: none; }
  .hd-inner { column-gap: 10px; }
  .hd-actions { gap: 6px; }
  .hd-phone { width: 44px; height: 44px; padding: 0; }
  .hd-phone .full, .hd-phone .short { display: none; }
  .hd-phone .ico-tel { display: block; }
  .hd-wa { padding: 10px 14px; }
  .hd-wa .arr { display: none; }
  .hd-nav a.nav-boutique { order: -1; margin-left: 0; }
  .site-footer { margin-top: 72px; }
  .partner-strip .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Barre de contact fixe en bas (mobile) ---------- */
.sa-contact { display: none; }
@media (max-width: 899.98px) {
  .sa-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .sa-contact a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 4px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.15; text-align: center; }
  .sa-contact small { font-size: 11px; font-weight: 600; white-space: nowrap; opacity: .9; }
  .sa-contact .sa-c-tel { background: var(--ink); border-color: var(--ink); color: #fff; }
  .sa-contact .sa-c-wa { background: #0f7a3d; border-color: #0f7a3d; color: #fff; }
  .sa-contact a:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }
  /* Si le menu commun ne s'est pas chargé, on garde de la place sous le contenu */
  html:not(.mc-js) body { padding-bottom: 80px; }
}
