/* =========================================================
   ALL TECH PLUS : feuille de style
   Bleu marine #04244D et bleu vif #1683D6 du logo, sable chaud
   repris du mur capitonné de la boutique.
   Titres en Montserrat (police du logo), texte en Nunito Sans.
   ========================================================= */
:root {
  --navy: #04244D;
  --navy-2: #0A3266;
  --blue: #1683D6;
  --blue-ink: #0F6CB5;
  --blue-50: #EAF3FC;
  --sand: #F5EFE6;
  --sand-2: #E9DFCF;
  --sand-ink: #6B5532;

  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --surface: #FFFFFF;
  --surface-2: #EFF2F6;
  --border: #DDE3EA;
  --text: #0E1A2B;
  --text-2: #3F4C5E;
  --muted: #5F6B7C;
  --ok: #0E7F57;
  --warn: #A86200;
  --err: #C62828;

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --shadow-float: 0 12px 40px rgba(4, 36, 77, .16);
  --header-h: 68px;
  --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg: #0B1A30;
  --bg-alt: #0E1F38;
  --surface: #12263F;
  --surface-2: #1A3150;
  --border: #263F62;
  --text: #EAF0F8;
  --text-2: #BCC8D8;
  --muted: #95A5BA;
  --blue: #4BA3EA;
  --blue-ink: #7CBDF2;
  --blue-50: #16304F;
  --sand: #1A2A3F;
  --sand-2: #24364E;
  --sand-ink: #D9C39C;
  --ok: #4CC79A;
  --warn: #F0B455;
  --err: #FF7B7B;
  --shadow-float: 0 12px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.18; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-2); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
