/* BrahimDiag articles (conseils): same look as the home page, light, pink accent, little text */
:root{
  --ink:#07070B; --ink-2:#1D1A22; --pink:#FF4BD8; --pink-t:#F23FCB; --pink-2:#FF9BE7; --blush:#FAF1FB;
  --bg:#FFFFFF; --soft:#F5F4F6; --muted:#6E6A72; --line:#E9E7EB; --wa:#25D366;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Roboto,"Segoe UI","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
img{max-width:100%;display:block}
h1,h2,h3{text-wrap:balance}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}

.pill{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:980px;background:var(--ink);color:#fff;text-decoration:none;font-weight:500;font-size:16px;white-space:nowrap;box-shadow:0 4px 0 #3a3540,0 10px 20px rgba(7,7,11,.18);transform:translateY(-2px);transition:background .2s,transform .2s}
.pill:hover{background:var(--ink-2);transform:translateY(-3px)}
.pill:active{transform:translateY(2px);box-shadow:0 0 0 #3a3540}
.pill.sm{padding:8px 16px;font-size:14px}
.pill.wag{background:var(--wa);color:var(--ink);box-shadow:0 4px 0 #1DA851,0 10px 20px rgba(37,211,102,.25)}
.pill.wag:hover{background:#2EE072}
.pill.wag:active{box-shadow:0 0 0 #1DA851}
.pill svg{width:20px;height:20px}

header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.8);backdrop-filter:saturate(1.8) blur(20px);-webkit-backdrop-filter:saturate(1.8) blur(20px);border-bottom:1px solid rgba(7,7,11,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;height:58px;gap:16px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none}
.brand .b-badge{width:36px;height:36px}
.brand .word{height:27px;width:auto}
.nav-right{display:flex;align-items:center;gap:22px;font-size:14px}
.nav-right>a:not(.pill){text-decoration:none;color:var(--ink-2);opacity:.8}
.nav-right>a:not(.pill):hover,.nav-right>a[aria-current]{opacity:1}

.crumbs{font-size:13px;color:var(--muted);margin:28px 0 0}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:var(--ink)}

/* article */
.post{max-width:720px;margin:0 auto;padding:0 22px 40px}
.eyebrow{font-size:14px;font-weight:600;color:var(--muted);margin:26px 0 10px;letter-spacing:.02em}
.post h1{font-size:clamp(32px,5.4vw,52px);line-height:1.08;letter-spacing:-.03em;font-weight:700;margin:0 0 16px}
.post h1 em{font-style:normal;color:var(--pink-t)}
.lead{font-size:clamp(18px,2.2vw,21px);color:var(--muted);line-height:1.4;margin:0 0 26px}
.shot{margin:0 0 30px;border-radius:28px;overflow:hidden;background:var(--soft);aspect-ratio:4/3}
.shot img{width:100%;height:100%;object-fit:cover}
.post figcaption{font-size:13px;color:var(--muted);margin:-22px 0 30px}
.post h2{font-size:clamp(22px,3vw,28px);line-height:1.2;letter-spacing:-.02em;margin:40px 0 12px}
.post p,.post li{font-size:17px;color:var(--ink-2)}
.post p{margin:0 0 16px}
.post ul,.post ol{padding-inline-start:22px;margin:0 0 18px}
.post li{margin:0 0 8px}
.post li::marker{color:var(--pink);font-weight:700}
.post a:not(.pill){text-decoration:none;border-bottom:1px solid var(--pink)}
.post a:not(.pill):hover{color:var(--muted)}
.post strong{font-weight:650}

/* the price / key card */
.facts,.post .facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 30px;padding:0;list-style:none}
.facts li{margin:0;background:var(--soft);border-radius:980px;padding:7px 14px;font-size:14px;font-weight:600}
.facts li::marker{content:""}

/* call to action box */
.cta{background:var(--blush);border-radius:28px;padding:30px;margin:38px 0;text-align:center}
.cta h2{margin:0 0 8px}
.cta p{color:var(--muted);margin:0 0 20px}
.cta .note{font-size:14px;margin:16px 0 0}
.cta .note a{border:0}

/* faq */
.faq{margin:10px 0 0}
details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:26px;font-weight:300;transition:transform .25s;flex:none}
details[open] summary::after{transform:rotate(45deg)}
details p{margin:0 0 18px;color:var(--muted);font-size:16px}

/* article cards (hub page + "à lire aussi") */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;margin:0;padding:0;list-style:none}
.card{display:flex;flex-direction:column;background:var(--soft);border-radius:24px;overflow:hidden;text-decoration:none;transition:transform .2s,box-shadow .2s;height:100%}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(7,7,11,.1)}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card div{padding:16px 18px 20px}
.card b{display:block;font-size:17px;line-height:1.3;letter-spacing:-.01em}
.card span{display:block;font-size:14px;color:var(--muted);margin-top:6px;line-height:1.45}
.more{max-width:1080px;margin:0 auto;padding:30px 22px 70px}
.more h2{font-size:24px;letter-spacing:-.02em;margin:0 0 18px}

/* hub page */
.hub{padding:0 22px 70px;max-width:1080px;margin:0 auto}
.hub h1{font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-.03em;font-weight:700;margin:0 0 12px}
.hub h1 em{font-style:normal;color:var(--pink-t)}
.hub .lead{max-width:580px;margin-bottom:34px}

footer{border-top:1px solid var(--line);padding:26px 0 34px;font-size:13px;color:var(--muted)}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
footer img{height:20px;width:auto}
footer a{text-decoration:none}
.fab{position:fixed;bottom:18px;inset-inline-end:18px;z-index:30;width:58px;height:58px;border-radius:50%;background:var(--wa);display:grid;place-items:center;box-shadow:0 10px 24px rgba(0,0,0,.22);color:#fff}
.fab svg{width:30px;height:30px}

@media (max-width:560px){
  .nav-right{gap:14px}
  .nav .pill span{display:none}
  .nav .pill.wag{border-radius:12px;padding:8px}
  .nav .pill.wag svg{width:24px;height:24px}
  .brand .word{height:23px}
  .brand .b-badge{width:32px;height:32px}
  .shot{border-radius:22px}
  .cta{padding:26px 20px}
  .cta .pill{white-space:normal;text-align:center;justify-content:center}
}

/* service pages: price list + Darija box */
.prices{list-style:none;padding:0!important;margin:0 0 24px;border-top:1px solid var(--line)}
.prices li{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);margin:0}
.prices li::marker{content:""}
.prices b{white-space:nowrap}
.darija{background:var(--soft);border-radius:22px;padding:20px 22px;margin:34px 0;font-family:"Cairo",var(--font)}
.darija h2{margin:0 0 8px!important;font-size:22px!important}
.darija p{margin:0!important}
.legal h2{font-size:22px}
.legal button{border:0;border-radius:980px;padding:10px 18px;background:var(--ink);color:#fff;font:inherit;font-weight:600;cursor:pointer}
