/* ============================================================
   atdsolar.co — site public, style « Course du soleil »
   Bleu cellule PV · or du soleil · vert du logo. Titres Bricolage Grotesque, texte Onest
   (arabe : Noto Sans Arabic). Mobile d'abord.
   ============================================================ */
:root {
  --pv: #0F2740; --pv2: #16324F; --pvl: #24496D; --sun: #F2A516; --sun2: #FFC94D; --sunsoft: #FDF1D6;
  --leaf: #4E9F2D; --leafsoft: #E5F2DD; --bg: #F3F6F8; --card: #fff; --ink: #10202F; --mu: #5B6B7A; --line: #D8E0E7; --crit: #D64545;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; --disp: 'Bricolage Grotesque', 'Onest', system-ui, sans-serif;
  --r: 22px; --w: 1200px;
}
html[dir=rtl] { --font: 'Noto Sans Arabic', 'Onest', Tahoma, sans-serif; --disp: 'Noto Sans Arabic', 'Bricolage Grotesque', Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(36px, 6.2vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.mu { color: var(--mu); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; background: var(--sun); color: #1B1300; padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.sec { padding: 96px 0; position: relative; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #9A6400; background: var(--sunsoft); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.kick::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(242,165,22,.25); }
.lead { font-size: 19px; color: var(--mu); max-width: 640px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
       font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.sun { background: var(--sun); color: #1B1300; box-shadow: 0 10px 24px -10px rgba(242,165,22,.8); }
.btn.sun:hover { background: #FFB528; }
.btn.pv { background: var(--pv); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }
.btn.wa { background: #25D366; color: #06290F; }

/* En-tête */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(243,246,248,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.sm { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,39,64,.5); }
.hd-in { max-width: var(--w); margin: 0 auto; padding: 0 22px; height: 76px; display: flex; align-items: center; gap: 20px; transition: height .2s; }
.hd.sm .hd-in { height: 64px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.nav a:hover { background: rgba(15,39,64,.06); }
.nav a[aria-current=page] { color: #9A6400; background: var(--sunsoft); }
.nav a.nav-x { display: none; }
.hd-act { display: flex; align-items: center; gap: 10px; }
.lng { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.lng a { padding: 9px 10px; font-weight: 700; font-size: 13px; text-decoration: none; color: var(--mu); min-width: 34px; text-align: center; }
.lng a[aria-current] { background: var(--pv); color: #fff; }
.hd .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-open .burger span:nth-child(2) { opacity: 0; } .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Accroche plein écran — photo réelle (si choisie) ou décor « cellule PV + soleil » */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--pv);
        background-image: radial-gradient(60% 70% at 85% 10%, rgba(255,201,77,.55), rgba(242,165,22,.12) 45%, transparent 70%),
                          linear-gradient(rgba(36,73,109,.55) 1px, transparent 1px), linear-gradient(90deg, rgba(36,73,109,.55) 1px, transparent 1px),
                          linear-gradient(160deg, #16324F, #0F2740 60%, #0B1D30);
        background-size: auto, 56px 56px, 56px 56px, auto; background-position: center; }
.hero[style] { background-size: cover; background-position: center; }
.hero-in { max-width: var(--w); margin: 0 auto; padding: 110px 22px 120px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--sun2); }
.hero .lead { color: #D3DEE8; font-size: 20px; }
.hero .kick { background: rgba(242,165,22,.18); color: #FFD27A; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.sun-orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(255,201,77,.55), rgba(242,165,22,0) 65%); pointer-events: none; }
html[dir=rtl] .sun-orb { inset-inline-end: auto; inset-inline-start: -160px; }

/* Mini-simulateur */
.sim { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--r); padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.sim h3 { font-size: 20px; }
.sim-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 0 6px; }
.sim-row b { font-family: var(--disp); font-size: 34px; }
.sim input[type=range] { width: 100%; accent-color: var(--sun); height: 32px; }
.sim-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 18px; }
.sim-out div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.sim-out small { display: block; color: var(--mu); font-size: 13px; }
.sim-out strong { font-family: var(--disp); font-size: 22px; }
.sim .note { font-size: 12.5px; color: var(--mu); margin: 10px 0 0; }
.sim .btn { width: 100%; }

/* Bandeau de confiance */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { max-width: var(--w); margin: 0 auto; padding: 22px; display: flex; gap: 14px 34px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.trust-it { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.trust-it i { width: 44px; height: 44px; border-radius: 12px; background: var(--sunsoft); display: grid; place-items: center; font-style: normal; font-size: 22px; }
.brands { display: flex; gap: 22px; color: var(--mu); font-family: var(--disp); font-weight: 800; letter-spacing: .02em; font-size: 18px; opacity: .8; }

/* Cartes solutions */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(15,39,64,.6); }
.card-ph { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--pv2), var(--pv)); background-size: cover; background-position: center; position: relative; }
.card-ph:not([style])::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(36,73,109,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(36,73,109,.7) 1px, transparent 1px), radial-gradient(circle at 80% 20%, rgba(255,201,77,.6), transparent 45%); background-size: 28px 28px, 28px 28px, auto; }
.card-b { padding: 22px; flex: 1; }
.card-b p { color: var(--mu); margin: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sunsoft); color: #9A6400; margin-bottom: 10px; }
.sol-big { grid-row: span 2; }

/* Bande batterie */
.band { background: var(--pv); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.band .lead { color: #C9D6E3; }
.bat { display: flex; gap: 16px; align-items: center; justify-content: center; }
.bat-cell { width: 160px; height: 250px; border: 5px solid #fff; border-radius: 26px; position: relative; padding: 10px; }
.bat-cell::before { content: ''; position: absolute; width: 56px; height: 14px; background: #fff; border-radius: 6px 6px 0 0; top: -18px; left: 50%; transform: translateX(-50%); }
.bat-fill { position: absolute; inset: auto 10px 10px 10px; height: 78%; border-radius: 14px; background: linear-gradient(0deg, var(--leaf), #7CC85A); animation: charge 3.2s ease-in-out infinite alternate; }
@keyframes charge { from { height: 30%; } to { height: 86%; } }
.bat-leg { display: grid; gap: 12px; }
.bat-leg div { background: rgba(255,255,255,.08); border: 1px solid var(--pvl); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.bat-leg b { color: var(--sun2); }

/* Compteurs d'impact */
.impact { background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.stat { border-radius: var(--r); padding: 26px 22px; background: var(--bg); position: relative; overflow: hidden; }
.stat.hot { background: var(--pv); color: #fff; }
.stat.hot::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,77,.45), transparent 65%); inset-inline-end: -80px; top: -90px; }
.stat b { display: block; font-family: var(--disp); font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -.02em; }
.stat b small { font-size: .5em; color: var(--sun); margin-inline-start: 4px; }
.stat span { display: block; margin-top: 10px; font-weight: 600; color: var(--mu); }
.stat.hot span { color: #C9D6E3; }
.stat em { display: block; font-style: normal; font-size: 12.5px; color: var(--mu); margin-top: 6px; }
.stat.hot em { color: #8FA6BC; }

/* Processus */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.step::before { counter-increment: st; content: counter(st); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1B1300; font: 800 18px var(--disp); margin-bottom: 14px; }
.step p { color: var(--mu); margin: 0; }

/* Réalisations */
.reals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.real .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.real .meta span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.filters a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.filters a[aria-current] { background: var(--pv); color: #fff; border-color: var(--pv); }
.empty { background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px; text-align: center; color: var(--mu); }

/* Références */
.refs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.refs span { padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-family: var(--disp); }

/* Espace client — téléphone */
.phone { width: 270px; height: 540px; border-radius: 40px; background: var(--pv); padding: 14px; margin: 0 auto; box-shadow: 0 40px 60px -30px rgba(15,39,64,.7); }
.phone-sc { background: #fff; border-radius: 28px; height: 100%; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone-sc .pk { background: var(--pv); color: #fff; border-radius: 18px; padding: 16px; }
.phone-sc .pk b { font: 800 30px var(--disp); display: block; }
.phone-sc .pr { display: flex; justify-content: space-between; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.phone-sc .pr i { font-style: normal; color: var(--leaf); }
.phone-sc .al { background: var(--sunsoft); color: #7A4E00; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 600; }
.ticks li::before { content: '✓'; color: #fff; background: var(--leaf); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }

/* Appel à l'action */
.cta { background: linear-gradient(120deg, var(--sun), #FFC94D); border-radius: 32px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #1B1300; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #5A3B00; font-size: 18px; }

/* Pages intérieures */
.ph { background: var(--pv); color: #fff; padding: 70px 0 64px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.ph::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,77,.4), transparent 65%); inset-inline-end: -120px; top: -160px; }
.ph .lead { color: #C9D6E3; }
.prose { max-width: 760px; font-size: 18px; }
.prose img { border-radius: 16px; margin: 18px 0; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; font: 500 17px var(--font); background: #fff; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 4px rgba(242,165,22,.2); }
.tel { display: flex; } .tel span { display: grid; place-items: center; padding: 0 14px; background: var(--bg); border: 1.5px solid var(--line); border-inline-end: 0; border-radius: 14px 0 0 14px; font-weight: 700; }
html[dir=rtl] .tel span { border-radius: 0 14px 14px 0; }
.tel input { border-radius: 0 14px 14px 0 !important; } html[dir=rtl] .tel input { border-radius: 14px 0 0 14px !important; }
.alert { border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.alert.ok { background: var(--leafsoft); color: #2F6B1A; } .alert.err { background: #FBE9E9; color: #A32E2E; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.door { padding: 34px; border-radius: var(--r); text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.door.cl { background: #fff; border: 1px solid var(--line); }
.door.pro { background: var(--pv); color: #fff; }
.door .btn { margin-top: auto; align-self: flex-start; }
.door p { color: var(--mu); } .door.pro p { color: #C9D6E3; }

/* Pied de page */
.ft { background: #0B1D30; color: #C9D6E3; margin-top: 96px; }
.ft-in { max-width: var(--w); margin: 0 auto; padding: 64px 22px 36px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 34px; }
.ft h3 { color: #fff; font-size: 17px; }
.ft a { color: #E5ECF2; text-decoration: none; } .ft a:hover { color: var(--sun2); }
.ft-brand img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 14px; }
.ft-badges span { display: inline-block; border: 1px solid var(--pvl); border-radius: 999px; padding: 4px 12px; margin-inline-end: 6px; font-weight: 700; font-size: 13px; }
.nl { display: flex; gap: 8px; flex-wrap: wrap; }
.nl input[type=email] { flex: 1 1 180px; min-height: 48px; border-radius: 12px; border: 1px solid var(--pvl); background: #13283D; color: #fff; padding: 0 14px; font: 500 15px var(--font); }
.nl .btn { min-height: 48px; }
.soc { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.ft-bot { border-top: 1px solid #1B3550; text-align: center; padding: 18px; font-size: 14px; color: #8FA6BC; }
.wa-float { position: fixed; z-index: 60; bottom: 20px; inset-inline-end: 20px; display: flex; align-items: center; gap: 10px; background: #25D366; color: #06290F; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }

/* Repère admin (photo à ajouter) */
.slot { position: absolute; z-index: 5; top: 12px; inset-inline-start: 12px; background: rgba(0,0,0,.6); color: #fff; font: 700 12.5px var(--font); padding: 6px 10px; border-radius: 999px; text-decoration: none; }

/* Apparition douce */
.rv-on { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv-on.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bat-fill { animation: none; } .btn, .card { transition: none; } }

/* Tablette / téléphone */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; padding: 14px 22px 22px; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px; font-size: 18px; }
  .burger { display: flex; }
  .hd-login { display: none; }
  .nav a.nav-x { display: block; text-align: center; font-weight: 800; border-radius: 14px; margin-top: 8px; white-space: normal; }
  .nav a.nav-x.login { border: 1.5px solid var(--line); background: #fff; }
  .nav a.nav-x.login[aria-current=page] { background: var(--sunsoft); }
  .nav a.nav-x.cta { background: var(--sun); color: #1B1300; }
  .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding: 70px 22px 80px; }
  .g3, .reals, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .ft-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .hd-in { height: 66px; gap: 10px; } .logo img { height: 40px; }
  .hd-cta { display: none; }
  .nav { top: 66px; }
  .lng a { padding: 8px 7px; min-width: 28px; }
  .g3, .g2, .reals, .steps, .doors { grid-template-columns: minmax(0, 1fr); }
  .hero .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta { padding: 34px 24px; border-radius: 24px; }
  .band { border-radius: 24px; }
  .bat-cell { width: 120px; height: 190px; }
  .ft-in { grid-template-columns: 1fr; }
  .wa-float span { display: none; } .wa-float { padding: 14px; }
}

/* Pages intérieures — Lot 3 (suite) */
.sol-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sol-row .card-ph { aspect-ratio: auto; min-height: 320px; }
.sol-row.alt .card-ph { order: 2; }
.sol-row .card-b { padding: 34px; }
.sol-row h2 { margin-top: 0; }
.det { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.det-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 26px; }
.det-cover img { width: 100%; display: block; }
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; position: sticky; top: 90px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.facts div:last-of-type, .facts div:nth-last-of-type(2) { border: 0; }
.facts span { color: var(--mu); } .facts b { text-align: end; }
.facts .share { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; border: 0; padding: 4px 0 0; }
.facts .share span { width: 100%; font-weight: 700; color: var(--ink, #0F2740); font-size: 14px; }
.sh { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; border: 1.5px solid var(--line); background: #fff; color: inherit; cursor: pointer; }
.sh.wa { background: #25D366; border-color: #25D366; color: #06290F; } .sh.fb { background: #1877F2; border-color: #1877F2; color: #fff; } .sh.li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-top: 22px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.back { display: inline-flex; gap: 6px; font-weight: 700; color: var(--pv); text-decoration: none; margin-bottom: 18px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 34px; align-items: start; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 16px; }
.ct-card a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ct-it { display: flex; gap: 14px; align-items: flex-start; }
.ct-it i { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sunsoft); display: grid; place-items: center; font-style: normal; font-size: 20px; }
.ct-it small { display: block; color: var(--mu); font-size: 13.5px; }
.vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.val { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.val b { display: block; font-family: var(--disp); font-size: 20px; margin-bottom: 6px; }
.val p { color: var(--mu); margin: 0; }
.shop-p { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.shop-p b { font-family: var(--disp); font-size: 20px; }
.banner-adm { background: #FFF4DA; color: #7A4E00; border: 1px solid #F2D08A; border-radius: 14px; padding: 12px 16px; font-weight: 600; margin-bottom: 20px; }
@media (max-width: 1080px) { .det, .ct-grid { grid-template-columns: minmax(0, 1fr); } .facts { position: static; } .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sol-row { grid-template-columns: minmax(0, 1fr); } .sol-row.alt .card-ph { order: 0; } .sol-row .card-ph { min-height: 200px; } .sol-row .card-b { padding: 22px; } .vals, .gal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.card-ph[data-h] { border-radius: var(--r); min-height: 340px; aspect-ratio: auto; }
/* Chiffres (séparateur d'espaces) toujours lus de gauche à droite, même en arabe */
html[dir=rtl] .stat b, html[dir=rtl] .sim-row b, html[dir=rtl] .sim-out strong, html[dir=rtl] .shop-p b, html[dir=rtl] .real .meta span, html[dir=rtl] .facts b { direction: ltr; unicode-bidi: isolate; }
html[dir=rtl] .stat b { text-align: right; }
html[dir=rtl] .facts b { text-align: left; }
.ct-card, .form { min-width: 0; } .ct-card > *, .form > * { min-width: 0; }
.ct-card .btn, .form .btn, .door .btn { white-space: normal; text-align: center; }
.det h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.nav a { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 1081px) { .nav { gap: 0; } .nav a { padding: 10px 8px; font-size: 14.5px; } .hd .btn { padding: 0 12px; } .hd-in { gap: 12px; } }
.phone-ex { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--mu); background: var(--bg); border-radius: 999px; padding: 2px 10px; }

/* ============================================================
   Boutique (lot B1) — cartes produit, catalogue, fiche produit
   ============================================================ */
.shop-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 15px var(--font); cursor: pointer; min-height: 44px; }
.chip small { color: var(--mu); font-weight: 700; margin-inline-start: 4px; }
.chip.on { background: var(--pv); color: #fff; border-color: var(--pv); }
.chip.on small { color: var(--sun2); }
.shop-q input { width: min(320px, 100%); min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; font: 16px var(--font); background: #fff; color: var(--ink); }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -28px rgba(15,39,64,.55); }
.pcard[hidden] { display: none; }
.pcard-ph { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #fff 0%, #EEF2F5 75%); display: grid; place-items: center; overflow: hidden; }
.pcard-ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pcard-ph img { transform: scale(1.06); }
.pcard-ph > span[aria-hidden] { font-size: 64px; opacity: .5; }
.pav { position: absolute; top: 12px; inset-inline-start: 12px; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pav.ok { background: var(--leafsoft); color: #2E6B16; } .pav.ord { background: var(--sunsoft); color: #8A5A00; }
.ppromo { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--crit); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 10px; }
.pcard-b { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-b h3 { font-size: 18px; margin: 0; color: var(--ink); }
.pcard-b p { color: var(--mu); font-size: 15px; margin: 0; }
.pbrand { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9A6400; }
.pprice { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pprice b { font-family: var(--disp); font-size: 22px; color: var(--pv); } .pprice b small { font-size: .6em; color: var(--mu); }
.pprice b.q { font-size: 16px; color: #9A6400; } .pprice s { color: var(--mu); }
.pprice.big b { font-size: 34px; }
.home-shop-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
@media (max-width: 760px) {
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prods.scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -22px; padding-inline: 22px; }
  .prods.scroller .pcard { flex: 0 0 72%; scroll-snap-align: start; }
  .pcard-b { padding: 12px 12px 14px; } .pcard-b h3 { font-size: 15.5px; } .pcard-b p { display: none; } .pprice b { font-size: 18px; }
  .shop-q, .shop-q input { width: 100%; }
}
/* Fiche produit */
.crumbs { font-size: 15px; color: var(--mu); margin-bottom: 18px; } .crumbs a { color: var(--pvl); }
.pdet-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pstage { position: relative; aspect-ratio: 1; border-radius: 28px; background: radial-gradient(circle at 50% 38%, #fff 0%, #E8EEF3 78%); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: pan-y; }
.pstage img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease-out; will-change: transform; user-select: none; -webkit-user-drag: none; }
.pnoimg { font-size: 110px; opacity: .4; }
.p360 { position: absolute; bottom: 14px; inset-inline-start: 50%; transform: translateX(-50%); background: rgba(15,39,64,.82); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; pointer-events: none; transition: opacity .6s; }
.p360.fade { opacity: .35; }
.pthumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pthumbs button { flex: 0 0 74px; height: 74px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.pthumbs button.on { border-color: var(--sun); }
.pthumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo h1 { font-size: clamp(28px, 3.6vw, 44px); margin: 6px 0 6px; }
.pav-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 14px 0 4px; padding: 8px 14px; border-radius: 12px; }
.pav-l i { width: 10px; height: 10px; border-radius: 50%; }
.pav-l.ok { background: var(--leafsoft); color: #2E6B16; } .pav-l.ok i { background: var(--leaf); box-shadow: 0 0 0 4px rgba(78,159,45,.2); }
.pav-l.ord { background: var(--sunsoft); color: #8A5A00; } .pav-l.ord i { background: var(--sun); }
.plead { font-size: 18px; color: var(--mu); margin-top: 14px; }
.pacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.ptrust { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--mu); }
.pdet-g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.pspecs table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pspecs th, .pspecs td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.pspecs tr:last-child th, .pspecs tr:last-child td { border-bottom: 0; }
.pspecs th { color: var(--mu); font-weight: 600; width: 50%; } .pspecs td { font-weight: 700; }
.pspecs tr:nth-child(even) { background: #F8FAFB; }
.pspecs h2, .pbody h2, .prel h2 { font-size: 26px; }
.prel { margin-top: 56px; }
.plight { position: fixed; inset: 0; z-index: 200; background: rgba(8,20,32,.92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.plight[hidden] { display: none; }
.plight img { max-width: min(1100px, 96vw); max-height: 90vh; object-fit: contain; background: #fff; border-radius: 18px; }
.plight button { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; cursor: pointer; }
@media (max-width: 900px) { .pdet-g, .pdet-g2 { grid-template-columns: minmax(0, 1fr); gap: 24px; } .pdet-g2 { margin-top: 36px; } .pstage { border-radius: 20px; } .pacts .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard-ph img, .pstage img { transition: none; } }

/* ═══════════════════════════════════════════════════════════════
   Boutique (lot B2) — panier, commande, suivi
   ═══════════════════════════════════════════════════════════════ */
.hd-cart { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; font-size: 20px; }
.hd-cart span { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--sun); color: #1B1300; font: 800 12.5px/22px var(--font); text-align: center; }
.padd { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.padd .btn { flex: 1 1 200px; }
.pqty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.pqty button { width: 46px; border: 0; background: var(--bg); font: 700 20px var(--font); cursor: pointer; color: var(--ink); }
.pqty input { width: 58px; border: 0; text-align: center; font: 700 17px var(--font); -moz-appearance: textfield; }
.pqty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-h { font: 800 clamp(28px, 4vw, 40px)/1.1 var(--disp); margin: 0 0 20px; }
.cart-g { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px; }
.cart-it { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-it:first-child { border-top: 0; }
.cart-ph { width: 76px; height: 76px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-size: 30px; text-decoration: none; }
.cart-ph img { width: 100%; height: 100%; object-fit: contain; }
.cart-t { font-weight: 800; color: var(--ink); text-decoration: none; display: block; }
.cart-in .pav-l { padding: 4px 10px; font-size: 13.5px; }
.cart-q input { width: 72px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 12px; text-align: center; font: 700 16px var(--font); }
.cart-tot { white-space: nowrap; }
.cart-x { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--mu); font-size: 16px; }
.cart-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 96px; }
.cart-sum h2 { margin: 0 0 12px; font: 800 22px var(--disp); }
.cs-r { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cs-r:first-of-type { border-top: 0; }
.cs-r.tot { font-size: 20px; } .cs-r.tot b { color: var(--pv); }
.co-opts { display: grid; gap: 10px; }
.co-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; background: #fff; }
.co-opt:has(input:checked) { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(242,165,22,.18); }
.co-opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pv); flex-shrink: 0; }
.co-opt span { display: grid; gap: 2px; } .co-opt small { color: var(--mu); } .co-opt small.ok { color: var(--leaf); font-weight: 700; }
.co-map { height: 300px; border-radius: 16px; border: 1.5px solid var(--line); z-index: 0; }
.oc-code { background: linear-gradient(135deg, var(--pv), var(--pvl)); color: #fff; border-radius: var(--r); padding: 24px; margin-bottom: 18px; display: grid; gap: 12px; }
.oc-code .mu { color: rgba(255,255,255,.75); } .oc-code p { margin: 0; }
.oc-k { font: 800 22px var(--disp); color: var(--sun2); }
.oc-big { background: #fff; color: var(--pv); border-radius: 16px; padding: 14px; text-align: center; font: 800 clamp(22px, 5vw, 32px) var(--disp); letter-spacing: .04em; }
.oc-big span { color: var(--sun); letter-spacing: .18em; }
.oc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.oc-card h2 { margin: 0 0 12px; font: 800 21px var(--disp); }
.oc-st { display: inline-block; font-weight: 800; padding: 8px 14px; border-radius: 12px; margin-bottom: 14px; background: var(--bg); }
.oc-st.ok { background: var(--leafsoft); color: #2E6B16; } .oc-st.warn { background: var(--sunsoft); color: #8A5A00; } .oc-st.info { background: #E6EEF6; color: var(--pvl); } .oc-st.bad { background: #FBE9E9; color: #A32E2E; }
.oc-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; counter-reset: s; }
.oc-steps li { counter-increment: s; font-size: 13px; color: var(--mu); text-align: center; padding-top: 34px; position: relative; }
.oc-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); font: 800 13px/24px var(--font); color: var(--mu); }
.oc-steps li.done::before { content: '✓'; background: var(--leaf); border-color: var(--leaf); color: #fff; }
.oc-steps li.on { color: var(--ink); font-weight: 700; } .oc-steps li.on::before { background: var(--sun); border-color: var(--sun); color: #1B1300; }
.oc-t { width: 100%; border-collapse: collapse; } .oc-t td { padding: 8px 4px; border-top: 1px solid var(--line); vertical-align: top; } .oc-t td:last-child { text-align: end; white-space: nowrap; }
.oc-t tr:first-child td { border-top: 0; } .oc-t tr.tot td { font-weight: 800; font-size: 18px; } .oc-t tr.sub td { color: var(--mu); }
.oc-pay { display: inline-block; font-weight: 800; padding: 8px 14px; border-radius: 12px; background: var(--sunsoft); color: #8A5A00; margin-bottom: 10px; }
.oc-pay.ok { background: var(--leafsoft); color: #2E6B16; } .oc-pay.bad { background: #FBE9E9; color: #A32E2E; }
.oc-howto { margin: 6px 0; padding-inline-start: 22px; display: grid; gap: 6px; }
@media (max-width: 900px) {
  .cart-g { grid-template-columns: minmax(0, 1fr); } .cart-sum { position: static; order: -1; }
  .cart-it { grid-template-columns: 64px minmax(0, 1fr) auto; } .cart-ph { width: 64px; height: 64px; }
  .cart-q { grid-column: 2; } .cart-tot { grid-column: 3; grid-row: 1; } .cart-it > form:last-child { grid-column: 3; grid-row: 2; justify-self: end; }
  .oc-steps li { font-size: 11.5px; }
}
/* Montants « 38 500 MRU » lisibles aussi en arabe (sens d'écriture du montant lui-même) */
.cart-tot, .cs-r b, .cart-in .mu, .oc-t td:last-child, .oc-big, #csFee, #csTot, .co-opt small, #c-z option { unicode-bidi: plaintext; }
.oc-t td:first-child { white-space: nowrap; width: 1%; }

/* Lot CLIENT_A (07/10/2026) : bouton « Espace client » coloré, en-tête de l'espace client connecté */
.btn.hd-login { background: #2F8A3B; border-color: #2F8A3B; color: #fff; box-shadow: 0 10px 24px -12px rgba(47,138,59,.9); }
.btn.hd-login:hover { background: #267431; color: #fff; }
.nav a.nav-x.login { background: #2F8A3B !important; border-color: #2F8A3B !important; color: #fff !important; }
.hd-cl .hd-in { gap: 12px; }
.hd-cl-t { font: 800 16px var(--disp); color: var(--pv); margin-inline-end: auto; padding: 4px 12px; border-radius: 999px; background: var(--sunsoft); white-space: nowrap; }
.hd-cl .hd-act { display: flex; align-items: center; gap: 10px; }
.hd-cl .hd-out { white-space: nowrap; }
@media (max-width: 560px) { .hd-cl-t { display: none; } .hd-cl .hd-in { justify-content: space-between; } .hd-cl .hd-out { padding: 9px 12px; font-size: 14px; } }
.ft-cl { padding-top: 0; } .ft-cl .ft-bot { border-top: 0; }
@media (max-width: 1080px) { .btn.hd-login { display: inline-flex; padding: 10px 14px; font-size: 14px; } }
@media (max-width: 640px) { .btn.hd-login { padding: 8px 11px; font-size: 13px; border-radius: 11px; } }

/* ── 22/10/2026 : badge ISO 9001 à gauche du logo + 🔴 centrale de démonstration en direct (accueil, pastille, demo.php) ── */
.hd-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-iso { height: 46px; width: auto; border-radius: 4px; }
@media (max-width: 640px) { .hd-iso { height: 34px; } .hd-brand { gap: 7px; } }
.sd-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #E53935; box-shadow: 0 0 0 0 rgba(229,57,53,.7); animation: sdpulse 1.6s infinite; flex: none; }
@keyframes sdpulse { 0% { box-shadow: 0 0 0 0 rgba(229,57,53,.65); } 70% { box-shadow: 0 0 0 9px rgba(229,57,53,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); } }
.btn.sd-btn, .btn.sd-btn2 { gap: 9px; }
a.trust-it.sd-trust { text-decoration: none; color: inherit; border-radius: 12px; }
a.trust-it.sd-trust:hover { color: var(--pvl); }
a.sd-phone { display: block; text-decoration: none; color: inherit; transition: transform .2s ease; }
a.sd-phone:hover { transform: translateY(-4px); }
.phone-ex.sd-on { display: inline-flex; align-items: center; gap: 7px; color: #B71C1C; background: #FDECEA; }
.phone-sc .al.sd-go { background: var(--pv); color: #fff; text-align: center; }
.sd-pill { position: fixed; z-index: 59; bottom: 20px; inset-inline-start: 16px; display: none; align-items: center; gap: 9px; background: var(--pv); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14.5px; padding: 11px 16px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(15,39,64,.75); border: 2px solid var(--sun);
  transform: translateY(90px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.sd-pill.on { transform: none; opacity: 1; }
@media (max-width: 900px) { .sd-pill { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .sd-dot { animation: none; } .sd-pill, a.sd-phone { transition: none; } }
.sd-page .sd-banner { display: flex; align-items: center; gap: 12px; background: var(--sunsoft); border: 1px solid #F5D58C; color: #5A3D00; border-radius: 16px; padding: 12px 14px; margin: 0 0 14px; font-size: 14.5px; font-weight: 600; }
.sd-live { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #B71C1C; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; flex: none; }
.sd-live i { width: 9px; height: 9px; border-radius: 50%; background: #E53935; animation: sdpulse 1.6s infinite; }
.sd-ticks { margin: 6px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sd-ticks li { position: relative; padding-inline-start: 28px; }
.sd-ticks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--leafsoft); color: var(--leaf); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.sd-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .sd-cta .btn { flex: 1 1 100%; } .sd-page .sd-banner { flex-direction: column; align-items: flex-start; } }
/* 22/10/2026 : l'en-tête débordait sur les petits téléphones (≈ 400 px pour 375) — bouton espace client réduit à la clé 🔑 sous 430 px */
@media (max-width: 430px) { .hd-login-t { display: none; } .btn.hd-login { padding: 8px 10px; } .hd-in { gap: 8px; } .hd-act { gap: 7px; } .logo img { height: 36px; } .hd-iso { height: 30px; } }
.btn.sd-btn2 { margin-top: 10px; }

/* ── 22/10/2026 : 📱 application client « ATD SOLAR » — visiteur (onglets en bas) + accueil vitrine (inc/app_home.php) ── */
body.in-app-v { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
body.in-app-v .ft, body.in-app-v .wa-float, body.in-app-v .sd-pill, body.in-app-v .burger, body.in-app-v .nav, body.in-app-v .hd-login, body.in-app-v .hd-cta { display: none !important; }
.ap-tabs { position: fixed; z-index: 80; inset-inline: 0; bottom: 0; display: flex; justify-content: space-around; align-items: flex-start; background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
.ap-tab { flex: 1; text-align: center; text-decoration: none; color: #7A8794; font-size: 11.5px; font-weight: 700; white-space: nowrap; min-height: 48px; }
.ap-tab i { display: block; font-style: normal; font-size: 21px; line-height: 1.3; filter: grayscale(1); opacity: .7; }
.ap-tab.on { color: var(--pv); } .ap-tab.on i { filter: none; opacity: 1; }
.ap-tab.on::after { content: ''; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--sun); margin: 3px auto 0; }
.ap-tab.key i { width: 42px; height: 42px; margin: -20px auto 2px; border-radius: 15px; background: #2F8A3B; display: grid; place-items: center; filter: none; opacity: 1; box-shadow: 0 10px 20px -10px rgba(47,138,59,.9); font-size: 19px; }
.ah { padding-bottom: 8px; }
.ah-hero { margin: -20px calc(50% - 50vw) 0; padding: 26px max(20px, calc(50vw - 50%)) 44px; color: #fff; border-radius: 0 0 28px 28px;
  background: radial-gradient(circle at 88% 8%, rgba(255,201,77,.55), rgba(242,165,22,.12) 34%, transparent 56%), linear-gradient(165deg, #0F2740 0%, #173A5E 100%); }
.ah-hero .kick { background: rgba(242,165,22,.18); color: #FFD27A; }
.ah-hero h1 { font-size: clamp(30px, 8vw, 44px); margin: 12px 0 8px; color: #fff; } .ah-hero h1 em { font-style: normal; color: var(--sun2); }
.ah-hero p { color: #C9D6E3; margin: 0; }
.ah-card { display: block; background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 10px 30px -18px rgba(15,39,64,.35); margin-top: 14px; text-decoration: none; color: inherit; }
.ah-over { margin-top: -26px; position: relative; z-index: 2; }
.ah-card h2 { font-size: 19px; margin: 8px 0 0; }
.ah-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ah-big { font: 800 24px var(--disp); } .ah-big small { font-size: 13px; }
.ah-flow { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #FFF8E8, #EEF5FC 55%, #EDF6E8); border-radius: 16px; padding: 12px; margin-top: 12px; }
.ah-flow .nd { text-align: center; min-width: 70px; } .ah-flow .nd i { font-style: normal; font-size: 24px; display: block; } .ah-flow .nd b { display: block; font-size: 16px; } .ah-flow .nd small { color: var(--mu); font-size: 12px; }
.ah-flow .wire { flex: 1; height: 0; border-top: 3px dotted var(--sun); margin: 0 4px 22px; } .ah-flow .wire.g { border-color: var(--leaf); }
.ah-btn { width: 100%; justify-content: center; margin-top: 12px; height: 52px; }
.ah-card input[type=range] { width: 100%; margin: 12px 0 4px; accent-color: var(--sun); }
.ah-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.ah-tiles > div { border-radius: 16px; padding: 12px; } .ah-tiles small { display: block; color: var(--mu); font-size: 12.5px; } .ah-tiles b { font: 800 20px var(--disp); }
.ah-tiles .t1 { background: var(--sunsoft); } .ah-tiles .t4 { background: #F1F4F7; }
.ah-trust { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; scrollbar-width: none; }
.ah-trust span { flex: none; background: #fff; border-radius: 12px; padding: 9px 11px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px -12px rgba(15,39,64,.4); }
.ah-h { margin-top: 20px; } .ah-h h2 { font-size: 20px; margin: 0; } .ah-h a { font-weight: 700; color: var(--pvl); text-decoration: none; font-size: 14px; }
.ah-reals { display: flex; gap: 12px; overflow-x: auto; margin-top: 10px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ah-reals > .card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
.ah-mine { display: flex; align-items: center; gap: 12px; } .ah-mine i { font-style: normal; width: 44px; height: 44px; border-radius: 14px; background: #E3F4E0; display: grid; place-items: center; font-size: 20px; flex: none; }
.ah-mine b { display: block; } .ah-mine small { color: var(--mu); font-size: 13px; } .ah-mine .go { margin-inline-start: auto; color: #A0ACB8; font-size: 22px; }

/* 📱 23/10/2026 : badge « Disponible sur Google Play » (site public, connexion espace client) */
.gp-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1.5px solid #A6A6A6; border-radius: 10px; padding: 7px 16px 7px 12px; text-decoration: none; min-height: 52px; line-height: 1.1; transition: transform .15s; }
.gp-badge:hover { transform: translateY(-1px); color: #fff; }
.gp-badge span { display: flex; flex-direction: column; text-align: left; }
.gp-badge small { font-size: 10px; letter-spacing: .06em; font-weight: 600; }
.gp-badge b { font-size: 20px; font-weight: 600; font-family: 'Onest', system-ui, sans-serif; }
.gp-badge.gp-prev { outline: 2px dashed var(--sun); outline-offset: 3px; }
.gp-home { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gp-home > span { font-weight: 600; color: var(--pv); }
.gp-login { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gp-login .mu { margin: 0; }
.gp-ft { margin-top: 14px; }
[dir="rtl"] .gp-home, [dir="rtl"] .gp-login { align-items: flex-start; }
/* 📈 23/10/2026 : notice Google Analytics */
.ga-note { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin-inline: auto; background: #fff; color: var(--pv); border-radius: 16px; box-shadow: 0 18px 40px -14px rgba(15,39,64,.45); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; font-size: 14px; }
.ga-note[hidden] { display: none; }
.ga-note p { margin: 0; flex: 1 1 260px; }
.ga-note div { display: flex; gap: 8px; }
.ga-note .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