i[data-i] { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
i[data-i] svg { width: 100%; height: 100%; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 48px); }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--bg-alt); }
.lead { font-size: 1.14rem; max-width: 640px; color: var(--text-2); }
.fine { font-size: .86rem; color: var(--muted); margin: 0; }
.empty { padding: 32px 0; color: var(--muted); }
.dev-note { background: #FFF4D6; color: #5A4300; font-size: .85rem; padding: 8px 24px; border-bottom: 1px solid #EED89A; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border-radius: var(--r); font-weight: 700; font-size: .96rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; position: relative; line-height: 1.2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
[data-theme="dark"] .btn-primary { color: #06182F; }
[data-theme="dark"] .btn-primary:hover { background: #8CC7F5; }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--text); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-link { color: var(--blue-ink); text-decoration: underline; padding: 8px 4px; font-weight: 700; font-size: .93rem; }
.btn-link.light { color: #CFE2F7; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.is-loading { color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #fff; border-color: #fff #fff transparent transparent; animation: spin .7s linear infinite; }
.btn-outline.is-loading::after { border-color: var(--blue) var(--blue) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: var(--r); display: grid; place-items: center; color: var(--text-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn i { width: 21px; height: 21px; }
.count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .68rem; display: none; place-items: center; font-weight: 700; }
.count.show { display: grid; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 44px; }
.logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: block; }
.wordmark { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.w-all, .w-plus { color: var(--blue); }
.w-tech { color: var(--navy); }
[data-theme="dark"] .w-tech { color: #fff; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 11px; font-weight: 700; font-size: .94rem; color: var(--text-2); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--blue); }
.nav .nav-home, .nav .nav-rdv { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.header-rdv { margin-left: 8px; }
.open-status { font-size: .8rem; font-weight: 700; padding: 3px 10px 3px 8px; border-radius: 20px; white-space: nowrap; margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-status.open { color: var(--ok); }
.open-status.closed { color: var(--muted); }
.menu-btn { display: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Haut des pages intérieures ---------- */
.page-top { background: var(--sand); padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--sand-2); }
.page-top h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-top .lead { margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--sand-ink); margin-bottom: 14px; }
.crumbs a { color: var(--sand-ink); }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px 24px; flex-wrap: wrap; font-weight: 700; font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts i { color: var(--ok); }

/* ---------- Accueil ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro-status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--text-2); margin-bottom: 20px; padding: 5px 12px 5px 10px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.intro-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); max-width: 13em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin: 20px 0 32px; font-size: 1.18rem; }
.hero .btn-lg i { width: 18px; height: 18px; transition: transform .2s; }
.hero .btn-primary:hover i { transform: translateX(3px); }
.hero-card { background: var(--navy); color: #fff; border-radius: 14px 14px 14px 2px; padding: clamp(26px, 3.5vw, 40px); position: relative; overflow: hidden; }
[data-theme="dark"] .hero-card { background: #071629; border: 1px solid var(--border); }
.hero-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border: 28px solid var(--blue); opacity: .18; transform: rotate(45deg); }
.hero-card img { width: 150px; margin-bottom: 18px; position: relative; z-index: 1; }
.hero-card ol { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.hero-card a { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-top: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 1.04rem; transition: padding .2s, color .2s; }
.hero-card a span { font-size: .78rem; color: #7CBDF2; font-weight: 800; width: 22px; }
.hero-card a i { margin-left: auto; width: 18px; height: 18px; opacity: .45; transition: transform .2s, opacity .2s; }
.hero-card a:hover { padding-left: 10px; color: #CFE6FB; }
.hero-card a:hover i { opacity: 1; transform: translateX(3px); }
.facts-strip { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 22px clamp(18px, 3vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; background: var(--sand); border-radius: var(--r-lg); }
.facts-strip li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.facts-strip li + li { border-left: 1px solid var(--sand-2); padding-left: 20px; }
.facts-strip i { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.facts-strip b { display: block; color: var(--text); font-family: var(--font-title); font-size: .95rem; }

/* Entrée du haut de page */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .hero-card { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .14s; }
  .hero-text > :nth-child(4) { animation-delay: .22s; }
  .hero-card { animation-delay: .18s; }
  .facts-strip { animation: rise .7s .3s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

.about { background: var(--navy); color: #fff; }
[data-theme="dark"] .about { background: #071629; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.about h2, .about h3 { color: #fff; }
.about-lead p { color: #D4E1F2; font-size: 1.22rem; line-height: 1.55; margin: 0; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-cols > div { padding-top: 18px; border-top: 2px solid var(--blue); }
.about-cols p { color: #B9CCE6; }
.about-cols a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.about-cols a i { width: 16px; height: 16px; transition: transform .2s; }
.about-cols a:hover { text-decoration: underline; }
.about-cols a:hover i { transform: translateX(3px); }

.services-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.services-intro p { margin-bottom: 22px; }
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.service-list li { border-bottom: 1px solid var(--border); }
.service-list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 16px; padding: 24px 14px 24px 6px; text-decoration: none; color: inherit; position: relative; transition: background-color .2s; border-radius: var(--r); }
.service-list .num { grid-row: 1 / 3; font-family: var(--font-title); font-weight: 800; color: var(--blue); font-size: .95rem; padding-top: 3px; }
.service-list b { font-family: var(--font-title); font-size: 1.2rem; grid-column: 2; }
.service-list span:not(.num) { color: var(--text-2); grid-column: 2; }
.service-list i { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1.5px solid var(--border); color: var(--blue); transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.service-list a:hover { background: var(--bg-alt); }
.service-list a:hover b { color: var(--blue-ink); }
.service-list a:hover i { transform: translateX(4px); background: var(--blue); border-color: var(--blue); color: #fff; }

.tools-band { background: var(--bg-alt); }
.tools-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px; align-items: end; margin-bottom: 32px; }
.tools-head h2 { margin: 0; }
.tools-head p { margin: 0; font-size: 1.08rem; }
.tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tools a { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; height: 100%; text-decoration: none; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .2s, transform .2s; font-size: .95rem; }
.tools a > i { width: 44px; height: 44px; padding: 11px; border-radius: var(--r); background: var(--sand); color: var(--sand-ink); flex: none; transition: background-color .2s, color .2s; }
.tools b { display: block; font-family: var(--font-title); color: var(--text); margin-bottom: 2px; font-size: 1rem; }
.tools a:hover { border-color: var(--blue); transform: translateY(-2px); }
.tools a:hover > i { background: var(--blue); color: #fff; }

.steps-band { background: var(--sand); }
.steps-band h2 { margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: color-mix(in srgb, var(--sand-ink) 35%, transparent); }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; position: relative; }
.steps li::before { content: counter(s); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; border: 4px solid var(--sand); box-sizing: content-box; margin-left: -4px; margin-top: -4px; }
[data-theme="dark"] .steps li::before { background: var(--blue); color: #06182F; }
.steps b { font-family: var(--font-title); font-size: 1.08rem; color: var(--text); }
.steps span { color: var(--text-2); }

.visit-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.visit-main { padding: clamp(26px, 4vw, 48px); }
.visit-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 1.12rem; color: var(--text); font-weight: 600; margin: 14px 0 22px; }
.visit-addr > i { color: var(--blue); width: 22px; height: 22px; margin-top: 3px; }
.visit .contact-list { margin: 0; }
.visit-side { background: var(--navy); color: #fff; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; }
[data-theme="dark"] .visit-side { background: #071629; }
.visit-side h3 { color: #fff; margin: 0; }
.visit-side .hours { margin-bottom: 12px; }
.visit-side .hours div { border-color: rgba(255, 255, 255, .16); color: #DCE7F5; }
.visit-side .hours div.today span::after { color: #8FA8C8; }

@media (max-width: 920px) {
  .hero-grid, .about-grid, .tools-head, .visit-card { grid-template-columns: minmax(0, 1fr); }
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .facts-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-card img { width: 120px; }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
  .facts-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .facts-strip li + li { border-left: 0; padding-left: 0; padding-top: 16px; border-top: 1px solid var(--sand-2); }
  .service-list a { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 20px 4px; }
  .service-list i { width: 34px; height: 34px; padding: 8px; }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps li { flex-direction: row; flex-wrap: wrap; column-gap: 16px; }
  .steps li::before { margin-bottom: 0; flex: none; }
  .steps li b { flex: 1; align-self: center; }
  .steps li span { flex-basis: 100%; padding-left: 70px; margin-top: -6px; }
}


/* ---------- Haut de page sombre avec photo (accueil, sites et logiciels) ---------- */
.hero-dark, .code-hero { position: relative; overflow: hidden; isolation: isolate; background: #030B18; color: #fff; }
.hero-bg, .code-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg img, .code-bg img { position: absolute; right: 0; top: 0; height: 100%; object-fit: cover; will-change: transform; }
.hero-bg img { width: min(60%, 860px); object-position: center 72%; }
.code-bg img { width: min(58%, 840px); object-position: center 38%; }
.hero-bg::after, .code-bg::after { content: ""; position: absolute; inset: 0; }
.hero-bg::after { background: linear-gradient(90deg, #030B18 0%, #030B18 40%, rgba(3, 11, 24, .82) 52%, rgba(3, 11, 24, .25) 74%, rgba(3, 11, 24, .1) 100%), linear-gradient(0deg, #030B18 0%, rgba(3, 11, 24, 0) 28%); }
.code-bg::after { background: linear-gradient(90deg, #050C1A 0%, #050C1A 42%, rgba(5, 12, 26, .8) 54%, rgba(5, 12, 26, .2) 78%, rgba(5, 12, 26, .35) 100%), linear-gradient(0deg, #050C1A 0%, rgba(5, 12, 26, 0) 30%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: drift 26s ease-in-out infinite alternate; }
  .code-bg img { animation: drift 30s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.12) translateX(-2%); } }

.hero-dark h1, .code-hero h1 { color: #fff; }
/* Accueil : cyan vers orange, les couleurs de l’écran néon de la photo */
.hero-dark h1 em { font-style: normal; background: linear-gradient(90deg, #5BC8F5 0%, #7CBDF2 45%, #F2995B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Sites et logiciels : cyan vers turquoise, la couleur des lignes de code de la photo */
.code-hero h1 em { font-style: normal; background: linear-gradient(90deg, #5BC8F5 0%, #6FD6E8 50%, #7EE8D0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .lead, .code-hero .lead { color: #C3D2E6; }
.hero-dark .intro-status { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #DCE7F5; }
.hero-dark .btn-outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero-dark .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.hero-dark .btn-primary, .code-hero .btn-primary { box-shadow: 0 8px 30px rgba(22, 131, 214, .35); }
[data-theme="dark"] .hero-dark .btn-primary, [data-theme="dark"] .code-hero .btn-primary { color: #06182F; }
.hero-dark .hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
[data-theme="dark"] .hero-dark .hero-card { background: rgba(255, 255, 255, .06); }
.hero-dark .facts-strip { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-dark .facts-strip li { color: #AFC1DA; }
.hero-dark .facts-strip li + li { border-color: rgba(255, 255, 255, .12); }
.hero-dark .facts-strip b { color: #fff; }
.hero-dark .facts-strip i { color: #7CBDF2; }
.hero-dark .facts-strip a { color: #9FD0F7; }

/* Photo des bureaux dans « Qui est All Tech+ ? » */
.about-photo { margin: 30px 0 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px 12px 12px 2px; box-shadow: 0 0 0 1px rgba(124, 189, 242, .25), 0 24px 60px rgba(0, 0, 0, .35); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.about-photo:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(124, 189, 242, .5), 0 30px 70px rgba(22, 131, 214, .3); }
.about-photo figcaption { color: #8FA8C8; font-size: .9rem; margin-top: 12px; }

/* En-tête de la page Sites et logiciels */
.code-hero { padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.code-hero .crumbs, .code-hero .crumbs a { color: #9FB4D0; }
.code-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.code-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 14em; margin: 8px 0 16px; }
.code-hero .lead { margin-bottom: 30px; }
.code-offers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.code-offers li { padding: 14px 16px 14px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid #5BC8F5; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .25s, background-color .25s, border-color .25s; }
.code-offers li:hover { transform: translateX(-6px); background: rgba(255, 255, 255, .1); border-left-color: #7EE8D0; }
.code-offers b { display: block; font-family: var(--font-title); }
.code-offers span { color: #AFC1DA; font-size: .92rem; }
/* Offres cliquables avec leur prix de départ (rempli depuis les tarifs de l'admin) */
.code-offers li:has(> a) { padding: 0; }
.code-offers a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 14px 16px 14px 18px; color: inherit; text-decoration: none; }
.code-offers a b, .code-offers a span { grid-column: 1; }
.code-offers a em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-family: var(--font-title); font-weight: 800; font-size: .95rem; color: #7EE8D0; white-space: nowrap; }
.code-scan { position: absolute; right: 0; width: min(58%, 840px); height: 2px; top: 0; background: linear-gradient(90deg, transparent, rgba(91, 200, 245, .85) 30%, rgba(91, 200, 245, .85) 70%, transparent); box-shadow: 0 0 18px 2px rgba(91, 200, 245, .45); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .code-scan { animation: scan 7s cubic-bezier(.45, 0, .55, 1) infinite; }
  .code-hero-text > *, .code-offers li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .code-hero-text > :nth-child(2) { animation-delay: .06s; }
  .code-hero-text > :nth-child(3) { animation-delay: .14s; }
  .code-hero-text > :nth-child(4) { animation-delay: .22s; }
  .code-offers li:nth-child(1) { animation-delay: .25s; }
  .code-offers li:nth-child(2) { animation-delay: .33s; }
  .code-offers li:nth-child(3) { animation-delay: .41s; }
  .code-offers li:nth-child(4) { animation-delay: .49s; }
  .code-offers li:nth-child(n+5) { animation-delay: .57s; }
}
@keyframes scan { 0% { top: 4%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: 96%; opacity: 0; } }

@media (max-width: 920px) {
  .hero-bg img, .code-bg img, .code-scan { width: 100%; }
  .hero-bg img { opacity: .55; object-position: center 78%; }
  .code-bg img { opacity: .4; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(3, 11, 24, .9) 0%, rgba(3, 11, 24, .7) 45%, #030B18 100%); }
  .code-bg::after { background: linear-gradient(180deg, rgba(5, 12, 26, .85) 0%, rgba(5, 12, 26, .75) 50%, #050C1A 100%); }
  .code-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-dark .facts-strip li + li { border-top-color: rgba(255, 255, 255, .12); }
  .code-hero h1 { font-size: 2rem; }
  .code-offers li:hover { transform: none; }
}


/* ---------- Accueil et Sites et logiciels : une seule couleur, bleu et blanc, sous le haut de page ---------- */
.about { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); color: var(--text); padding: clamp(72px, 10vw, 128px) 0; }
[data-theme="dark"] .about { background: var(--bg); }
.about h2, .about h3 { color: var(--text); }
.about-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-bg img { position: absolute; left: 0; right: 0; margin-inline: auto; top: 0; height: 100%; width: min(940px, 72%); object-fit: cover; object-position: center 60%;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 45%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) { .about-bg img { animation: drift 28s ease-in-out infinite alternate; } }
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.about-lead, .about-cols > div { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 22px; border-radius: 12px; }
.about-cols > div { padding-top: 18px; }
.about-lead { grid-column: 1; }
.about-lead p { color: var(--text-2); font-size: 1.15rem; }
.about-cols { grid-column: 3; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.about-cols > div { border-top-color: var(--blue); }
.about-cols p { color: var(--text-2); }
.about-cols a { color: var(--blue-ink); }

[data-page="accueil"] .tools-band, [data-page="accueil"] .steps-band, [data-page="creation"] .section.alt { background: var(--bg); }
[data-page="accueil"] .tools a > i { background: var(--blue-50); color: var(--blue-ink); }
[data-page="accueil"] .service-list a:hover { background: var(--blue-50); }
[data-page="accueil"] .steps::before { background: var(--blue-50); }
[data-page="accueil"] .steps li::before { border-color: var(--bg); }
[data-page="accueil"] .facts-strip { background: rgba(255, 255, 255, .05); }

@media (max-width: 920px) {
  .about { padding-top: 0; }
  .about-bg { position: relative; height: 280px; margin-bottom: -40px; }
  .about-bg img { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 55%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-lead, .about-cols { grid-column: 1; }
  .about-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-bg { height: 220px; }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Boutique ---------- */
.shop { padding-top: 32px; }
.shop-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.shop-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--border); }
.shop-search:focus-within { border-color: var(--blue); }
.shop-search > i { color: var(--muted); }
.shop-search input { flex: 1; border: 0; background: none; padding: 12px 0; outline: none; min-width: 0; }
.voice-btn { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--blue-ink); }
.voice-btn:hover { background: var(--blue-50); }
.voice-btn.listening { background: var(--err); color: #fff; }
.range-label { display: flex; flex-direction: column; gap: 2px; font-size: .84rem; font-weight: 700; color: var(--text-2); border: 1.5px solid var(--border); padding: 6px 12px; border-radius: var(--r); background: var(--surface); min-width: 210px; }
select, .field input, .field textarea, .inline-form input, .trade-form select, .promo input {
  width: 100%; padding: 11px 14px; border-radius: var(--r); border: 1.5px solid var(--border); background: var(--surface); outline: none;
}
select { padding-right: 36px; appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235F6B7C' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 13px center; }
.shop-toolbar select { width: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--blue) !important; }
input[type="range"] { accent-color: var(--blue); width: 100%; cursor: pointer; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border); font-weight: 700; font-size: .9rem; color: var(--text-2); background: var(--surface); }
.chip span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.active span { color: #B9CCE6; }
[data-theme="dark"] .chip.active { background: var(--blue); border-color: var(--blue); color: #06182F; }
[data-theme="dark"] .chip.active span { color: #06182F; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .92rem; color: var(--muted); }
.shop-meta .btn-link { font-size: .88rem; padding: 4px 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.product { position: relative; display: flex; flex-direction: column; }
.p-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-2); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product:hover .p-media img { transform: scale(1.03); }
.p-tag { position: absolute; left: 0; bottom: 12px; padding: 6px 12px 6px 10px; background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: .95rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.p-tag.ask { background: #fff; color: var(--navy); font-size: .84rem; }
[data-theme="dark"] .p-tag { background: var(--blue); color: #06182F; }
[data-theme="dark"] .p-tag.ask { background: var(--surface); color: var(--text); }
.p-fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); }
.p-fav i { width: 18px; height: 18px; }
.p-fav.on { color: #D93A3A; }
.p-fav.on svg { fill: currentColor; }
.p-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.p-brand { font-size: .8rem; color: var(--muted); font-weight: 700; }
.p-name { font-family: var(--font-title); font-size: 1.02rem; font-weight: 700; margin: 0; }
.p-name a { color: var(--text); text-decoration: none; }
.p-name a:hover { color: var(--blue-ink); text-decoration: underline; }
.p-specs { font-size: .88rem; margin: 0; color: var(--text-2); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.p-cmp { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); cursor: pointer; font-weight: 600; }
.p-cmp input { width: 16px; height: 16px; accent-color: var(--blue); }
.price { font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; }
.price.big { font-size: 1.8rem; }
.shop-note { margin-top: 56px; padding: 28px; background: var(--sand); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 32px; align-items: center; }
.shop-note h2 { font-size: 1.3rem; margin: 0; }
.shop-note p { margin: 0; grid-column: 1; }
.shop-note .btn { grid-column: 2; grid-row: 1 / 3; }

.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-float); padding: 10px 0; }
.compare-inner { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.compare-items { display: flex; gap: 8px; overflow-x: auto; }
.compare-items span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; background: var(--surface-2); border-radius: 20px; font-size: .86rem; white-space: nowrap; }
.compare-items button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.compare-items button i { width: 12px; height: 12px; }
.compare-actions { display: flex; gap: 8px; }

/* ---------- Configurateur ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.builder-steps { display: flex; flex-direction: column; gap: 8px; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.presets > span { font-weight: 700; font-size: .92rem; color: var(--text-2); margin-right: 4px; }
.b-step { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.b-step.err { border-color: var(--err); }
.b-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; }
.b-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--sand-ink); font-weight: 800; font-size: .88rem; flex: none; }
.b-head b { display: block; font-family: var(--font-title); }
.b-head small { color: var(--muted); font-size: .88rem; }
.chev { margin-left: auto; transition: transform .2s; color: var(--muted); }
.b-step.open .chev { transform: rotate(180deg); }
.b-opts { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 16px; }
.b-step.open .b-opts { display: grid; }
.b-opt { text-align: left; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--border); display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.b-opt:hover { border-color: var(--text); }
.b-opt.sel { border-color: var(--blue); background: var(--blue-50); }
.b-opt.bad { opacity: .5; }
.b-opt small { color: var(--muted); font-size: .8rem; }
.b-price { font-weight: 800; color: var(--blue-ink); }
.builder-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.score-head, .meter-head { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; color: var(--text-2); }
.score-head b { font-family: var(--font-title); color: var(--text); }
.score-profile { margin: 8px 0 0; font-size: .92rem; }
.meter-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s; }
.meter-bar span.hot { background: var(--warn); }
.checks { list-style: none; padding: 0; margin: 0; font-size: .9rem; display: flex; flex-direction: column; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks li i { margin-top: 3px; }
.checks .ok i { color: var(--ok); }
.checks .ko { color: var(--err); font-weight: 700; }
.checks .wa i { color: var(--warn); }
.fps-title { font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.fps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fps div { background: var(--surface-2); border-radius: var(--r-sm); padding: 8px 4px; text-align: center; }
.fps b { display: block; font-family: var(--font-title); font-size: 1.1rem; }
.fps small { color: var(--muted); font-size: .68rem; line-height: 1.2; display: block; }
.build-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
.build-total b { font-family: var(--font-title); font-size: 1.5rem; color: var(--text); white-space: nowrap; }

/* ---------- Onglets, réparation ---------- */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); }
.narrow-panel { max-width: 720px; }
.wizard { border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.wiz-note { margin-top: 12px; }
.wiz-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.wiz-steps li { flex: 1; padding-top: 10px; border-top: 4px solid var(--surface-2); font-size: .86rem; font-weight: 700; color: var(--muted); counter-increment: s; }
.wiz-steps li::before { content: counter(s) ". "; }
.wiz-steps li.on { border-color: var(--blue); color: var(--text); }
.wiz-step { display: none; }
.wiz-step.active { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.choice-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { padding: 20px 14px; border-radius: var(--r); border: 1.5px solid var(--border); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; text-align: center; }
.choice:hover { border-color: var(--blue); background: var(--blue-50); }
.choice i { width: 30px; height: 30px; color: var(--blue); }
.choice small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.choice-grid.small .choice { flex-direction: row; text-align: left; padding: 14px 16px; }
.choice-grid.small .choice i { width: 22px; height: 22px; }
.estimate { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 16px; }
.est-main { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; }
.est-main small { color: #B9CCE6; }
.est-main p { color: #B9CCE6; margin: 0; }
.est-main .big { font-family: var(--font-title); font-size: 2.3rem; font-weight: 800; margin: 6px 0 4px; line-height: 1.15; }
.est-main ul { padding: 0; list-style: none; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.est-main li { display: flex; gap: 8px; align-items: center; }
.est-main li i { color: #7CBDF2; }
.est-side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--surface-2); padding: 4px; border-radius: var(--r); }
.seg.two { grid-template-columns: 1fr 1fr; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 6px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 700; color: var(--text-2); }
.seg span small { display: block; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1.5px var(--blue); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); }
.inline-form { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.grow { flex: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .93rem; }
.field-error { color: var(--err); font-size: .86rem; font-weight: 700; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.result { margin-top: 20px; padding: 18px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--border); }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.result small { display: block; color: var(--muted); }
.trade { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.trade-form { display: flex; flex-direction: column; gap: 18px; }
.trade-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .93rem; }
.trade-form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.trade-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.trade-result { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.trade-result small, .trade-result p { color: #B9CCE6; }
.trade-result > b { font-family: var(--font-title); font-size: 2.5rem; line-height: 1.1; }

.scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.scan-results { list-style: none; padding: 0; margin: 0; }
.scan-results li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.scan-results li:last-child { border: 0; }
.scan-results span { color: var(--muted); }
.scan-results b { text-align: right; }
.scan-verdict { margin-top: 16px; padding: 16px; border-radius: var(--r); background: var(--sand); }
.scan-verdict p { margin: 6px 0 0; color: var(--text); }

/* ---------- Devis ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.quote-form h3 { margin: 26px 0 12px; }
.quote-form h3:first-child { margin-top: 0; }
.quote-form h3 b { color: var(--blue-ink); }
.quote-form .fine { margin-top: 6px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.type { padding: 14px; border-radius: var(--r); border: 1.5px solid var(--border); text-align: left; background: var(--surface); }
.type b { display: block; font-size: .96rem; }
.type small { color: var(--muted); font-size: .84rem; }
.type:hover { border-color: var(--text); }
.type.active { border-color: var(--blue); background: var(--blue-50); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feat { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--r); border: 1.5px solid var(--border); cursor: pointer; font-size: .93rem; }
.feat input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.feat span { flex: 1; }
.feat small { color: var(--muted); white-space: nowrap; }
.feat:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); cursor: pointer; }
.switch-row small { display: block; color: var(--muted); font-size: .85rem; }
.switch { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--border); position: relative; cursor: pointer; flex: none; transition: background-color .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(20px); }
.quote-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
[data-theme="dark"] .quote-summary { background: #071629; border: 1px solid var(--border); }
.quote-summary small, .q-range { color: #B9CCE6; font-size: .9rem; }
.q-price { font-family: var(--font-title); font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.q-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.q-timeline div { background: rgba(255, 255, 255, .08); border-radius: var(--r); padding: 10px 12px; }
.q-timeline span { display: block; font-size: .8rem; color: #B9CCE6; }
.q-steps { padding-left: 20px; margin: 0 0 8px; font-size: .9rem; color: #DCE7F5; }
.process { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.process li { counter-increment: s; border-top: 2px solid var(--border); padding-top: 14px; }
.process li::before { content: counter(s); font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: var(--blue-ink); display: block; margin-bottom: 6px; }
.process h3 { margin: 0 0 4px; }
.process p { margin: 0; font-size: .95rem; }

/* ---------- Rendez-vous ---------- */
.prefill-note { padding: 12px 16px; border-radius: var(--r); background: var(--sand); color: var(--text); font-weight: 600; margin-bottom: 20px; }
.booking { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.booking h3 { margin-bottom: 12px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px; scroll-snap-type: x mandatory; }
.day { flex: none; width: 66px; padding: 10px 4px; border-radius: var(--r); border: 1.5px solid var(--border); text-align: center; scroll-snap-align: start; background: var(--surface); }
.day small { display: block; font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: capitalize; }
.day b { font-family: var(--font-title); font-size: 1.3rem; display: block; }
.day:hover:not(:disabled) { border-color: var(--text); }
.day.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.day.active small { color: #B9CCE6; }
[data-theme="dark"] .day.active { background: var(--blue); border-color: var(--blue); color: #06182F; }
[data-theme="dark"] .day.active small { color: #06182F; }
.day:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.slots > p { grid-column: 1 / -1; }
.slot { padding: 10px 4px; border-radius: var(--r); border: 1.5px solid var(--border); font-weight: 700; font-size: .92rem; background: var(--surface); }
.slot:hover:not(:disabled) { border-color: var(--text); }
.slot.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.form { display: flex; flex-direction: column; gap: 14px; }
.booking-pick { padding: 11px 14px; border-radius: var(--r); background: var(--surface-2); font-size: .93rem; color: var(--text-2); }
.booking-pick.ok { background: var(--blue-50); color: var(--text); font-weight: 700; }
.booking-pick.error { background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); font-weight: 700; }
.done { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 10px 0; }
.done-ico { width: 52px !important; height: 52px !important; padding: 12px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.done p { margin: 0; }
.done .ref b { font-family: var(--font-title); font-size: 1.3rem; color: var(--blue-ink); }

/* ---------- FAQ, contact ---------- */
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > i { width: 22px; height: 22px; color: var(--blue); }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .96rem; }
.hours div.today { font-weight: 800; }
.hours div.today span::after { content: " (aujourd'hui)"; font-weight: 600; color: var(--muted); }
.hours.small div { font-size: .88rem; padding: 4px 0; border-color: rgba(255, 255, 255, .14); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: #B9CCE6; padding: 56px 0 24px; }
[data-theme="dark"] .footer { background: #071629; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr; gap: 32px; }
.footer-brand img { width: 130px; margin-bottom: 12px; }
.footer p { color: #B9CCE6; font-size: .93rem; }
.footer h4 { color: #fff; margin-bottom: 12px; }
.footer a { color: #DCE7F5; }
.footer-grid > div > a { display: block; padding: 3px 0; text-decoration: none; font-size: .93rem; }
.footer-grid > div > a:hover { color: #fff; text-decoration: underline; }
.footer .hours div.today span::after { color: #8FA8C8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: #B9CCE6; }

/* ---------- Boutons flottants et questions rapides ---------- */
.fabs { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; gap: 10px; }
.has-compare .fabs { bottom: 84px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-float); }
.fab i { width: 25px; height: 25px; }
.fab.bot { background: var(--navy); }
[data-theme="dark"] .fab.bot { background: var(--blue); color: #06182F; }
.fab.wa { background: #1DA851; }
.chat { position: fixed; right: 20px; bottom: 88px; width: 370px; max-height: min(600px, calc(100vh - 120px)); z-index: 120; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-float); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head img { width: 34px; }
.chat-head small { display: block; color: #B9CCE6; font-size: .8rem; }
.chat-head .icon-btn { margin-left: auto; color: #fff; }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; background: var(--bg-alt); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-quick { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; }
.chat-quick button { flex: none; padding: 6px 12px; border-radius: 16px; border: 1px solid var(--border); color: var(--blue-ink); font-size: .85rem; font-weight: 700; }
.chat-quick button:hover { border-color: var(--blue); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; }
.chat-input input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--r); border: 1.5px solid var(--border); background: var(--surface); outline: none; }
.chat-input button { width: 44px; border-radius: var(--r); background: var(--blue); color: #fff; display: grid; place-items: center; }

/* ---------- Panneaux et fenêtres ---------- */
.overlay { position: fixed; inset: 0; background: rgba(4, 20, 43, .55); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--surface); z-index: 150; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease-out; box-shadow: var(--shadow-float); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.drawer-foot:empty { display: none; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.line-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.line-thumb.icon { display: grid; place-items: center; color: var(--navy); }
[data-theme="dark"] .line-thumb.icon { color: var(--blue-ink); }
.line-thumb.icon i { width: 28px; height: 28px; }
.line b, .line-name { font-size: .95rem; display: block; font-weight: 700; text-align: left; }
.line-name:hover { color: var(--blue-ink); text-decoration: underline; }
.line small { color: var(--muted); font-size: .84rem; display: block; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--border); border-radius: var(--r-sm); }
.qty button { width: 30px; height: 28px; font-weight: 800; color: var(--blue-ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rm { color: var(--muted); width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; }
.rm:hover { color: var(--err); }
.rm i { width: 16px; height: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--text-2); }
.sum-row.ok { color: var(--ok); }
.sum-row.total { font-family: var(--font-title); font-size: 1.15rem; color: var(--text); font-weight: 800; }
.promo { display: flex; gap: 8px; }
.promo input { text-transform: uppercase; }
.empty-state { text-align: center; padding: 40px 10px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state p { margin: 0; }
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; visibility: hidden; }
.modal.open { opacity: 1; pointer-events: auto; visibility: visible; }
.modal-box { width: min(880px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-float); position: relative; }
.modal-box.wide { width: min(1000px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }
.qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qv-media { background: var(--surface-2); min-height: 320px; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.qv-body h2 { margin: 0; font-size: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 8px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 38%; padding-right: 12px; }
.qv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.qv-actions .btn-primary { flex: 1; }
.cmp { padding: 28px; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp-table thead th { font-family: var(--font-title); }
.cmp-table thead img { width: 100%; max-width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 8px; }
.cmp-table tbody th { color: var(--muted); font-weight: 700; width: 130px; }
.cmp-table .best { color: var(--ok); font-weight: 800; }
.palette-modal { place-items: start center; padding-top: 12vh; }
.palette { width: min(620px, 100%); overflow: hidden; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--border); }
.palette-input > i { color: var(--muted); width: 20px; height: 20px; }
.palette-input input { flex: 1; border: 0 !important; background: none; outline: none; font-size: 1.05rem; min-width: 0; padding: 8px 0; }
.palette-list { max-height: 55vh; overflow-y: auto; padding: 8px; }
.pl-group { font-size: .8rem; font-weight: 800; color: var(--muted); padding: 10px 10px 4px; }
.pl-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: var(--r); text-align: left; }
.pl-item > i { width: 20px; height: 20px; color: var(--blue); }
.pl-item img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.pl-item small { color: var(--muted); margin-left: auto; white-space: nowrap; }
.pl-item.active, .pl-item:hover { background: var(--blue-50); }

/* ---------- Cookies, notifications ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(440px, calc(100% - 40px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 18px; }
.cookie p { font-size: .92rem; margin-bottom: 12px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { min-width: 110px; }
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--navy); color: #fff; box-shadow: var(--shadow-float); font-size: .94rem; max-width: 400px; }
.toast > i { color: #7CBDF2; }
.toast .btn { flex: none; }
.bottom-nav { display: none; }

/* ---------- Pages légales et 404 ---------- */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.3rem; margin-top: 32px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--text-2); }
.page-header .header-inner { height: var(--header-h); }
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound img { margin: 0 auto 20px; width: 150px; }
.notfound .code { font-family: var(--font-title); font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; margin: 0; }
.notfound .cta-row { justify-content: center; margin-top: 24px; }


/* ---------- Bandeau d'annonce ---------- */
.announce { background: var(--blue); color: #fff; font-size: .92rem; font-weight: 700; }
[data-theme="dark"] .announce { color: #06182F; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; text-align: center; }
.announce p { margin: 0; color: inherit; }
.announce a { color: inherit; }
.announce-x { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; flex: none; color: inherit; }
.announce-x:hover { background: rgba(255, 255, 255, .18); }
.announce-x i { width: 16px; height: 16px; }

/* ---------- Réparation ---------- */
.rep-top-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.quick-devices { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 6px; }
.qd { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 40px; background: var(--surface); border: 1.5px solid var(--sand-2); font-weight: 700; font-size: .95rem; transition: border-color .2s, transform .2s, background-color .2s; }
.qd i { width: 22px; height: 22px; color: var(--blue); }
.qd:hover { border-color: var(--blue); transform: translateY(-2px); }
.track-card { background: var(--navy); color: #fff; border-radius: 14px 14px 14px 2px; padding: clamp(22px, 3vw, 30px); scroll-margin-top: calc(var(--header-h) + 16px); }
[data-theme="dark"] .track-card { background: #071629; border: 1px solid var(--border); }
.track-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.track-card > p { color: #B9CCE6; font-size: .93rem; }
.track-fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
.track-card .field label { color: #DCE7F5; font-size: .85rem; }
.track-card .field input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.track-card .field input::placeholder { color: #7F98BA; }
.track-card .field-error { color: #FFB4B4; }
.track-res { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); animation: rise .4s ease both; }
.track-res p { color: #DCE7F5; font-size: .93rem; margin: 0 0 10px; }
.track-res-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.track-res-head b { font-family: var(--font-title); font-size: 1.1rem; }
.track-res-head span { color: #B9CCE6; font-size: .9rem; text-align: right; }
.track-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.track-steps li { font-size: .68rem; font-weight: 700; color: #7F98BA; padding-top: 12px; position: relative; line-height: 1.2; }
.track-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.track-steps li.done::before { background: #4F8FC9; }
.track-steps li.now { color: #fff; }
.track-steps li.now::before { background: #7CBDF2; box-shadow: 0 0 0 3px rgba(124, 189, 242, .25); }
.track-note { background: rgba(255, 255, 255, .08); padding: 10px 12px; border-radius: 8px; }
.track-price b { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 28px; }
.sec-head p { font-size: 1.05rem; margin: 0; }
.wiz-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.check-choice { cursor: pointer; position: relative; transition: border-color .15s, background-color .15s; }
.check-choice input { position: absolute; opacity: 0; pointer-events: none; }
.check-choice::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); background: var(--surface); }
.check-choice.on { border-color: var(--blue); background: var(--blue-50); }
.check-choice.on::after { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--blue); }
.check-choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice-grid.small .check-choice span { padding-right: 26px; }
.est-lines { display: flex; flex-direction: column; gap: 10px; }
.est-line { padding: 12px; border: 1px solid var(--border); border-radius: var(--r); }
.est-line-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: .93rem; }
.est-line-head span { font-weight: 800; white-space: nowrap; }
.est-line:not(:has(.seg)) .est-line-head { margin: 0; }
.grid-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.grid-tools .chips { margin: 0; }
.grid-search { flex: 0 1 320px; }
.price-grid-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.price-grid { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.price-grid th, .price-grid td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-grid thead th { font-size: .8rem; color: var(--muted); font-weight: 800; background: var(--bg-alt); }
.price-grid tbody tr:last-child td { border-bottom: 0; }
.price-grid tbody tr:hover { background: var(--bg-alt); }
.pg-price { font-weight: 800; white-space: nowrap; }
.price-grid .btn-link { padding: 0; font-size: .88rem; }
.rep-how { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.rep-steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; }
.rep-steps li { counter-increment: s; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 16px; padding-bottom: 22px; position: relative; }
.rep-steps li::before { content: counter(s); grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; }
.rep-steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: color-mix(in srgb, var(--sand-ink) 30%, transparent); }
[data-theme="dark"] .rep-steps li::before { background: var(--blue); color: #06182F; }
.rep-steps b { font-family: var(--font-title); padding-top: 8px; }
.rep-steps span { color: var(--text-2); }
.checklist-card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 12px; }
.checklist-card h3 { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { border-bottom: 1px solid var(--border); }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; font-size: .95rem; }
.checklist input { width: 20px; height: 20px; accent-color: var(--ok); flex: none; margin-top: 2px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.trade-form.panel { gap: 18px; }
@media (max-width: 920px) {
  .rep-top-grid, .rep-how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .qd { padding: 9px 14px 9px 10px; font-size: .9rem; }
  .track-steps li { font-size: .58rem; }
  .grid-search { flex: 1 1 100%; }
  .grid-tools .chips { margin: 0 -16px; }
}

/* =========================================================
   Écrans moyens
   ========================================================= */
@media (max-width: 1240px) {
  .open-status { display: none; }
  .header-rdv { display: none; }
}
@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder, .quote { grid-template-columns: minmax(0, 1fr); }
  .builder-summary, .quote-summary { position: static; }
}
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; box-shadow: var(--shadow-float); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav a.active { border-bottom-color: var(--border); color: var(--blue-ink); }
  .nav .nav-home { display: block; }
  .nav .nav-rdv { display: block; border: 0; color: var(--blue-ink); }
  .intro-grid, .about-grid, .services-grid, .steps-grid, .visit-grid, .scan, .trade, .booking, .contact-grid, .estimate { grid-template-columns: minmax(0, 1fr); }
  .services-intro { position: static; }
  .tools { grid-template-columns: minmax(0, 1fr); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qv { grid-template-columns: minmax(0, 1fr); }
  .qv-media { min-height: 0; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-note { grid-template-columns: minmax(0, 1fr); }
  .shop-note .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}

/* =========================================================
   Téléphone
   ========================================================= */
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .container, .narrow { width: calc(100% - 32px); }
  .header-inner { gap: 6px; }
  .brand img { width: 36px; }
  .wordmark { font-size: 1.12rem; }
  .header-actions { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .nav { padding: 4px 16px 12px; }
  .hide-mobile { display: none !important; }
  .dev-note { padding: 8px 16px; }
  .cta-row .btn { width: 100%; }
  .intro h1 { font-size: 2rem; }
      .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .service-list a { padding: 18px 0; }
  .shop { padding-top: 20px; }
  .shop-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shop-search { grid-column: 1 / -1; }
  .shop-toolbar select { width: 100%; }
  .range-label { grid-column: 1 / -1; min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
  .chip { flex: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .p-tag { font-size: .84rem; padding: 4px 9px 4px 8px; bottom: 8px; }
  .p-fav { width: 34px; height: 34px; top: 6px; right: 6px; }
  .p-name { font-size: .93rem; }
  .p-specs { font-size: .82rem; }
  .p-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .p-foot .btn { width: 100%; padding: 8px 6px; font-size: .85rem; }
  .shop-note { padding: 22px 18px; }
  .shop-note .btn { width: 100%; }
  .b-opts { grid-template-columns: minmax(0, 1fr); }
  .fps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid.small { grid-template-columns: minmax(0, 1fr); }
  .inline-form { flex-direction: column; align-items: stretch; }
  .result-grid { grid-template-columns: minmax(0, 1fr); }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row2, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .type-grid { grid-template-columns: minmax(0, 1fr); }
  .q-price { font-size: 2rem; }
  .est-main .big { font-size: 1.9rem; }
  .process { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .compare-bar { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .compare-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .compare-actions .btn { flex: 1; }
  .fabs { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .has-compare .fabs { bottom: calc(190px + env(safe-area-inset-bottom)); }
  .fab { width: 50px; height: 50px; }
  .chat { inset: auto 0 0 0; width: 100%; max-height: 88vh; border-radius: var(--r-lg) var(--r-lg) 0 0; z-index: 170; }
  .chat-body { min-height: 40vh; }
  .drawer { width: 100%; top: auto; height: 90vh; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); }
  .drawer::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 8px auto 0; flex: none; }
  .modal { align-items: end; padding: 0; }
  .modal-box { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; }
  .palette-modal { place-items: start center; padding: 12px; }
  .palette { border-radius: var(--r-lg); }
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .toasts { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); left: 12px; right: 12px; }
  .toast { max-width: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); position: relative; padding: 4px 0; text-decoration: none; }
  .bottom-nav i { width: 22px; height: 22px; }
  .bottom-nav .active { color: var(--blue-ink); }
  .bottom-nav .bn-main i { width: 46px; height: 46px; padding: 12px; margin-top: -22px; border-radius: 50%; background: var(--blue); color: #fff; border: 3px solid var(--surface); }
  .bottom-nav .count { top: 0; right: calc(50% - 20px); }
  .menu-open .bottom-nav, .menu-open .fabs { display: none; }
  .notfound .code { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Impression du devis ---------- */
.print-area { display: none; }
@media print {
  body > *:not(.print-area) { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .print-area { display: block !important; padding: 24px; }
  .print-area h1 { font-size: 24px; color: #04244D; margin-top: 16px; }
  .print-area p { color: #000; }
  .print-area table { width: 100%; border-collapse: collapse; margin: 16px 0; }
  .print-area td { padding: 8px; border-bottom: 1px solid #ccc; }
}

/* =========================================================
   Barre du haut adaptative : transparente sur un haut de page sombre,
   blanche et translucide dès qu'on arrive sur le blanc.
   ========================================================= */
.header { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.header .nav a, .header .icon-btn, .header .wordmark span, .header .open-status { transition: color .35s ease, border-color .35s ease, background-color .2s; }
.header.is-solid { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent); box-shadow: 0 6px 24px rgba(4, 36, 77, .07); }
.header.on-dark { background: transparent; border-bottom-color: rgba(255, 255, 255, .1); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.on-dark .nav a { color: rgba(255, 255, 255, .78); }
.header.on-dark .nav a:hover, .header.on-dark .nav a.active { color: #fff; }
.header.on-dark .nav a.active { border-bottom-color: #7CBDF2; }
.header.on-dark .icon-btn { color: rgba(255, 255, 255, .85); }
.header.on-dark .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.header.on-dark .w-tech { color: #fff; }
.header.on-dark .logo-dark { display: none; }
.header.on-dark .logo-light { display: block; }
.header.on-dark .open-status.closed { color: rgba(255, 255, 255, .7); }
.header.on-dark .open-status.open { color: #6EE7B7; }
.header.on-dark .count { box-shadow: 0 0 0 2px #030B18; }
/* Le haut de page sombre passe sous la barre */
.has-dark-top main > .hero-dark:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.has-dark-top main > .code-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 88px)); }

/* ---------- Accueil : photo des bureaux sur un seul côté ---------- */
.about { display: flex; align-items: center; min-height: 600px; padding: clamp(80px, 10vw, 128px) 0; }
.about > .container { position: relative; }
.about-bg { left: auto; right: 0; width: 54%; }
.about-bg img { inset: 0; left: 0; right: 0; width: 100%; height: 100%; margin: 0; transform: none; animation: none !important; object-fit: cover; object-position: center 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 28%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 28%, #000 55%); }
.about-text { max-width: 600px; }
.about-text h2 { margin-bottom: 18px; }
.about-intro { font-size: 1.22rem; line-height: 1.55; color: var(--text) !important; font-weight: 600; }
.about-text > p { color: var(--text-2); }
.about-text .about-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 30px; }
.about-text .about-cols > div { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; padding: 18px 0 0; border-top: 2px solid var(--blue); }
.about-text .about-cols p { font-size: .97rem; }
@media (max-width: 920px) {
  .about { display: block; min-height: 0; padding-top: 0; }
  .about-bg { position: relative; width: 100%; height: 280px; margin-bottom: 8px; }
  .about-bg img { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .about-text { max-width: none; }
}
@media (max-width: 640px) {
  .about-bg { height: 220px; }
  .about-text .about-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* =========================================================
   PC sur mesure et Réparation : haut de page sombre, reste en bleu et blanc
   ========================================================= */
.pc-hero, .rep-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, #030B18 0%, #04244D 58%, #0A3D7A 100%); padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 92px); }
.pc-hero::before, .rep-hero::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 520px; height: 520px; border: 70px solid rgba(22, 131, 214, .16); transform: rotate(45deg); }
.pc-hero::after, .rep-hero::after { content: ""; position: absolute; z-index: -1; right: 140px; bottom: -260px; width: 360px; height: 360px; border: 2px solid rgba(124, 189, 242, .18); transform: rotate(45deg); }
.has-dark-top main > .pc-hero:first-child, .has-dark-top main > .rep-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 84px)); }
.pc-hero h1, .rep-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 15em; margin: 8px 0 16px; }
/* PC sur mesure : bleus du logo vers cyan (pas de photo) */
.pc-hero h1 em { font-style: normal; background: linear-gradient(90deg, #4BA3EA, #7CBDF2 55%, #5BC8F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Réparation : bleu clair vers argent, l’aluminium du MacBook de la photo */
.rep-hero h1 em { font-style: normal; background: linear-gradient(90deg, #9FD0F7, #C9DCEF 55%, #EEF3F9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-hero .lead, .rep-hero .lead { color: #C3D2E6; margin-bottom: 28px; }
.pc-hero .crumbs, .pc-hero .crumbs a, .rep-hero .crumbs, .rep-hero .crumbs a { color: #9FB4D0; }
.pc-hero .btn-primary, .rep-hero .btn-primary { box-shadow: 0 8px 30px rgba(22, 131, 214, .35); }
@media (prefers-reduced-motion: no-preference) {
  .pc-hero-grid > div > *, .rep-top-grid > div > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .pc-hero-grid > div > :nth-child(2), .rep-top-grid > div > :nth-child(2) { animation-delay: .06s; }
  .pc-hero-grid > div > :nth-child(3), .rep-top-grid > div > :nth-child(3) { animation-delay: .14s; }
  .pc-hero-grid > div > :nth-child(4), .rep-top-grid > div > :nth-child(4) { animation-delay: .22s; }
  .pc-steps, .track-card { animation: rise .7s .25s cubic-bezier(.2, .7, .2, 1) both; }
}

/* PC sur mesure */
.pc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.pc-steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, transform .25s; }
.pc-steps li:hover { background: rgba(255, 255, 255, .1); transform: translateX(-4px); }
.pc-steps li::before { content: counter(s); grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-family: var(--font-title); font-weight: 800; }
.pc-steps b { font-family: var(--font-title); }
.pc-steps span { color: #AFC1DA; font-size: .92rem; }
[data-page="pc"] .builder { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
[data-page="pc"] .presets { padding: 14px; border-radius: 12px; background: var(--blue-50); margin-bottom: 14px; }
[data-page="pc"] .presets .chip { background: var(--surface); }
[data-page="pc"] .presets .chip:hover { border-color: var(--blue); }
[data-page="pc"] .b-step { border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
[data-page="pc"] .b-step.open { border-color: var(--blue); box-shadow: 0 10px 30px rgba(4, 36, 77, .08); }
[data-page="pc"] .b-head { padding: 16px 18px; }
[data-page="pc"] .b-num { background: var(--blue-50); color: var(--blue-ink); width: 32px; height: 32px; }
[data-page="pc"] .b-step.open .b-num { background: var(--blue); color: #fff; }
[data-page="pc"] .b-opt { position: relative; padding: 14px 16px 14px 44px; border-radius: 10px; transition: border-color .15s, background-color .15s, transform .15s; }
[data-page="pc"] .b-opt::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); }
[data-page="pc"] .b-opt.sel::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 45%, var(--surface) 50%); }
[data-page="pc"] .b-opt:hover:not(.bad) { transform: translateY(-1px); }
[data-page="pc"] .builder-summary { background: var(--navy); color: #fff; border: 0; border-radius: 16px 16px 16px 2px; padding: 26px; box-shadow: 0 24px 60px rgba(4, 36, 77, .25); }
[data-theme="dark"] [data-page="pc"] .builder-summary { background: #071629; border: 1px solid var(--border); }
[data-page="pc"] .bs-kicker { color: #8FA8C8; font-size: .85rem; font-weight: 700; margin: 0; }
[data-page="pc"] .builder-summary .build-total { flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 16px; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #B9CCE6; }
[data-page="pc"] .builder-summary .build-total b { color: #fff; font-size: 2.1rem; }
[data-page="pc"] .builder-summary .score-head, [data-page="pc"] .builder-summary .meter-head { color: #B9CCE6; }
[data-page="pc"] .builder-summary .score-head b, [data-page="pc"] .builder-summary .meter-head b, [data-page="pc"] .builder-summary .score-profile b { color: #fff; }
[data-page="pc"] .builder-summary .score-profile { color: #B9CCE6; }
[data-page="pc"] .builder-summary .meter-bar { background: rgba(255, 255, 255, .12); }
[data-page="pc"] .builder-summary .meter-bar span { background: linear-gradient(90deg, #1683D6, #5BC8F5); }
[data-page="pc"] .builder-summary .meter-bar span.hot { background: var(--warn); }
[data-page="pc"] .builder-summary .checks li { color: #DCE7F5; }
[data-page="pc"] .builder-summary .checks .ok i { color: #6EE7B7; }
[data-page="pc"] .builder-summary .checks .ko { color: #FFB4B4; }
[data-page="pc"] .builder-summary .checks .wa i { color: #F0B455; }
[data-page="pc"] .builder-summary .fps-title { color: #8FA8C8; }
[data-page="pc"] .builder-summary .fps div { background: rgba(255, 255, 255, .07); }
[data-page="pc"] .builder-summary .fps b { color: #fff; }
[data-page="pc"] .builder-summary .fps small { color: #8FA8C8; }
[data-page="pc"] .builder-summary .btn-white:disabled { opacity: .45; }

/* Réparation */
.rep-hero .quick-devices { margin-top: 0; }
.rep-hero .qd { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rep-hero .qd i { color: #7CBDF2; }
.rep-hero .qd:hover { border-color: #7CBDF2; background: rgba(255, 255, 255, .12); }
.rep-hero .facts { color: #DCE7F5; }
.rep-hero .facts i { color: #6EE7B7; }
.rep-hero .facts a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.rep-hero .facts a:hover { text-decoration-color: #6EE7B7; }

/* Maintenance : bloc caméras avec sa propre identité. Fond sable, photo bord à bord sur la moitié gauche,
   médaillon rond, parcours en 4 étapes et carte de prix. */
.cam-section { position: relative; background: var(--sand); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.cam-media { position: relative; min-height: 560px; }
@media (min-width: 921px) { .cam-main { position: absolute; inset: 0; } .cam-main img { height: 100%; min-height: 0; } }
.cam-main, .cam-round { display: block; }
.cam-main img { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 55% 50%; }
.cam-round { position: absolute; right: -64px; bottom: 56px; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; border: 6px solid var(--sand); z-index: 2; }
.cam-round img { width: 100%; height: 100%; object-fit: cover; }
.cam-content { padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 96px) clamp(80px, 8vw, 120px); max-width: 720px; }
.cam-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .86rem; font-weight: 800; color: var(--blue-ink); text-transform: none; }
.cam-kicker i { width: 18px; height: 18px; }
.cam-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.cam-lead { font-size: 1.05rem; color: var(--text-2); margin: 0; }
.cam-steps { list-style: none; counter-reset: cs; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.cam-steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: var(--sand-2, rgba(4, 36, 77, .15)); }
.cam-steps li { counter-increment: cs; position: relative; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; color: var(--text-2); }
.cam-steps li::before { content: counter(cs); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--sand); }
.cam-steps b { color: var(--text); font-family: var(--font-title); font-size: .95rem; }
.cam-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cam-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border); font-size: .86rem; font-weight: 700; color: var(--text-2); }
.cam-chips i { width: 16px; height: 16px; color: var(--blue); }
.cam-offer { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.cam-offer-price small { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cam-offer-price b { display: block; font-family: var(--font-title); font-size: 1.7rem; line-height: 1.15; color: var(--text); }
.cam-offer-price span { font-size: .82rem; color: var(--muted); }
.cam-offer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cam-offer-actions .btn { min-height: 46px; }
.cam-reviews { grid-column: 1 / -1; }
.cam-reviews .reviews-slot { margin: 0 0 clamp(48px, 6vw, 80px); }
@media (max-width: 1100px) { .cam-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } .cam-steps::before { display: none; } }
@media (max-width: 920px) {
  .cam-section { grid-template-columns: minmax(0, 1fr); }
  .cam-media { min-height: 0; }
  .cam-main img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .cam-round { right: 22px; bottom: -48px; width: 120px; height: 120px; border-width: 5px; }
  .cam-content { padding: 64px 24px 52px; max-width: none; }
}
@media (max-width: 640px) {
  .cam-main img { aspect-ratio: 4 / 3; }
  .cam-round { right: 18px; bottom: -40px; width: 104px; height: 104px; }
  .cam-content { padding: 52px 18px 44px; }
  .cam-content h2 { font-size: 1.6rem; padding-right: 96px; }
  .cam-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cam-steps::before { display: block; left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .cam-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding-bottom: 16px; }
  .cam-steps li::before { grid-row: span 2; margin: 0; }
  .cam-offer { flex-direction: column; align-items: stretch; }
  .cam-offer-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* Avis clients (saisis dans l'admin) */
.reviews-slot { margin-top: 36px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.review blockquote { margin: 0; font-size: .96rem; color: var(--text); }
.review blockquote::before { content: "« "; } .review blockquote::after { content: " »"; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .86rem; }
.review figcaption span { color: var(--muted); }
.stars { display: flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--border); }
.stars svg.on { fill: #F5A524; }
@media (max-width: 920px) {
  .reviews { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(260px, 80%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 4px; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
  .reviews:not(.many) { grid-auto-columns: 100%; }
}
.rep-hero .track-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
[data-page="reparation"] .section.alt, [data-page="reparation"] .steps-band { background: var(--bg); }
[data-page="reparation"] .checklist-card { border-color: var(--border); box-shadow: 0 16px 40px rgba(4, 36, 77, .06); }
[data-page="reparation"] .rep-steps li:not(:last-child)::after { background: var(--blue-50); }
[data-page="reparation"] .price-grid thead th { background: var(--blue-50); color: var(--blue-ink); }
[data-page="reparation"] .scan-verdict { background: var(--blue-50); }
[data-page="reparation"] .wizard { border-radius: 14px; box-shadow: 0 16px 40px rgba(4, 36, 77, .06); }

@media (max-width: 1120px) { [data-page="pc"] .builder { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 920px) {
  .pc-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-hero::before, .rep-hero::before { width: 320px; height: 320px; border-width: 44px; right: -140px; top: -120px; }
}
@media (max-width: 640px) {
  .pc-hero h1, .rep-hero h1 { font-size: 2rem; }
  .pc-steps li:hover { transform: none; }
}

/* =========================================================
   Catalogue : haut de page sombre avec photo de la boutique, barre de filtres, fiches
   ========================================================= */
.shop-hero { position: relative; overflow: hidden; isolation: isolate; background: #030B18; color: #fff; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.has-dark-top main > .shop-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px)); }
.shop-hero .hero-bg img { width: min(56%, 800px); object-position: 60% 40%; filter: brightness(.9) contrast(1.05); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 22%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 22%, #000 45%); }
.shop-hero .hero-bg::after { background: linear-gradient(90deg, rgba(3, 11, 24, .6) 0%, rgba(3, 11, 24, .35) 55%, rgba(3, 11, 24, .1) 80%, rgba(3, 11, 24, .05) 100%), linear-gradient(0deg, #030B18 0%, rgba(3, 11, 24, 0) 26%); }
.shop-hero .crumbs, .shop-hero .crumbs a { color: #9FB4D0; }
.shop-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 14em; margin: 8px 0 14px; }
/* Catalogue : bleu ciel vers cyan, la lumière des écrans en vitrine */
.shop-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7CBDF2, #5BC8F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero .lead { color: #C3D2E6; margin-bottom: 26px; }
.shop-search.big { max-width: 640px; padding: 4px 6px 4px 18px; border-radius: 12px; background: rgba(255, 255, 255, .96); border: 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.shop-search.big input { padding: 14px 0; font-size: 1.05rem; color: #0E1A2B; }
.shop-search.big > i { color: #5F6B7C; width: 22px; height: 22px; }
[data-theme="dark"] .shop-search.big { background: var(--surface); }
[data-theme="dark"] .shop-search.big input { color: var(--text); }
.shop-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 12px 36px; flex-wrap: wrap; }
.shop-stats li { display: flex; flex-direction: column; }
.shop-stats b { font-family: var(--font-title); font-size: 1.5rem; color: #fff; line-height: 1.2; }
.shop-stats span { color: #9FB4D0; font-size: .88rem; }
@media (prefers-reduced-motion: no-preference) {
  .shop-hero .container > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .shop-hero .container > :nth-child(2) { animation-delay: .06s; }
  .shop-hero .container > :nth-child(3) { animation-delay: .12s; }
  .shop-hero .container > :nth-child(4) { animation-delay: .18s; }
  .shop-hero .container > :nth-child(5) { animation-delay: .24s; }
}

.shop-bar { position: sticky; top: var(--header-h); z-index: 60; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.shop-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px 0; flex-wrap: wrap; }
.shop-bar .chips { margin: 0; }
.shop-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.shop-filters select { width: auto; padding-top: 9px; padding-bottom: 9px; }
.shop-filters .range-label { min-width: 190px; padding: 5px 12px; }
[data-page="boutique"] .shop { padding-top: 28px; }

[data-page="boutique"] .product-grid { gap: 22px; }
[data-page="boutique"] .product { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; }
[data-page="boutique"] .product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(4, 36, 77, .12); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
[data-page="boutique"] .p-media { border-radius: 0; aspect-ratio: 4 / 3.4; }
[data-page="boutique"] .product:hover .p-media img { transform: scale(1.05); }
.p-cat { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(4, 36, 77, .82); color: #fff; font-size: .74rem; font-weight: 800; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.p-view { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); padding: 7px 14px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .82rem; font-weight: 800; opacity: 0; transition: opacity .25s, transform .25s; white-space: nowrap; }
.product:hover .p-view, .p-media:focus-visible .p-view { opacity: 1; transform: translate(-50%, 0); }
[data-page="boutique"] .p-fav { top: 12px; right: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
[data-page="boutique"] .p-body { padding: 16px 16px 18px; gap: 6px; }
[data-page="boutique"] .p-brand { color: var(--blue-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
[data-page="boutique"] .p-name { font-size: 1.05rem; line-height: 1.3; }
.p-chips { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.p-chips li { padding: 3px 9px; border-radius: 6px; background: var(--blue-50); color: var(--text-2); font-size: .78rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-price { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; color: var(--text); margin-top: 6px; }
.p-price.ask { font-size: 1rem; color: var(--muted); }
[data-page="boutique"] .p-foot { padding-top: 10px; border-top: 1px solid var(--border); margin-top: 8px; }
[data-page="boutique"] .p-foot .btn { flex: 1; }
[data-page="boutique"] .shop-note { background: var(--navy); color: #fff; border-radius: 16px 16px 16px 2px; padding: clamp(22px, 3vw, 34px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
[data-theme="dark"] [data-page="boutique"] .shop-note { background: #071629; border: 1px solid var(--border); }
[data-page="boutique"] .shop-note h2 { color: #fff; }
[data-page="boutique"] .shop-note p { color: #B9CCE6; margin: 4px 0 0; max-width: 560px; }

/* Réparation : photo du MacBook ouvert à droite */
.rep-hero .rep-bg img { width: min(56%, 820px); object-position: center 45%; }
.rep-hero .rep-bg::after { background: linear-gradient(90deg, #030B18 0%, #030B18 36%, rgba(3, 11, 24, .8) 50%, rgba(3, 11, 24, .3) 72%, rgba(3, 11, 24, .15) 100%), linear-gradient(0deg, rgba(3, 11, 24, .9) 0%, rgba(3, 11, 24, 0) 30%); }

@media (max-width: 920px) {
  .shop-hero .hero-bg img, .rep-hero .rep-bg img { width: 100%; opacity: .45; }
  .shop-bar { position: static; }
  .shop-bar-inner { flex-direction: column; align-items: stretch; }
  .shop-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
}
@media (max-width: 640px) {
  .shop-hero h1 { font-size: 2rem; }
  .shop-stats { gap: 10px 24px; }
  .shop-stats b { font-size: 1.2rem; }
  .shop-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .shop-filters select { width: 100%; }
  .shop-filters .range-label { grid-column: 1 / -1; min-width: 0; }
  .shop-bar .chips { margin: 0 -16px; padding: 0 16px; }
  [data-page="boutique"] .product-grid { gap: 12px; }
  [data-page="boutique"] .p-body { padding: 12px 12px 14px; }
  [data-page="boutique"] .p-name { font-size: .95rem; }
  .p-chips li:nth-child(n+3) { display: none; }
  .p-price { font-size: 1rem; overflow-wrap: anywhere; }
  .shop-filters .range-label { order: 3; }
  .p-view { display: none; }
  .p-cat { left: 8px; top: 8px; font-size: .68rem; padding: 3px 8px; }
  [data-page="boutique"] .p-foot { flex-direction: column; align-items: stretch; }
}

/* Sur un fond sombre, dès qu’on défile : fond bleu nuit flouté pour que rien ne se mélange au menu */
.header.on-dark.scrolled { background: rgba(3, 11, 24, .74); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }

/* =========================================================
   Page Contact
   ========================================================= */
.contact-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(135deg, #030B18 0%, #04244D 60%, #0A3D7A 100%); padding: clamp(36px, 6vw, 80px) 0 clamp(44px, 6vw, 80px); }
.contact-hero::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -160px; width: 560px; height: 560px; border: 76px solid rgba(22, 131, 214, .15); transform: rotate(45deg); }
.contact-hero::after { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -280px; width: 420px; height: 420px; border: 2px solid rgba(124, 189, 242, .16); transform: rotate(45deg); }
.has-dark-top main > .contact-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px)); }
.contact-hero .crumbs, .contact-hero .crumbs a { color: #9FB4D0; }
.contact-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 15em; margin: 8px 0 14px; }
.contact-hero h1 em { font-style: normal; background: linear-gradient(90deg, #6EE7B7, #5BC8F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-hero .lead { color: #C3D2E6; max-width: 680px; }
.ch-status { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 3px 12px 3px 10px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.ch-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #6EE7B7; }
.contact-tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ct { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; text-decoration: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .25s, border-color .25s; }
.ct:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); border-color: rgba(124, 189, 242, .5); }
.ct > i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--blue); color: #fff; flex: none; }
.ct-wa > i { background: #1DA851; }
.ct span { min-width: 0; display: flex; flex-direction: column; }
.ct small { color: #9FB4D0; font-size: .8rem; font-weight: 700; }
.ct b { font-family: var(--font-title); font-size: 1.05rem; }
.ct em { font-style: normal; color: #C3D2E6; font-size: .88rem; overflow-wrap: anywhere; }
.ct[aria-disabled="true"] { cursor: default; }
/* Photo de la porte ouverte : fondue dans le bleu nuit à droite, comme sur les autres pages.
   Sur téléphone, elle devient une image de couverture au-dessus du titre. */
.contact-hero { background: #030B18; }
.contact-hero::before, .contact-hero::after { display: none; }
.ch-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ch-bg img { position: absolute; right: 0; top: 0; height: 100%; width: min(54%, 780px); object-fit: cover; object-position: 68% 50%; filter: brightness(.78) saturate(.9); }
.ch-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #030B18 0%, #030B18 38%, rgba(3, 11, 24, .78) 50%, rgba(3, 11, 24, .25) 70%, rgba(3, 11, 24, .05) 100%),
  linear-gradient(0deg, #030B18 0%, rgba(3, 11, 24, 0) 24%),
  linear-gradient(180deg, rgba(3, 11, 24, .55) 0%, rgba(3, 11, 24, 0) 22%); }
@media (min-width: 921px) { .ch-bg { bottom: 150px; } }
.ch-text { max-width: 640px; }
@media (prefers-reduced-motion: no-preference) {
  .ch-text > *, .contact-tiles { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ch-text > :nth-child(2) { animation-delay: .06s; }
  .ch-text > :nth-child(3) { animation-delay: .12s; }
  .contact-tiles { animation-delay: .2s; }
  .ch-bg img { animation: drift 30s ease-in-out infinite alternate; }
}
@media (max-width: 920px) {
  .ch-bg img { width: 78%; }
  .ch-bg::after { background:
    linear-gradient(90deg, #030B18 0%, rgba(3, 11, 24, .85) 35%, rgba(3, 11, 24, .35) 70%, rgba(3, 11, 24, .15) 100%),
    linear-gradient(0deg, #030B18 0%, rgba(3, 11, 24, .5) 40%, rgba(3, 11, 24, 0) 65%); }
}
@media (max-width: 640px) {
  /* Image de couverture : la touche Entrée, la porte et le personnage restent au-dessus du titre */
  .ch-bg { bottom: auto; height: 400px; }
  .ch-bg img { top: -30px; left: 0; right: auto; width: 100%; height: auto; object-fit: fill; filter: brightness(.86); animation: none; }
  .ch-bg::after { background: linear-gradient(180deg, rgba(3, 11, 24, .6) 0%, rgba(3, 11, 24, 0) 20%, rgba(3, 11, 24, 0) 58%, rgba(3, 11, 24, .85) 80%, #030B18 100%); }
  .contact-hero .crumbs { margin-bottom: 178px; }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 28px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 24px 60px rgba(4, 36, 77, .08); gap: 18px; }
.cc-head h2 { font-size: 1.5rem; margin-bottom: 4px; }
.cc-head p { margin: 0; }
.subject-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chips label { cursor: pointer; position: relative; }
.subject-chips input { position: absolute; opacity: 0; pointer-events: none; }
.subject-chips span { display: inline-block; padding: 9px 16px; border-radius: 30px; border: 1.5px solid var(--border); font-weight: 700; font-size: .92rem; color: var(--text-2); transition: border-color .15s, background-color .15s, color .15s; }
.subject-chips label:hover span { border-color: var(--blue); }
.subject-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .subject-chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #06182F; }
.subject-chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.contact-card textarea { resize: vertical; min-height: 130px; }
.contact-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); scroll-margin-top: calc(var(--header-h) + 20px); }
.hours-card { background: var(--navy); color: #fff; border-radius: 18px 18px 18px 2px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(4, 36, 77, .22); }
[data-theme="dark"] .hours-card { background: #071629; border: 1px solid var(--border); }
.hc-head { display: flex; justify-content: space-between; align-items: center; }
.hc-head h2 { color: #fff; font-size: 1.25rem; margin: 0; }
.hours-card .open-status { display: inline-flex; background: rgba(255, 255, 255, .1); margin: 0; }
.hours-card .open-status.open { color: #6EE7B7; }
.hours-card .open-status.closed { color: #FFB4B4; }
.hours-card .hours div { border-color: rgba(255, 255, 255, .14); color: #DCE7F5; }
.hours-card .hours div.today { color: #fff; }
.hours-card .hours div.today span::after { color: #8FA8C8; }
.visit-mini { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.visit-mini h3, .visit-mini p { margin: 0; }
.faq-intro { margin-bottom: 18px; }
.faq-cards details { border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq-cards details[open] { border-color: var(--blue); box-shadow: 0 12px 30px rgba(4, 36, 77, .07); }
.faq-cards summary { padding: 18px 0; }
.faq-cards summary::after { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
@media (max-width: 1120px) { .contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; }
}

/* =========================================================
   Menu du téléphone et de la tablette : panneau plein écran
   ========================================================= */
.nav-extra { display: none; }
@media (max-width: 920px) {
  .nav.open { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; overflow-y: auto; padding: 10px 24px calc(28px + env(safe-area-inset-bottom)); box-shadow: none; animation: menuIn .25s ease both; background: var(--bg); }
  .nav.open a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; color: var(--text); }
  .nav.open a:not(.btn)::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-top: 2px solid var(--muted); transform: rotate(45deg); }
  .nav.open a.active { color: var(--blue-ink); }
  .nav.open .nav-rdv { display: none; }
  .nav.open .nav-extra { display: grid; gap: 10px; margin-top: 22px; }
  .nav.open .nav-extra .btn { font-size: 1rem; padding: 14px; }
  .nav.open .nav-extra .btn-link { justify-self: center; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Téléphone : version retravaillée sur toutes les pages
   ========================================================= */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 52px 0; }
  h2 { font-size: 1.55rem; }
  .lead { font-size: 1rem; }
  .btn-lg { padding: 14px 18px; font-size: .98rem; }
  .container, .narrow { width: calc(100% - 36px); }

  /* hauts de page */
  .hero, .code-hero, .pc-hero, .rep-hero, .shop-hero, .contact-hero { padding-bottom: 40px; }
  .hero h1, .code-hero h1, .pc-hero h1, .rep-hero h1, .shop-hero h1, .contact-hero h1 { font-size: 1.95rem; line-height: 1.15; }
  .crumbs { font-size: .8rem; margin-bottom: 10px; }
  .intro-status { font-size: .82rem; margin-bottom: 14px; }
  .hero-grid { gap: 22px; }
  .hero-card { padding: 18px; }
  .hero-card img { display: none; }
  .hero-card a { padding: 11px 2px; font-size: .98rem; }
  .facts-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 0 18px 4px; margin: 26px -18px 0; background: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; scrollbar-width: none; }
  .facts-strip::-webkit-scrollbar { display: none; }
  .facts-strip li, .facts-strip li + li { flex: 0 0 76%; scroll-snap-align: start; padding: 14px !important; border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 12px; background: rgba(255, 255, 255, .06); }
  .pc-steps li { padding: 12px 14px; }
  .shop-stats { gap: 8px 22px; margin-top: 20px; }
  .quick-devices { gap: 6px; }
  .qd { padding: 8px 12px 8px 9px; font-size: .86rem; }
  .qd i { width: 18px; height: 18px; }
  .rep-hero .facts { font-size: .86rem; gap: 6px 16px; }
  .track-card { padding: 20px; }
  .code-offers li { padding: 12px 14px; }
  .code-offers li:has(> a) { padding: 0; }
  .code-offers a { padding: 12px 14px; }
  .contact-tiles { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .ct { flex-direction: column; gap: 10px; padding: 14px; }
  .ct > i { width: 38px; height: 38px; padding: 9px; }
  .ct b { font-size: .98rem; }
  .ct em { font-size: .8rem; }
  .ch-status { margin: 10px 0 0; }

  /* contenus */
  .about-text .about-intro { font-size: 1.08rem; }
  .service-list b { font-size: 1.05rem; }
  .service-list span:not(.num) { font-size: .93rem; }
  .tools a { padding: 14px; gap: 12px; font-size: .9rem; }
  .tools a > i { width: 38px; height: 38px; padding: 9px; }
  .steps-band h2, .tools-head { margin-bottom: 22px; }
  .visit-card { border-radius: 14px; }
  .visit-main, .visit-side { padding: 22px; }
  .contact-card { padding: 20px; border-radius: 16px; }
  .subject-chips span { padding: 8px 13px; font-size: .88rem; }
  .faq-cards details { padding: 0 16px; }
  .wizard { padding: 18px; }
  .estimate { gap: 14px; }
  .est-main { padding: 20px; }

  /* boutons flottants : un seul bouton WhatsApp, au-dessus de la barre du bas */
  .fab.bot { display: none; }
  .fabs { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fab.wa { width: 50px; height: 50px; box-shadow: 0 10px 26px rgba(29, 168, 81, .35); }
  .has-compare .fabs { bottom: calc(186px + env(safe-area-inset-bottom)); }

  /* barre du bas en verre */
  .bottom-nav { background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 -8px 24px rgba(4, 36, 77, .06); }
  .bottom-nav a, .bottom-nav button { min-height: 48px; justify-content: center; }

  /* pied de page plus court */
  .footer { padding: 40px 0 calc(20px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
  .footer-brand img { width: 74px; margin: 0; }
  .footer-brand p { margin: 0; }
  .footer-grid > div:last-child { display: none; }
  .footer-bottom { margin-top: 26px; flex-direction: column; gap: 12px; }
  .footer-legal { gap: 10px 14px; }

  /* bandeau des cookies plus discret */
  .cookie { padding: 14px; }
  .cookie p { font-size: .86rem; margin-bottom: 10px; }
}

/* Menu ouvert : pas de flou sur la barre, sinon le panneau plein écran est limité à la hauteur de la barre */
.menu-open .header, .menu-open .header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.hours b { white-space: nowrap; }
.nav .nav-extra .btn-primary { color: #fff; border-bottom-color: transparent; }
.nav .nav-extra .btn-outline { color: var(--text); border-color: var(--border); }
[data-theme="dark"] .nav .nav-extra .btn-primary { color: #06182F; }
@media (min-width: 921px) { .nav { top: auto !important; } }
.nav.open a.nav-rdv { display: none; }

/* Sans barre du bas sur téléphone : la navigation passe par le menu du haut */
@media (max-width: 640px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav { display: none !important; }
  .fabs { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .has-compare .fabs { bottom: calc(124px + env(safe-area-inset-bottom)); }
  .compare-bar { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .menu-open .fabs { display: none; }
}

.wiz-dev { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 12px; border-radius: 20px; background: var(--blue-50); color: var(--blue-ink); font-size: .85rem; font-weight: 800; }

/* Boutons Commander alignés sur une même ligne : le prix et le bouton sont poussés en bas de chaque fiche */
[data-page="boutique"] .product { height: 100%; }
[data-page="boutique"] .p-body { flex: 1; }
[data-page="boutique"] .p-price { margin-top: auto; padding-top: 8px; }
[data-page="boutique"] .p-foot { margin-top: 8px; }
[data-page="boutique"] .p-foot { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 8px; }
[data-page="boutique"] .p-foot .btn { width: 100%; flex: none; }
[data-page="boutique"] .p-cmp { align-self: flex-start; }

/* =========================================================
   Promotions (ancien prix barré, étiquette) et publicités gérées dans l'admin
   ========================================================= */
.btn-wa { background: #1DA851; border-color: #1DA851; color: #fff; }
.btn-wa:hover { background: #178F45; border-color: #178F45; color: #fff; }
.p-badge { background: #C2410C; }
.old-price { font-size: .7em; font-weight: 600; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.off { display: inline-block; vertical-align: middle; font-size: .62em; font-weight: 800; padding: 2px 6px; border-radius: var(--r-sm); background: color-mix(in srgb, #C2410C 14%, transparent); color: #C2410C; white-space: nowrap; }
[data-theme="dark"] .off { color: #FDBA74; }
.p-price.promo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.qv-badge { display: inline-block; margin: 6px 0 2px; padding: 3px 10px; border-radius: 20px; background: #C2410C; color: #fff; font-size: .8rem; font-weight: 800; }

.ads-slot { padding: 24px 0 0; }
.ads { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ads::-webkit-scrollbar { display: none; }
.ads.many { grid-auto-columns: min(560px, 88%); }
.ad { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.ad:not(:has(.ad-media)) { grid-template-columns: minmax(0, 1fr); }
.ad-media { background: var(--surface-2); }
.ad-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ad-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 18px 20px; }
.ad-body h2 { margin: 0; font-size: 1.2rem; }
.ad-body p { margin: 0; color: var(--text-2); font-size: .93rem; }
.ad-body .btn { margin-top: 4px; min-height: 42px; }
.ads-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.ads-dots span { width: 7px; height: 7px; border-radius: 4px; background: var(--border); transition: width .2s, background-color .2s; }
.ads-dots span.on { width: 20px; background: var(--blue); }

/* Barre de total collée en bas de l'écran (PC sur mesure, sites et logiciels) */
.m-bar { display: none; }
@media (max-width: 920px) {
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; box-shadow: 0 -10px 30px rgba(3, 11, 24, .22); transform: translateY(110%); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
  .m-bar.show { transform: none; }
  .m-bar small { display: block; color: #9FB4D0; font-size: .78rem; font-weight: 700; }
  .m-bar b { font-family: var(--font-title); font-size: 1.18rem; }
  .m-bar .btn { min-height: 44px; flex: none; }
  .has-mbar .fabs { bottom: 86px; }
}

/* =========================================================
   Téléphone (95 % des visites) : lisibilité et cibles tactiles d'au moins 44 px
   ========================================================= */
@media (max-width: 640px) {
  /* Boutique : filtres qui tiennent dans l'écran, boutons faciles à toucher */
  .shop-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
  .shop-filters select { min-width: 0; min-height: 44px; }
  .chip { min-height: 42px; }
  .p-cat { font-size: .74rem; padding: 4px 9px; }
  .p-fav { width: 40px; height: 40px; }
  .p-foot .btn { min-height: 44px; }
  .p-cmp { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
  .p-cmp input { width: 20px; height: 20px; }
  .old-price { font-size: .78em; }

  /* Tableau des prix en cartes : intervention en haut, prix et durée dessous, bouton à droite */
  .price-grid-wrap { overflow: visible; }
  .price-grid { min-width: 0; font-size: .95rem; }
  .price-grid thead { display: none; }
  .price-grid tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .price-grid tbody tr:last-child { border-bottom: 0; }
  .price-grid td { display: block; padding: 0; border: 0; }
  .price-grid .pg-dev { grid-column: 1 / -1; font-size: .78rem; font-weight: 800; color: var(--blue-ink); }
  .price-grid .pg-label { grid-column: 1 / -1; font-weight: 700; color: var(--text); }
  .price-grid .pg-price { grid-column: 1; }
  .price-grid .pg-time { grid-column: 1; color: var(--muted); font-size: .86rem; }
  .price-grid .pg-act { grid-column: 2; grid-row: span 2; align-self: center; }
  .price-grid .pg-act .btn-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 20px; text-decoration: none; }
  .price-grid td[colspan] { grid-column: 1 / -1; }

  /* Hauts de page plus courts : les listes passent en bandes qu'on fait glisser du doigt */
  .code-offers { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 6px -18px 0; padding: 0 18px 6px; }
  .code-offers::-webkit-scrollbar, .pc-steps::-webkit-scrollbar { display: none; }
  .code-offers li { flex: 0 0 76%; scroll-snap-align: start; }
  .code-offers a { grid-template-columns: minmax(0, 1fr); height: 100%; align-content: start; }
  .code-offers a em { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .code-offers li:hover { transform: none; }
  .pc-steps { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -18px; margin-right: -18px; padding: 0 18px 6px; }
  .pc-steps li { flex: 0 0 78%; scroll-snap-align: start; }

  /* Textes trop fins */
  .fps small { font-size: .74rem; }
  .day small { font-size: .78rem; }

  /* Publicités : image au-dessus du texte, la suivante dépasse pour inviter à glisser */
  .ads-slot { padding-top: 16px; }
  .ads { margin: 0 -18px; padding: 0 18px; scroll-padding: 0 18px; }
  .ad { grid-template-columns: minmax(0, 1fr); }
  .ad-media img { aspect-ratio: 16 / 9; }
  .ad-body { padding: 14px 16px 16px; }
  .ad-body h2 { font-size: 1.08rem; }

  /* Liens du bas de page, fil d'Ariane et bandeau cookies : assez hauts pour le doigt */
  .footer-bottom a { display: inline-block; padding: 9px 0; }
  .crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cookie-actions .btn { min-height: 44px; flex: 1; min-width: 0; }
  input[type="range"] { height: 32px; }
}

/* Logo officiel WhatsApp (dossier Logo) : la forme exacte prend la couleur du texte dans les boutons,
   le logo vert complet sert sur le bouton flottant et la tuile de la page Contact */
i[data-i="whatsapp"] { background-color: currentColor; -webkit-mask: url(../assets/icons/wa-glyph.png) center / contain no-repeat; mask: url(../assets/icons/wa-glyph.png) center / contain no-repeat; }
i[data-i="whatsapp"] svg { visibility: hidden; }
.fab.wa { background: url(../assets/icons/whatsapp.webp) center / cover no-repeat; border-radius: 28%; }
.fab.wa i { display: none; }
.ct-wa > i { background: url(../assets/icons/whatsapp.webp) center / cover no-repeat; -webkit-mask: none; mask: none; }

/* =========================================================
   Page Formations : cours d'informatique à domicile et en ligne
   ========================================================= */
.course-hero h1 em { font-style: normal; background: linear-gradient(90deg, #8FB8FF, #5BC8F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.course-hero .hero-bg img { object-position: center 55%; }
.course-hero .lead { max-width: 640px; color: #C3D2E6; }
.course-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.course-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .88rem; color: #AFC1DA; }
.course-facts i { width: 22px; height: 22px; color: #8FB8FF; margin-top: 2px; }
.course-facts b { display: block; color: #fff; font-family: var(--font-title); font-size: .98rem; }
.course-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.course-head > div:first-child { max-width: 620px; }
.course-mode { width: min(320px, 100%); }
.course-mode span { display: block; text-align: center; padding: 10px 12px; border-radius: calc(var(--r) - 2px); font-weight: 800; font-size: .92rem; color: var(--text-2); }
.course-mode input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(4, 36, 77, .12); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 14px; }
.course { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.course.featured { border: 2px solid var(--blue); }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.course-top h3 { margin: 0; font-size: 1.25rem; }
.course-flag { flex: none; padding: 3px 10px; border-radius: 20px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue-ink); font-size: .76rem; font-weight: 800; }
.course-desc { margin: 0; color: var(--text-2); }
.course-topics { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.course-topics li { display: flex; gap: 8px; align-items: flex-start; }
.course-topics i { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.course-meta { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.course-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.course-price small { color: var(--muted); font-size: .84rem; font-weight: 700; }
.course-price b { font-family: var(--font-title); font-size: 1.35rem; }
.course-price b.ask { font-size: 1rem; color: var(--muted); }
.course-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.course-actions .btn { min-height: 44px; padding-left: 10px; padding-right: 10px; }
.course-how { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.course-how h2 { margin-bottom: 26px; }
.course-who { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.course-who h3 { margin: 0; }
.course-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.course-tags li { padding: 6px 12px; border-radius: 20px; background: var(--surface-2); font-size: .88rem; font-weight: 700; color: var(--text-2); }
.course-how .reviews-slot { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 1020px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) { .course-how { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .course-facts { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .course-facts li { padding: 12px; }
  .course-mode { width: 100%; }
  .course-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .course { padding: 18px; }
  .course-who { padding: 18px; }
}

/* Formations, version illustrée : logos Office, gains concrets, cours en ligne, appel final */
.office-logos { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 10px; }
.office-logos li { width: 58px; height: 58px; padding: 9px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.office-logos img { display: block; width: 100%; height: 100%; object-fit: contain; }
.course-hero .hero-bg img { object-position: 60% 50%; }

.gain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gain-grid li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); font-size: .92rem; color: var(--text-2); }
.gain-grid img, .gain-ico { width: 46px; height: 46px; margin-bottom: 4px; }
.gain-ico { display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue-ink); }
.gain-ico i { width: 24px; height: 24px; }
.gain-grid b { color: var(--text); font-family: var(--font-title); font-size: 1.02rem; }

.course-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; }
.course > h3 { margin: 2px 0 0; font-size: 1.25rem; }
.course-logos { display: flex; align-items: center; }
.course-logos img { width: 48px; height: 48px; object-fit: contain; }
.course-logos img + img { margin-left: -10px; }
.course-logos.generic { width: 48px; height: 48px; justify-content: center; border-radius: 12px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue-ink); }
.course-logos.generic i { width: 26px; height: 26px; }
.course { transition: border-color .2s; }
.course:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--border)); }

.course-online { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.online-photo { margin: 0; }
.online-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--surface-2); }
.online-text h2 { margin-bottom: 12px; }
.online-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.online-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.online-points i { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }
.online-home { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: var(--r-lg); background: var(--sand); }
.online-home i { width: 24px; height: 24px; flex: none; color: var(--navy); }
.online-home p { margin: 0; color: var(--text-2); }
.online-home b { color: var(--text); }

.course-cta { padding-top: 0; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); max-width: 22em; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #C3D2E6; }
.cta-band .cta-row { flex: none; }
[data-page="cours"] .section.alt { background: var(--bg-alt); }

@media (max-width: 1020px) { .gain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .course-online { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .office-logos li { width: 50px; height: 50px; padding: 8px; border-radius: 12px; }
  .gain-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gain-grid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; }
  .gain-grid img, .gain-ico { width: 44px; height: 44px; grid-row: span 2; margin: 0; }
  .course-logos img { width: 44px; height: 44px; }
  .cta-band .cta-row { flex-direction: column; }
  .cta-band .btn { width: 100%; }
}
