* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --ink: #11121a;
  --text: #fff4ee;
  --muted: #c5b9cb;
  --surface: #1b1924;
  --line: #39303f;
  --peach: #ffba81;
  --rose: #ef72a3;
  --lavender: #a584e8;
  --display: "Arial Black", Arial, sans-serif;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
}

body { margin: 0; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.13; letter-spacing: -.052em; }
h2 { font-size: clamp(1.4rem, 2.55vw, 2.05rem); }
h3 { font-size: 1.24rem; }
a { color: inherit; text-decoration: none; }
input, button { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; padding: 12px 20px; }

.top { border-bottom: 1px solid #2e2634; }
.top-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: var(--display); font-weight: 800; letter-spacing: -.045em; font-size: 1.16rem; line-height: 1.2; white-space: nowrap; }
.brand-symbol { display: block; width: 38px; height: 38px; }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 2.9vw, 38px); color: var(--muted); font-size: .92rem; font-weight: 650; }
.top-nav a { padding: 8px 2px; }
.top-nav a:hover, .top-nav a[aria-current], .top-nav a[data-section-current] { color: var(--peach); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 9px; }
.search-link { justify-self: end; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); }
.search-link:hover { border-color: var(--rose); color: var(--text); }
.site-menu { position: relative; }
.site-menu summary { display: grid; width: 44px; height: 44px; place-items: center; list-style: none; cursor: pointer; color: var(--text); border-radius: 8px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover, .site-menu[open] summary { background: var(--surface); color: var(--peach); }
.menu-bars { display: grid; gap: 4px; }
.menu-bars > span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.site-menu-panel { position: absolute; z-index: 10; top: calc(100% + 6px); right: 0; width: min(230px, calc(100vw - 32px)); padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 26px #08081199; }
.site-menu-panel a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: .92rem; }
.site-menu-panel a:hover, .site-menu-panel a:focus-visible { background: #322437; }
.site-menu-panel a[aria-current] { color: var(--peach); font-weight: 700; }
.search-icon { position: relative; display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 3px; border: 1.7px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -2px; width: 6px; height: 1.7px; transform: rotate(46deg); border-radius: 3px; background: currentColor; }

.search-form { display: flex; align-items: center; gap: 12px; max-width: 470px; padding: 6px 6px 6px 15px; border: 1px solid #60445c; border-radius: 12px; background: #16141fec; color: #d2c2d1; }
.search-form:focus-within { border-color: var(--rose); }
.search-form input { flex: 1; min-width: 0; width: 100%; padding: 8px 0; border: 0; background: transparent; color: var(--text); font-size: .91rem; }
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: #c0b1c5; }
.search-form button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 43px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; background: linear-gradient(110deg, #ffc392, #ef8fb3); color: #201520; font-size: .87rem; font-weight: 800; white-space: nowrap; }
.search-form button:hover { background: #ffc4a5; }

.arrow { margin-top: 6px; }
.arrow { position: relative; display: inline-block; flex: none; width: 14px; height: 14px; color: #e9a8bb; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { top: 3px; right: 2px; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.arrow::after { top: 8px; right: 1px; width: 11px; height: 1.5px; transform: rotate(-45deg); background: currentColor; }

.card-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.card > a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; min-height: 179px; padding: 17px 18px; }
.card-photo { display: block; width: calc(100% + 36px); height: auto; aspect-ratio: 16 / 9; margin: -17px -18px 17px; object-fit: cover; background: #22202b; }
.card h2, .card h3 { font-size: 1.24rem; }
.card p { margin: 9px 0 14px; color: var(--muted); font-size: .89rem; }
.card a:hover h2, .card a:hover h3 { color: #ffb8cf; }

.footer { margin-top: 56px; border-top: 1px solid #2e2634; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 24px; }
.footer p, .footer-inner > a { color: var(--muted); font-size: .86rem; }
.footer p { margin-top: 5px; }
.footer-inner > a:hover { color: var(--peach); }
.listing, .article-wrap { min-height: min(650px, 70vh); padding-top: 27px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: .86rem; }
.breadcrumbs a:hover { color: var(--peach); }
.listing-hero { --shading: #36243f; margin-bottom: 23px; padding: clamp(24px, 4.8vw, 50px); border: 1px solid #49344b; border-radius: 17px; background: radial-gradient(ellipse at 100% 8%, var(--shading), #1b1824 78%); }
.listing-soluces { --shading: #492739; }
.listing-astuces { --shading: #443136; }
.listing-depannage { --shading: #3a2a50; }
.listing-reglages { --shading: #3c2c47; }
.listing-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.15rem); }
.listing-hero p { max-width: 600px; margin-top: 12px; color: var(--muted); }
.note { max-width: 680px; margin-bottom: 20px; padding: 14px 17px; border-left: 3px solid var(--rose); border-radius: 0 7px 7px 0; background: var(--surface); color: var(--muted); }
.article-wrap { max-width: 800px; }
.article h1 { font-size: clamp(2.15rem, 4.4vw, 3.4rem); text-wrap: balance; }
.article h2 { margin: 25px 0 9px; font-size: clamp(1.24rem, 2.5vw, 1.65rem); }
.article p:not(.answer) { color: #d0c5d4; }
.article .last-checked { margin-top: 10px; font-size: .85rem; }
.article p.mission-notice { margin-top: 12px; font-size: .9rem; color: #f9b7d0; }
.article-photo { margin: 25px 0 0; }
.article-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #22202b; }
.article-photo figcaption { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.article-photo figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.answer { margin-top: 21px; padding: 16px 19px; border: 1px solid #71445e; border-left: 4px solid var(--rose); border-radius: 8px; background: #2c1e2d; color: #ffe4ee; font-size: 1.08rem; }
.step-list { padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; padding-left: 43px; margin-block: 24px; counter-increment: steps; }
.step-list li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #684760; border-radius: 8px; background: #332637; color: #ffd1dc; font-weight: 780; }
.article-sources { margin-top: 29px; border-top: 1px solid var(--line); }
.article-sources ul { padding-left: 20px; }
.article-sources a { color: #ffc0d0; text-decoration: underline; text-underline-offset: 3px; }
.article-sources .arrow { vertical-align: middle; }
.article-section { margin-top: 32px; }
.article-section > h2 { margin: 0 0 12px; }
.article-section > p + p { margin-top: 13px; }
.article-checklist { padding-left: 23px; margin: 15px 0; color: #e7dce8; }
.article-checklist li { padding-left: 4px; margin: 10px 0; }
.article-checklist li::marker { color: var(--peach); font-weight: 800; }
.article-internal-links { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; margin-top: 18px; }
.article-internal-links a { color: #ffc0d0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-internal-links a:hover { color: var(--text); }
.article-internal-links .arrow { vertical-align: middle; margin-top: 0; }
.article-table-scroll { max-width: 100%; overflow-x: auto; margin: 18px 0 22px; }
.article-table { width: 100%; min-width: 485px; border-collapse: collapse; font-size: .93rem; line-height: 1.4; }
.article-table caption { text-align: left; font-size: .86rem; color: var(--muted); padding-bottom: 8px; }
.article-table th, .article-table td { border-bottom: 1px solid var(--line); padding: 12px 13px; text-align: left; vertical-align: top; }
.article-table thead { background: #312335; color: var(--text); }
.article-table tbody th { font-weight: 650; }
.article-table tbody tr:nth-child(even) { background: #1d1a25; }
.stats-section { margin-top: 36px; }
.stats-section > h2 { margin-top: 0; }
.stats-section > p { max-width: 66ch; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 16px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; padding-block: 15px 6px; border-top: 1px solid var(--line); }
.stats-legend { margin-top: 22px; max-width: 65ch; font-size: .94rem; }
.stat-status { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #2c3038; color: #d6e6de; font-size: .78rem; font-weight: 750; }
.stat-status-reported { background: #32283b; color: #dec9f4; }
.stat-status-estimate { background: #43302b; color: #ffd4ae; }
.stat h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.03em; }
.stat-value { display: block; margin-bottom: 7px; color: var(--peach); font-size: clamp(2.45rem, 7vw, 4.35rem); font-variant-numeric: lining-nums tabular-nums; line-height: 1; letter-spacing: -.055em; }
.stat p { font-size: .95rem; }
.stat-source { display: inline-block; margin-top: auto; color: #f9b7d0; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.stat-source:hover { color: var(--text); }
.hints { display: grid; gap: 9px; }
.hints details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hints summary { min-height: 50px; padding: 13px 15px; cursor: pointer; font-weight: 730; }
.hints summary::marker { color: var(--rose); }
.hints summary:hover, .hints details[open] summary { color: #ffc4d5; }
.hints details[open] { border-color: #81546c; }
.hint-number { margin-inline: 4px 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hints details p { padding: 0 17px 16px 37px; }
.related { margin-top: 32px; }
.related .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 13px; }
.search-page .search-form { margin-top: 20px; }
.search-status { margin-bottom: 15px; color: var(--muted); }
.not-found { padding-block: 65px 90px; }
.not-found-code { color: var(--rose); font-size: 1rem; font-weight: 800; }
.not-found h1 { margin-top: 8px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.not-found > p:not(.not-found-code) { margin-top: 15px; color: var(--muted); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
.not-found-actions a { color: var(--peach); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 850px) {
  .top-inner:not(.home-masthead) { grid-template-columns: 1fr auto; min-height: 64px; gap: 10px; }
  .top-inner .brand { min-width: 0; white-space: normal; }
  .top-nav { display: none; }
  .header-actions { grid-area: 1 / 2; gap: 3px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .card-grid, .related .card-grid { grid-template-columns: 1fr; }
  .card > a { min-height: 136px; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .search-form { gap: 8px; padding-left: 11px; }
  .search-form button { padding-inline: 9px; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 355px) {
  .brand { gap: 7px; font-size: .96rem; }
  .brand-symbol { width: 32px; height: 32px; }
  .top-nav { font-size: .76rem; }
}


/* Accueil : image officielle, deux accès clairs et rubriques éditoriales. */
.home-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(530px, 48vw, 680px); overflow: hidden; background: #25202d; }
.home-hero-media, .home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-media { z-index: -2; }
.home-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.home-hero-shade { z-index: -1; background: linear-gradient(90deg, #11121af2 0%, #11121ad0 31%, #11121a78 55%, #11121a08 83%), linear-gradient(0deg, #11121ab8 0%, transparent 50%); }
.home-hero-content { padding-block: 100px 76px; }
.home-eyebrow { display: block; color: #ffb5ce; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-hero h1 { max-width: 850px; margin-top: 15px; font-size: clamp(3.1rem, 6.8vw, 6.8rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.home-hero h1 strong { color: #ffaccc; font-weight: inherit; }
.home-hero p { max-width: 47ch; margin-top: 24px; color: #fff4eee8; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.55; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.home-hero-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 50px; padding: 12px 19px; border-radius: 8px; font-weight: 800; }
.home-hero-actions .arrow { margin-top: 0; }
.hero-primary .arrow { color: #201520; }
.hero-secondary .arrow { color: var(--text); }
.hero-primary { background: linear-gradient(110deg, #ffc392, #ef8fb3); color: #201520; }
.hero-primary:hover { background: #ffd0ad; }
.hero-secondary { border: 1px solid #f0c9d4; background: #18141ac9; color: var(--text); }
.hero-secondary:hover { background: #3b2935; }
.home { padding-top: 57px; }
.home > section + section { margin-top: clamp(52px, 6vw, 80px); }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px 28px; margin-bottom: 23px; }
.home-section-heading h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
.home-section-heading p { max-width: 58ch; margin-top: 8px; color: var(--muted); }
.home-section-heading > a { flex: none; color: #ffc2d5; font-size: .93rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.home-section-heading > a:hover { color: var(--text); }
.home-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; }
.home-blog-grid a { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; padding: 19px 0 22px; border-top: 1px solid #4e3c51; }
.home-blog-grid a > span:first-child { font-family: var(--display); font-size: clamp(1.14rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -.045em; }
.home-blog-grid a > small { grid-column: 1; color: var(--muted); font-size: .91rem; }
.home-row-arrow { grid-area: 1 / 2 / span 2; align-self: center; color: #f5a6c2; font-size: 1.3rem; }
.home-row-arrow .arrow { margin-top: 0; }
.home-blog-grid a:hover > span:first-child, .home-faq-list a:hover strong { color: #ffbbd1; }
.home-faq-list { border-top: 1px solid #4e3c51; }
.home-faq-list a { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; align-items: center; gap: 15px 35px; min-height: 104px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.home-faq-list strong { font-family: var(--display); font-size: clamp(1.07rem, 1.7vw, 1.34rem); letter-spacing: -.038em; line-height: 1.25; }
.home-faq-list a > span:not(.home-row-arrow) { color: var(--muted); font-size: .91rem; }
.home-faq-list .home-row-arrow { grid-area: auto; }
.home-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 26px); }
.home-guide a { display: block; }
.home-guide img { display: block; width: 100%; height: auto; background: var(--surface); }
.home-guide h3 { margin-top: 11px; font-size: clamp(1rem, 2vw, 1.42rem); line-height: 1.18; letter-spacing: -.036em; }
.home-guide a:hover h3 { color: #ffb8cf; }
.home-credits { margin-top: 28px; color: var(--muted); font-size: .76rem; }
.home-credits a { text-decoration: underline; text-underline-offset: 3px; }
.blog-listing-hero { background: radial-gradient(ellipse at 100% 8%, #492739, #1b1824 78%); }
.faq-listing-hero { background: radial-gradient(ellipse at 100% 8%, #3a2a50, #1b1824 78%); }
.blog-sections h2 { margin-bottom: 16px; }
.blog-articles { margin-top: 48px; }
.faq-page { max-width: 980px; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.faq-jump a, .faq-more { color: #ffc0d4; text-decoration: underline; text-underline-offset: 4px; }
.faq-section { margin-top: 37px; scroll-margin-top: 20px; }
.faq-section h2 { margin-bottom: 15px; }
.faq-item { padding: 18px 0 21px; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: clamp(1.16rem, 2vw, 1.48rem); }
.faq-item p { max-width: 72ch; margin-top: 8px; color: var(--muted); }
.faq-item a { display: inline-block; margin-top: 10px; color: #ffc0d4; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.faq-more { display: inline-block; margin-top: 10px; font-weight: 700; }
.menu-group { padding-block: 4px 8px; border-block: 1px solid var(--line); }
.site-menu-panel { width: min(285px, calc(100vw - 32px)); max-height: min(80vh, 620px); overflow-y: auto; }
.site-menu-panel .menu-parent { display: flex; justify-content: space-between; font-weight: 800; }
.menu-sub { margin-left: 10px; border-left: 1px solid #69506a; }
.menu-sub a { padding-block: 7px; padding-left: 13px; color: var(--muted); font-size: .86rem; }

@media (max-width: 950px) and (min-width: 701px) {
  .home-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .home-hero { display: block; min-height: 0; }
  .home-hero-media { position: relative; z-index: 0; display: block; height: clamp(270px, 79vw, 420px); }
  .home-hero-media img { object-position: center 35%; }
  .home-hero-shade { display: none; }
  .home-hero-content { padding-block: 25px 34px; }
  .home-hero h1 { font-size: clamp(2.6rem, 10vw, 4.5rem); }
  .home-hero p { margin-top: 15px; font-size: .98rem; }
  .home-hero-actions { margin-top: 21px; }
  .home-hero-actions a { min-height: 48px; }
  .home { padding-top: 39px; }
  .home-section-heading { align-items: start; flex-direction: column; }
  .home-section-heading > a { margin-top: 3px; }
  .home-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .home-faq-list a { grid-template-columns: 1fr auto; gap: 7px 12px; min-height: 0; }
  .home-faq-list a > span:not(.home-row-arrow) { grid-column: 1; }
  .home-faq-list .home-row-arrow { grid-area: 1 / 2 / span 2; }
  .home-guides { grid-template-columns: minmax(0, 1fr); }
  .home-guide a { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); align-items: start; gap: 3px 12px; padding-block: 5px; }
  .home-guide img { align-self: center; }
  .home-guide h3 { align-self: center; margin: 0; }
}
@media (max-width: 355px) {
  .brand { gap: 7px; font-size: .96rem; }
  .brand-symbol { width: 32px; height: 32px; }
  .header-actions { gap: 0; }
  .search-link { width: 40px; height: 40px; }
  .site-menu summary { width: 40px; height: 40px; }
}
