/* ==========================================================================
   Solutions Quotidiennes — maquette refonte v2 « Atelier pratique »
   Titres : Bricolage Grotesque · Texte : Inter (auto-hébergées, licence OFL)
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }

:root {
  --ink: #12203a;
  --text: #2b3650;
  --muted: #69738a;
  --line: #e7e3da;
  --cream: #fbf7f0;
  --paper: #ffffff;
  --brand: #0f9f7a;
  --brand-2: #0ea5e9;
  --brand-dark: #0b6b55;
  --sun: #ffc23d;
  --coral: #ff6b4a;

  /* univers */
  --tv: #5b4cf0;      --tv-soft: #eeecff;
  --maison: #f2711c;  --maison-soft: #fff0e5;
  --info: #0b8fd6;    --info-soft: #e5f4fd;
  --phone: #c13ad6;   --phone-soft: #fbeafd;
  --compte: #0f9f7a;  --compte-soft: #e3f7f0;
  --auto: #e5384f;    --auto-soft: #fde9ec;
  --web: #2b3f8c;     --web-soft: #e8ecfa;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 58, .06);
  --shadow: 0 2px 4px rgba(18, 32, 58, .04), 0 12px 32px -8px rgba(18, 32, 58, .14);
  --shadow-lg: 0 30px 60px -20px rgba(18, 32, 58, .28);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--cream); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* univers : variables locales */
.u-tv     { --u: var(--tv);     --u-soft: var(--tv-soft); }
.u-maison { --u: var(--maison); --u-soft: var(--maison-soft); }
.u-info   { --u: var(--info);   --u-soft: var(--info-soft); }
.u-phone  { --u: var(--phone);  --u-soft: var(--phone-soft); }
.u-compte { --u: var(--compte); --u-soft: var(--compte-soft); }
.u-auto   { --u: var(--auto);   --u-soft: var(--auto-soft); }
.u-web    { --u: var(--web);    --u-soft: var(--web-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 247, 240, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(18, 32, 58, .07); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; flex-shrink: 0; line-height: 1; }
.logo-mark { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(15, 159, 122, .55); transform: rotate(-6deg); }
.logo-mark svg { width: 22px; height: 22px; transform: rotate(6deg); }
.logo small { display: block; font-family: var(--font); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: 0; margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .15s; }
.main-nav > ul > li > a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--u); }
.main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { background: var(--u-soft); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; width: 460px; transform: translate(-50%, 8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; opacity: 0; visibility: hidden; transition: .18s ease; }
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav li:hover > .mega, .main-nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-head .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--u-soft); color: var(--u); display: grid; place-items: center; }
.mega-head .ico svg { width: 22px; height: 22px; }
.mega-head b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.05rem; }
.mega-head span { font-size: .82rem; color: var(--muted); }
.mega a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .9rem; }
.mega a:hover { background: var(--u-soft); color: var(--u); }
.mega .all { grid-column: 1 / -1; margin-top: 6px; background: var(--u); color: #fff; text-align: center; font-weight: 600; }
.mega .all:hover { background: var(--ink); color: #fff; }

.header-search { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.header-search:hover { transform: translateY(-1px); color: #fff; }
.header-search svg { width: 17px; height: 17px; }
.burger { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1140px) {
  .main-nav, .header-search .label { display: none; }
  .burger { display: grid; place-items: center; }
  .header-search { padding: 0; width: 46px; height: 46px; justify-content: center; }
}

/* ---------- Éléments communs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #10b48a); color: #fff; box-shadow: 0 10px 22px -8px rgba(15, 159, 122, .7); }
.btn-primary:hover { color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-dark); background: #fff; border: 1px solid var(--line); padding: 6px 12px 6px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(15, 159, 122, .18); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--u, var(--brand-dark)); background: var(--u-soft, #e3f7f0); padding: 5px 11px; border-radius: 999px; text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.pill svg { width: 14px; height: 14px; }
.scribble { position: relative; white-space: nowrap; color: var(--brand); }
.scribble svg { position: absolute; left: -2%; bottom: -.22em; width: 104%; height: .42em; overflow: visible; }

/* ---------- HOME : Hero ---------- */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.hero::before { width: 520px; height: 520px; background: rgba(14, 165, 233, .18); top: -180px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: rgba(255, 194, 61, .25); bottom: -220px; left: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.hero h1 { margin: 18px 0 18px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.search-box { margin-top: 28px; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 7px 7px 7px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 600px; }
.search-box svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 12px; font-size: 1.05rem; font-family: inherit; color: var(--ink); }
.search-box input:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .88rem; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: .15s; }
.chip:hover { background: #fff; border-color: var(--ink); }
.proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .92rem; color: var(--muted); }
.faces { display: flex; }
.faces span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -10px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: #fff; }
.faces span:first-child { margin-left: 0; }
.proof b { color: var(--ink); }

/* Assistant diagnostic */
.assistant { position: relative; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: 26px; border: 1px solid var(--line); }
.assistant-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.assistant-top h2 { font-size: 1.3rem; margin: 0; }
.assistant-top .step { white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--cream); padding: 4px 10px; border-radius: 999px; }
.assistant .progress { height: 6px; background: var(--cream); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.assistant .progress i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; transition: width .35s ease; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.device { border: 2px solid transparent; background: var(--u-soft); border-radius: 18px; padding: 16px 8px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .88rem; transition: transform .15s, border-color .15s; text-align: center; line-height: 1.25; }
.device:hover { transform: translateY(-3px); border-color: var(--u); }
.device .ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--u); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.device .ico svg { width: 24px; height: 24px; }
.symptoms { display: none; }
.assistant.is-step2 .device-grid { display: none; }
.assistant.is-step2 .symptoms { display: grid; gap: 8px; }
.symptoms a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: .15s; }
.symptoms a:hover { background: var(--u-soft, #e3f7f0); color: var(--u, var(--brand)); transform: translateX(3px); }
.symptoms a::after { content: "→"; font-weight: 700; }
.symptoms .back { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 0; font-weight: 600; font-size: .88rem; justify-self: start; }
.assistant-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }
.float-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.25; animation: float 5s ease-in-out infinite; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); }
.float-badge .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.fb-1 { top: -22px; right: 24px; }
.fb-2 { bottom: -52px; left: -18px; animation-delay: -2.5s; }
.assistant-top { gap: 12px; }
@media (max-width: 560px) { .assistant-top h2 { font-size: 1.12rem; } .eyebrow { font-size: .7rem; letter-spacing: .06em; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .float-badge { display: none; } .device-grid { grid-template-columns: repeat(2, 1fr); } .assistant { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .float-badge { animation: none; } * { scroll-behavior: auto !important; } }

/* Bandeau stats */
.stats { background: var(--ink); color: #c9d2e6; border-radius: 26px; padding: 26px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -30px; position: relative; box-shadow: var(--shadow-lg); }
.stats b { display: block; font-family: var(--display); font-size: 2rem; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.stats b em { font-style: normal; color: var(--sun); }
.stats span { font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 10px 0 6px; max-width: 640px; }
.section-head p { color: var(--muted); margin: 0; max-width: 560px; }
.link-arrow { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link-arrow:hover { color: var(--brand-dark); }

/* Univers */
.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Nombre d'univers non multiple de 3 : le dernier occupe toute la ligne */
.universe-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 960px) { .universe-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .universe-grid { grid-template-columns: 1fr; } }
.universe { position: relative; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; isolation: isolate; }
.universe::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: var(--u-soft); z-index: -1; transition: transform .3s; }
.universe:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.universe:hover::after { transform: scale(1.25); }
.universe-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }
.universe .ico { width: 58px; height: 58px; border-radius: 18px; background: var(--u); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px var(--u); transform: rotate(-4deg); }
.universe .ico svg { width: 28px; height: 28px; }
.universe .count { font-size: .8rem; font-weight: 700; color: var(--u); background: #fff; padding: 4px 10px; border-radius: 999px; }
.universe h3 { font-size: 1.35rem; margin-bottom: 4px; }
.universe h3 a { color: var(--ink); text-decoration: none; }
.universe h3 a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.universe > p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.universe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; z-index: 1; }
.universe li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .93rem; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); }
.universe li a::after { content: "→"; color: var(--u); transition: transform .15s; }
.universe li a:hover { color: var(--u); }
.universe li a:hover::after { transform: translateX(3px); }

/* Bento top pannes */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }
.feature { position: relative; border-radius: 28px; padding: 34px; color: #fff; background: radial-gradient(circle at 85% 20%, #7b6dff 0, transparent 45%), linear-gradient(150deg, #2c1f9a, #5b4cf0); min-height: 440px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; text-decoration: none; isolation: isolate; }
.feature .illu { position: absolute; top: 34px; right: 26px; width: 62%; max-width: 330px; z-index: -1; transition: transform .4s; }
.feature:hover .illu { transform: rotate(-3deg) scale(1.04); }
.feature .tag { background: rgba(255, 255, 255, .16); color: #fff; align-self: start; }
.feature h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 10px; max-width: 420px; }
.feature p { color: #dcd8ff; max-width: 420px; }
.feature .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.feature .meta span { background: rgba(255, 255, 255, .14); padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: r 1; }
.rank li { counter-increment: r; }
.rank a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 14px 18px 14px 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: .15s; }
.rank a:hover { border-color: var(--u); transform: translateX(4px); box-shadow: var(--shadow); }
.rank a::before { content: counter(r, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 1.25rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--u-soft); color: var(--u); }
.rank b { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.25; }
.rank small { color: var(--muted); font-size: .82rem; }
.rank .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }

/* « En ce moment » : activité réelle du site (chargée en JS) */
.live[hidden], .live-card[hidden] { display: none; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.live-grid:has(> .live-card[hidden]) { grid-template-columns: 1fr; }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }
.live-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.live-card h3 { margin: 0 0 14px; font-size: 1.05rem; }
.live-feed { list-style: none; margin: 0; padding: 0; display: grid; }
.live-feed li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px dashed var(--line); color: var(--text); }
.live-feed li:first-child { border-top: 0; padding-top: 0; }
.live-feed a { color: var(--ink); font-weight: 600; text-decoration: none; }
.live-feed a:hover { color: var(--u); text-decoration: underline; }
.live-feed small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.live-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--u-soft); }
.live-feed li.is-new { animation: live-in .6s ease both; }
@keyframes live-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.eyebrow i.live-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .2); animation: live-pulse 1.8s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 107, 74, 0); } }
.rank-sm { gap: 8px; }
.rank-sm a { grid-template-columns: 40px 1fr auto; padding: 10px 14px 10px 10px; border-radius: 14px; }
.rank-sm a::before { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
.rank-sm b { font-size: .98rem; }
@media (prefers-reduced-motion: reduce) { .eyebrow i.live-dot, .live-feed li.is-new { animation: none; } }

/* Guides d'achat */
.dark-band { background: var(--ink); color: #c9d2e6; border-radius: 36px; padding: 64px 40px; position: relative; overflow: hidden; isolation: isolate; }
.dark-band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 61, .3), transparent 65%); right: -140px; top: -180px; z-index: -1; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .section-head p { color: #a9b4cc; }
.dark-band .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: var(--sun); }
.dark-band .eyebrow i { background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 194, 61, .2); }
.dark-band .link-arrow { color: #fff; }
@media (max-width: 620px) { .dark-band { padding: 44px 20px; border-radius: 26px; } }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }
.guide { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: .2s; display: flex; flex-direction: column; }
.guide:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); color: inherit; }
.guide-media { aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--u), var(--u-soft)); display: grid; place-items: center; position: relative; }
.guide-media svg { width: 42%; color: #fff; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); }
.guide-media .badge-year { position: absolute; top: 14px; left: 14px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.guide-body { padding: 20px 22px 24px; }
.guide h3 { font-size: 1.15rem; margin-bottom: 8px; }
.guide p { font-size: .92rem; color: #a9b4cc; margin: 0; }

/* Méthode / auteur */
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; gap: 32px; } }
.author-card { position: relative; background: linear-gradient(160deg, #fff, #fff 60%, var(--compte-soft)); border-radius: 28px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.author-card .avatar-xl { width: 88px; height: 88px; border-radius: 26px; background: linear-gradient(135deg, var(--sun), var(--coral)); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: #fff; transform: rotate(-5deg); margin-bottom: 18px; }
.author-card blockquote { margin: 0 0 18px; font-family: var(--display); font-size: 1.3rem; line-height: 1.35; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.author-card .who b { display: block; color: var(--ink); }
.author-card .who span { color: var(--muted); font-size: .9rem; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.mstep { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.mstep .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--u-soft); color: var(--u); margin-bottom: 12px; }
.mstep h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mstep p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Newsletter */
.cta-band { border-radius: 32px; padding: 48px; background: linear-gradient(120deg, var(--sun), #ffd978 50%, #ffb27a); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #5c4520; margin: 0; }
.cta-band form { display: flex; gap: 8px; background: #fff; padding: 7px; border-radius: 999px; box-shadow: var(--shadow); }
.cta-band input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font: inherit; background: none; }
.cta-band input:focus { outline: none; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 32px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b4cc; padding: 72px 0 28px; margin-top: 96px; font-size: .93rem; border-radius: 40px 40px 0 0; }
.site-footer a { color: #e3e8f3; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { color: #fff; font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid ul a { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid ul a i { width: 7px; height: 7px; border-radius: 50%; background: var(--u); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo small { color: #8592ad; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE ARTICLE
   ========================================================================== */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--u), var(--brand-2)); }

.article-hero { position: relative; padding: 26px 0 60px; background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .6), transparent 40%), linear-gradient(180deg, var(--u-soft), var(--cream)); overflow: hidden; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; opacity: .45; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--u); }
.article-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .article-hero-grid { grid-template-columns: 1fr; } .article-hero .illu-wrap { display: none; } }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 16px 0 16px; }
.article-hero .chapo { font-size: 1.18rem; color: var(--text); max-width: 680px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.avatar { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--sun), var(--coral)); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; flex-shrink: 0; transform: rotate(-4deg); }
.byline .who { font-size: .92rem; line-height: 1.45; }
.byline .who a { font-weight: 700; color: var(--ink); text-decoration: none; }
.byline .who span { color: var(--muted); }
.byline .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill.ok { background: var(--compte-soft); border-color: transparent; color: var(--brand-dark); }
.illu-wrap { position: relative; }
.illu-wrap .tv-illu { width: 100%; filter: drop-shadow(0 30px 40px rgba(44, 31, 154, .25)); }
.illu-wrap .float-badge { position: absolute; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; margin-top: -24px; position: relative; }
@media (max-width: 1040px) { .article-layout { grid-template-columns: 1fr; gap: 0; } .article-aside { display: none; } }

.prose { min-width: 0; }
.prose > h2 { margin-top: 2.4em; display: flex; align-items: center; gap: 14px; }
.prose > h2 .n { flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--u); color: #fff; font-size: 1.1rem; display: grid; place-items: center; transform: rotate(-4deg); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--u); font-weight: 700; }

.card-white { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Réponse rapide */
.quick-answer { position: relative; padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); margin-bottom: 28px; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--u), var(--brand-2), var(--sun)); background-origin: border-box; background-clip: padding-box, border-box; }
.qa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.qa-head .label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.qa-head .label span { width: 34px; height: 34px; border-radius: 10px; background: var(--sun); display: grid; place-items: center; }
.qa-steps { list-style: none; counter-reset: q; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0 !important; }
@media (max-width: 620px) { .qa-steps { grid-template-columns: 1fr; } }
.qa-steps li { counter-increment: q; display: flex; gap: 12px; align-items: start; background: var(--cream); padding: 12px 14px; border-radius: 14px; margin: 0 !important; font-size: .95rem; line-height: 1.45; }
.qa-steps li::before { content: counter(q); flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--u); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }

/* Mini-assistant dans l'article */
.symptom-picker { padding: 22px; margin-bottom: 8px; }
.symptom-picker p { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.symptom-picker .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.symptom-picker a { padding: 9px 14px; border-radius: 999px; background: var(--u-soft); color: var(--u); font-weight: 600; font-size: .9rem; text-decoration: none; transition: .15s; }
.symptom-picker a:hover { background: var(--u); color: #fff; }

/* Tableau */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; min-width: 580px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
tbody tr:hover td { background: var(--u-soft); }
tbody tr:last-child td { border-bottom: 0; }
td a { font-weight: 600; color: var(--u); }
.lvl { display: inline-flex; gap: 3px; vertical-align: middle; }
.lvl i { width: 8px; height: 18px; border-radius: 3px; background: var(--line); }
.lvl.l3 i, .lvl.l2 i:nth-child(-n+2), .lvl.l1 i:first-child { background: var(--u); }

/* Timeline étapes */
.timeline { list-style: none; counter-reset: s; padding: 0 !important; margin: 24px 0 !important; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(to bottom, var(--u) 0 6px, transparent 6px 12px); opacity: .4; }
.timeline > li { counter-increment: s; position: relative; padding-left: 70px; margin: 0 0 18px !important; }
.timeline > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 16px; background: var(--u); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--cream); }
.timeline .card-white { padding: 20px 22px; }
.timeline h3 { margin: 0 0 8px; font-size: 1.15rem; }
.timeline .pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.timeline p:last-child { margin: 0; }
kbd { font-family: var(--font); font-size: .85em; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; box-shadow: 0 2px 0 #000; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--u-soft, #eef1f6); color: var(--ink); overflow-wrap: anywhere; }

/* Onglets marques */
.tabs { padding: 8px; margin: 0 0 1.4em; }
.tablist { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; background: var(--cream); border-radius: 14px; }
.tablist button { flex: 1; min-width: 90px; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tablist button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tabpanel { padding: 18px 16px 10px; }
.tabpanel[hidden] { display: none; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.path span { background: var(--u-soft); color: var(--u); font-weight: 700; padding: 6px 12px; border-radius: 10px; font-size: .9rem; }
.path i { font-style: normal; color: var(--muted); }
.tabpanel small { color: var(--muted); }

/* Encadrés */
.callout { border-radius: 18px; padding: 18px 20px; margin: 0 0 1.4em; display: flex; gap: 14px; align-items: start; }
.callout .ci { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.callout p { margin: 0; }
.callout.tip { background: #fff7e0; color: #6b4c09; }
.callout.tip .ci { background: var(--sun); }
.callout.warn { background: #fdecee; color: #7a1626; }
.callout.warn .ci { background: var(--auto); color: #fff; }

/* Coûts */
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1em; }
@media (max-width: 620px) { .cost-grid { grid-template-columns: 1fr; } }
.cost { padding: 18px; }
.cost small { color: var(--muted); font-size: .84rem; display: block; }
.cost b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }

/* FAQ */
.faq details { background: #fff; border-radius: 16px; margin-bottom: 10px; border: 1px solid var(--line); transition: .15s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--u-soft); color: var(--u); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--u); color: #fff; }
.faq details > div { padding: 0 20px 18px; }
.faq details > div p:last-child { margin: 0; }

/* Utile ? */
.helpful { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 26px; border-radius: 24px; background: var(--ink); color: #fff; margin: 40px 0; }
.helpful p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.helpful small { display: block; color: #a9b4cc; font-family: var(--font); font-weight: 400; font-size: .88rem; }
.helpful .btns { display: flex; gap: 8px; }
.helpful button { padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font-weight: 700; transition: .15s; }
.helpful button:hover { background: #fff; color: var(--ink); }

/* Auteur */
.author-box { display: flex; gap: 18px; padding: 24px; margin-bottom: 40px; }
.author-box .avatar { width: 68px; height: 68px; font-size: 1.3rem; border-radius: 20px; }
.author-box p { margin: 0 0 .4em; font-size: .95rem; }
.author-box .name { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.15rem; }

/* Sidebar */
.article-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-box { padding: 20px; }
.aside-box h2 { font-family: var(--font); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500; transition: .15s; }
.toc a::before { content: counter(t); width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--cream); color: var(--muted); }
.toc a:hover { background: var(--cream); }
.toc a.active { background: var(--u-soft); color: var(--u); font-weight: 700; }
.toc a.active::before { background: var(--u); color: #fff; }
.aside-help { padding: 22px; border-radius: var(--radius); background: linear-gradient(150deg, #2c1f9a, var(--tv)); color: #dcd8ff; }
.aside-help b { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; margin-bottom: 6px; }
.aside-help p { font-size: .9rem; }
.aside-help .btn { width: 100%; background: #fff; color: var(--ink); padding: 10px; font-size: .9rem; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.35; border-top: 1px solid var(--line); }
.aside-links li:first-child a { border: 0; }
.aside-links a:hover { color: var(--u); }

/* Cartes liées */
.related { padding-top: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: .2s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-media { aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--u-soft), #fff); display: grid; place-items: center; color: var(--u); }
.card-media svg { width: 30%; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 1.1rem; margin: 0; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ==========================================================================
   Compléments site (pages catégorie, recherche, pages statiques, menu mobile)
   ========================================================================== */

/* Causes (articles importés) */
.prose ul.causes { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul.causes li { margin: 0; padding: 14px 16px 14px 50px; background: #fff; border: 1px solid var(--line); border-radius: 14px; position: relative; }
.prose ul.causes li::before { content: "?"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 8px; background: var(--u-soft); color: var(--u); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.timeline .card-white p { margin: 0; }
.callout > div > p:last-child, .callout > div > ol:last-child, .callout > div > ul:last-child { margin-bottom: 0; }
.callout ol, .callout ul { margin: .5em 0 0; }
.prose a { color: var(--u); font-weight: 600; }

/* Liens d'évitement du sommaire mobile */
.toc-mobile { margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.toc-mobile summary { padding: 14px 18px; font-weight: 700; cursor: pointer; color: var(--ink); }
.toc-mobile ol { margin: 0; padding: 0 18px 16px 38px; }
.toc-mobile a { text-decoration: none; color: var(--text); }
@media (min-width: 1041px) { .toc-mobile { display: none; } }

/* En-tête de page générique (catégorie, recherche, pages) */
.page-hero { padding: 26px 0 48px; background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .7), transparent 45%), linear-gradient(180deg, var(--u-soft, #e3f7f0), var(--cream)); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 12px; }
.page-hero .lead { font-size: 1.12rem; max-width: 720px; color: var(--text); }
.page-hero .lead p { margin: 0; }
.cat-head { display: flex; align-items: center; gap: 18px; }
.cat-head .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--u); color: #fff; display: grid; place-items: center; transform: rotate(-4deg); box-shadow: 0 10px 20px -8px var(--u); flex-shrink: 0; }
.cat-head .ico svg { width: 30px; height: 30px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.subcats a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: .15s; }
.subcats a:hover, .subcats a.on { background: var(--u); color: #fff; border-color: var(--u); }
.subcats a small { opacity: .7; font-weight: 500; }

/* Liste d'articles */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .list-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .list-grid { grid-template-columns: 1fr; } }
.item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: .18s; }
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.item h2, .item h3 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
.item h2 a, .item h3 a { color: var(--ink); text-decoration: none; }
.item h2 a::after, .item h3 a::after { content: ""; position: absolute; inset: 0; }
.item p { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; font-size: .8rem; color: var(--muted); }
.item .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item .star { font-size: .72rem; font-weight: 700; color: #8a5a00; background: #fff4d6; padding: 3px 9px; border-radius: 999px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Recherche */
.search-page .search-box { max-width: 720px; }
.empty { text-align: center; padding: 40px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); }

/* Pages statiques */
.page-body { max-width: 780px; padding: 40px 0 0; }
.page-body h2 { margin-top: 1.8em; }

/* Bloc « Toujours bloqué ? » sur mobile en fin d'article */
.related h2 { margin-top: 6px; }

/* Menu mobile */
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: rgba(18, 32, 58, .45); opacity: 0; visibility: hidden; transition: .2s; }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--cream); padding: 18px 18px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-nav .close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; }
.mobile-nav details { background: #fff; border-radius: 16px; margin-bottom: 8px; border: 1px solid var(--line); }
.mobile-nav summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--u-soft); color: var(--u); display: grid; place-items: center; }
.mobile-nav summary .ico svg { width: 20px; height: 20px; }
.mobile-nav details ul { list-style: none; margin: 0; padding: 0 14px 12px 62px; display: grid; gap: 2px; }
.mobile-nav details a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; font-size: .95rem; }
.mobile-nav details a.all { color: var(--u); font-weight: 700; }
.mobile-nav .extra { margin-top: 16px; display: grid; gap: 4px; }
.mobile-nav .extra a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 6px 4px; }
body.nav-open { overflow: hidden; }

/* Illustrations d'univers (hors TV) */
.feature .illu { display: block; }
.feature .illu svg { width: 100%; height: auto; display: block; }
.feature .illu-icon { color: rgba(255, 255, 255, .22); max-width: 260px; }
.feature:not(.u-tv) { background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .25) 0, transparent 45%), linear-gradient(150deg, var(--ink), var(--u)); }
.illu-badge { width: min(300px, 100%); aspect-ratio: 1; margin-left: auto; border-radius: 48px; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 50%), linear-gradient(150deg, var(--u), var(--ink)); color: #fff; display: grid; place-items: center; transform: rotate(-4deg); box-shadow: 0 30px 50px -20px var(--u); }
.illu-badge svg { width: 52%; height: auto; }

/* ---------- Univers Site internet : offre de dépannage ---------- */
.universe-cta { margin: 14px 0 0; font-weight: 700; }
.universe-cta a { color: var(--u); }

.service-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 2.2em 0; padding: 26px 28px; border-radius: var(--radius); color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 45%), linear-gradient(140deg, var(--ink), var(--web)); }
.service-cta > div { flex: 1 1 320px; }
.prose .service-cta h2 { color: #fff; margin: 4px 0 8px; font-size: 1.45rem; }
.service-cta p { margin: 0; color: rgba(255, 255, 255, .86); }
.service-cta .service-cta-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.service-cta .btn { background: var(--sun); color: var(--ink); flex-shrink: 0; }

.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.service-hero h1 { margin-top: 14px; }
.service-hero .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.service-card { padding: 26px; }
.service-card .name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin: 14px 0 0; }
.service-card .role { color: var(--muted); margin: 0 0 14px; }
.service-checks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.service-checks li { display: flex; gap: 10px; align-items: start; line-height: 1.45; }
.service-checks svg { flex-shrink: 0; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--web); margin-top: 1px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-grid article { padding: 22px; }
.service-grid .ico { font-size: 1.5rem; }
.service-grid h3 { margin: 10px 0 6px; }
.service-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.service-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-faq { max-width: 820px; }

.demande-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.demande-card { padding: 30px; border-top: 4px solid var(--web); }
.demande-card h2 { margin-bottom: 4px; }
.demande-sub { color: var(--muted); margin-bottom: 22px; }
.demande-aside { display: grid; gap: 16px; }
.demande-aside .card-white { padding: 22px; }
.demande-aside h3 { font-size: 1.05rem; }
.demande-aside p { margin: 0; }
.demande-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.demande-form .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.demande-form .fld { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.demande-form .lbl, .demande-form legend { display: inline-block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 6px; padding: 0; }
.demande-form .req { color: var(--auto); font-weight: 700; }
.demande-form input[type=text], .demande-form input[type=email], .demande-form input[type=tel], .demande-form select, .demande-form textarea { display: block; width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.demande-form textarea { resize: vertical; min-height: 130px; }
.demande-form input:focus, .demande-form select:focus, .demande-form textarea:focus { outline: none; border-color: var(--web); box-shadow: 0 0 0 4px var(--web-soft); }
.demande-form .help { display: block; color: var(--muted); font-size: .85rem; margin-top: 5px; line-height: 1.45; }
.demande-form .err { display: block; color: #b4162d; font-size: .88rem; font-weight: 600; margin-top: 5px; }
.demande-form .has-error input, .demande-form .has-error select, .demande-form .has-error textarea { border-color: #e5384f; }
.demande-form .radios { display: flex; flex-wrap: wrap; gap: 8px; }
.demande-form .radios label, .demande-form .consent label { display: flex; gap: 9px; align-items: center; cursor: pointer; }
.demande-form .radios label { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .93rem; background: #fff; }
.demande-form .radios label:has(input:checked) { border-color: var(--web); background: var(--web-soft); color: var(--ink); font-weight: 600; }
.demande-form .radios input, .demande-form .consent input { accent-color: var(--web); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.demande-form .consent label { align-items: start; font-size: .92rem; line-height: 1.5; }
.demande-form .consent input { margin-top: 2px; }
.demande-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demande-submit { width: 100%; background: var(--web); color: #fff; box-shadow: 0 10px 22px -10px var(--web); font-size: 1.05rem; padding: 15px 22px; }
.demande-submit:hover { color: #fff; }
.demande-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.demande-note { color: var(--muted); font-size: .87rem; margin: 12px 0 0; text-align: center; }

@media (max-width: 960px) {
  .service-hero-grid, .demande-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .service-grid, .service-steps, .demande-form .grid2, .demande-form .grid3 { grid-template-columns: 1fr; }
  .demande-card { padding: 22px 18px; }
  .service-cta { padding: 22px 20px; }
}
