/* Shared public chrome and reading layout, including the older SEO URLs. */
:root { color-scheme: dark; --ink: #f7f8fb; --quiet: #b5bac5; --edge: #30343b; --red: #ff3124; --red-dark: #b91612; --action: var(--red-dark); --red-selected: #2b0d0b; }
html { scroll-padding-top: 110px; }
body { overflow-x: visible; }
body, body * { box-sizing: border-box; letter-spacing: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a, button, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #33d6e6; outline-offset: 4px; }
.reading-page .skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-180%); background: #111418; padding: 10px 16px; }
.reading-page .skip-link:focus { transform: translateY(0); }
body .public-header { position: sticky; top: 0; z-index: 60; width: 100%; margin: 0; padding: 0; border-bottom: 1px solid var(--edge); background: #090a0c; }
.public-header .public-nav { max-width: 1240px; min-height: 86px; margin: auto; padding: 8px 28px; display: flex; align-items: center; gap: 24px; }
.public-header .public-logo { display: flex; flex: 0 0 78px; padding: 0; border: 0; }
.public-logo img { width: 78px; height: 66px; object-fit: contain; display: block; }
.public-header nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 24px; margin: 0; overflow: visible; }
.public-header nav a { padding: 12px 0; color: #dce0e7; text-decoration: none; font-size: 14px; line-height: 1.25; font-weight: 650; white-space: nowrap; border: 0; background: none; border-radius: 0; }
.public-header nav a:hover, .public-header nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.public-header .public-contact { flex: 0 0 auto; padding: 12px 16px; background: #176747; border: 1px solid #438b6c; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.public-header .public-contact:hover { background: #115237; }
.public-footer { border-top: 1px solid var(--edge); padding: 28px; background: #090a0c; color: var(--quiet); }
.public-footer > div { display: flex; flex-wrap: wrap; gap: 12px 24px; max-width: 1184px; margin: auto; align-items: center; font-size: 14px; }
.public-footer a { color: #dce0e7; text-decoration: underline; text-underline-offset: 3px; }
body .btn { font-size: 14px; font-weight: 750; line-height: 1.35; padding: 13px 18px; text-transform: none; min-height: 48px; }
body .btn.primary, body .btn-primary, body .btn-red { background: var(--action); color: #fff; border-color: transparent; box-shadow: none; }
body .btn.primary:hover, body .btn-primary:hover, body .btn-red:hover { background: #97100c; color: #fff; }
body .btn-wa { background: #176747; color: #fff; border-color: #438b6c; }
body .btn:hover { transform: none; }
body .section h2, .service-page .section-title { font-size: 30px; line-height: 1.2; max-width: 30ch; }
body .section-head { max-width: 820px; }
body .section-head p { font-size: 17px; line-height: 1.65; }
body .section { padding-top: 52px; padding-bottom: 52px; }
body .service-visual img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; background: #141416; }
body .service-card h3 { font-size: 23px; line-height: 1.25; }
body .creation-grid img { aspect-ratio: 4 / 3; object-fit: contain; background: #141416; }
body .guide-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body .guide-feature strong { font-size: 25px; line-height: 1.3; }
body .guide-list a { grid-template-columns: 150px minmax(0, 1fr); }
body .guide-list img { width: 150px; height: 100%; min-height: 140px; object-fit: contain; background: #141416; }
body .guide-list strong { font-size: 19px; }
body .guide-list small { font-size: 15px; }
body .guide-feature img { aspect-ratio: 4 / 3; object-fit: contain; background: #141416; }
body .quick-result, body #quickResult { background: #12161b; border-color: #4e555f; color: #e0e5ec; }
body .request-summary { background: #111418; border-color: #4e555f; }
body .need-choice[aria-pressed="true"], body .quick-types button[aria-pressed="true"] { background: var(--red-selected); border-color: var(--red); color: #fff; }
body .hero .hero-bg { background-image: linear-gradient(90deg, #08090bd9 0%, #08090bd4 32%, #08090b08 72%), url("assets/service-astra/jonas-white-photo.webp?v=b148e0920d74169c"); background-size: cover, auto 100%; background-position: center, right center; background-repeat: no-repeat; background-color: #151517; }
body .hero-copy { position: relative; }
body .hero h1 { font-size: 50px; max-width: 17ch; line-height: 1.08; }
.service-page .hero { min-height: 500px; }
.service-page .hero::before { background: linear-gradient(90deg, #08090bfa, #08090be8 38%, #08090b10 76%), var(--editorial-hero, none) right center / auto 100% no-repeat; }
[data-visual="diagnostic"] { --editorial-hero: url("assets/service-astra/photo-diagnostic.webp?v=87066c9290dd7013"); }
[data-visual="cablage"] { --editorial-hero: url("assets/service-astra/photo-cablage.webp?v=08ea205b7e842d7f"); }
[data-visual="entretien"] { --editorial-hero: url("assets/service-astra/photo-entretien.webp?v=bf36e9575a5c3416"); }
[data-visual="distance"] { --editorial-hero: url("assets/service-astra/photo-distance.webp?v=9acbb7a84cf64313"); }
[data-visual="refroidissement"] { --editorial-hero: url("assets/service-astra/photo-refroidissement.webp?v=d4b470bcdf925b4e"); }
[data-visual="gpu"] { --editorial-hero: url("assets/service-astra/photo-cartes-graphiques.webp?v=88a7218ff80b343c"); }
[data-visual="ram"] { --editorial-hero: url("assets/service-astra/photo-memoire.webp?v=091f9a1a8091bdda"); }
[data-visual="performance"] { --editorial-hero: url("assets/service-astra/config-performance.webp?v=ae5f103a1a42c1fc"); }
.service-page[data-visual="none"] .hero::before { display: none; }
.service-page[data-visual="none"] .hero { min-height: 0; padding-block: 42px; }
.support-page .request-hero { background: #0b0c0f; }
.visual-note { font-size: 13px; line-height: 1.6; color: #b5bac5; margin: 18px 0 0; }
.service-page .hero-copy { max-width: 640px; }
.service-page .hero-card { margin-top: 28px; max-width: 640px; padding: 0; border: 0; border-left: 2px solid #67717b; padding-left: 20px; background: transparent; }
.service-page .hero-grid > div:first-child { max-width: 640px; }
.service-page .hero-grid { position: relative; }
.service-page .hero > .wrap { position: relative; z-index: 1; }
.service-page .check li::before, .service-page .micro-proof li::before, .service-page .safety-item::before { color: var(--red); }
.service-page .eyebrow { color: var(--red); }
.service-page .card p, .service-page .step p, .service-page .faq p { color: #b5bac5; }
.service-page .faq { display: grid; gap: 12px; }
.service-page details { border-bottom: 1px solid var(--edge); padding: 18px 0; }
.service-page summary { cursor: pointer; font-weight: 700; }
.service-page summary + p { margin-top: 12px; }
.service-page .cards, .service-page .lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-page .lane { padding: 20px 0; border-top: 1px solid var(--edge); }
.service-page .topline, .service-page .tags { display: flex; flex-wrap: wrap; gap: 8px; color: #b5bac5; font-size: 13px; }
.service-page .price small { font-size: 15px; margin-left: 6px; }
.service-page .card h3 { text-transform: none; }
.service-page .source { color: #b5bac5; }
body.blog-page .hero { min-height: 0; padding: 34px 0 24px; background: #090a0c; }
body.blog-page .hero::before { display: none; }
body.blog-page .hero h1 { font-size: 38px; max-width: none; }
body.blog-page .hero-copy { max-width: 820px; }
body.blog-page #articles { padding-top: 28px; }
.blog-page .featured-guide { border: 0; padding: 0; background: none; }
.blog-page .featured-guide img { aspect-ratio: 4 / 3; object-fit: contain; background: #141416; }
.blog-page .grid h2 { font-size: 21px; line-height: 1.3; }
.blog-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-page .grid article { justify-content: flex-start; padding: 0 0 22px; overflow: hidden; }
.blog-page .grid .text-guide { padding-top: 22px; }
.blog-page .grid article > div, .blog-page .grid article > a.read { margin: 0 22px; }
.blog-page .grid article > a.read { margin-top: auto; padding-top: 20px; }
.blog-page .grid article .article-thumb { display: block; aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: contain; margin: 0 0 20px; background: #141416; }
.blog-page .cta-band { padding: 24px 0; border: 0; border-top: 1px solid var(--edge); border-radius: 0; background: none; }
.blog-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin: 0 0 24px; }
.blog-tools label { display: grid; gap: 7px; color: #dce0e7; font-size: 14px; }
.blog-tools input, .blog-tools select { background: #111418; color: #fff; border: 1px solid #626a76; border-radius: 6px; font: inherit; padding: 12px; min-height: 46px; width: 100%; }
.blog-tools label:first-child { flex: 1 1 250px; }
.blog-tools p { color: #b5bac5; font-size: 14px; padding-bottom: 12px; }
.reading-page { margin: 0; background: #090a0c; color: #f7f8fb; font: 17px/1.75 system-ui, "Segoe UI", sans-serif; }
.reading-page a { color: #7cdeea; text-underline-offset: 3px; }
.reading-page .article-container { max-width: 820px; margin: auto; padding: 0 28px; }
.reading-page .article-header { padding: 36px 0 24px; text-align: left; }
.reading-page .article-header h1 { font-size: 40px; max-width: 26ch; line-height: 1.16; margin: 18px 0; }
.reading-page .article-meta, .reading-page figcaption { color: #b5bac5; font-size: 13px; }
.reading-page .article-header .article-tag { color: #7cdeea; font-size: 13px; font-weight: 700; }
.reading-page figure { margin: 0 0 28px; }
.reading-page .article-hero { display: block; width: 100%; height: 360px; object-fit: contain; background: #141416; border-radius: 6px; }
.reading-page .article-intro { color: #c6cbd3; margin-bottom: 0; }
.reading-page figcaption { margin-top: 8px; }
.reading-page .article-content h2 { font-size: 25px; line-height: 1.3; margin: 38px 0 14px; }
.reading-page .article-content h3 { font-size: 20px; line-height: 1.4; margin: 26px 0 12px; }
.reading-page .article-content p, .reading-page .article-content li { color: #c6cbd3; }
.reading-page .article-content strong { color: #f7f8fb; }
.reading-page .article-content ul { padding-left: 24px; }
.reading-page .highlight { border-left: 3px solid #7cdeea; padding: 12px 20px; margin: 24px 0; background: #111418; }
.reading-page .table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--edge); margin: 24px 0; }
.reading-page table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.reading-page th, .reading-page td { padding: 12px; border: 1px solid var(--edge); vertical-align: top; }
.reading-page th { color: #fff; background: #171b21; }
.reading-page .article-cta { padding: 28px 0; margin: 34px 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.reading-page .article-cta h2 { font-size: 24px; }
.reading-page .article-cta p { color: #b5bac5; }
.reading-page .btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; text-decoration: none; }
.reading-page a.btn-wa { color: #fff; background: #176747; }
.reading-page .article-toc { padding: 18px 0; border-block: 1px solid var(--edge); }
.reading-page .article-toc ol { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-left: 20px; margin: 10px 0 0; font-size: 14px; }
.reading-page .back-link { display: inline-block; padding: 18px 0 38px; }
@media (max-width: 860px) {
  .public-header .public-nav { gap: 18px; padding-inline: 20px; }
  .public-header nav { gap: 16px; }
  .public-header nav .nav-creations { display: none; }
  body .guide-layout { grid-template-columns: 1fr; }
  body .hero .hero-bg { background-size: cover, auto 85%; }
  .service-page .cards, .service-page .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 125px; }
  .public-header .public-nav { min-height: 112px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 5px 18px 8px; }
  .public-header .public-logo { width: 70px; }
  .public-logo img { width: 70px; height: 56px; }
  .public-header .public-contact { grid-column: 2; grid-row: 1; font-size: 13px; padding: 10px 14px; }
  .public-header nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; width: 100%; }
  .public-header nav a { font-size: 13px; padding: 9px 0; }
  .public-header nav .nav-creations { display: inline-block; }
  .public-header nav .nav-request { display: none; }
  body .hero h1 { font-size: 36px; max-width: 17ch; }
  body .hero .hero-bg { background-image: linear-gradient(0deg, #08090b 0%, #08090bf2 46%, #08090b00 85%), url("assets/service-astra/jonas-white-photo.webp?v=b148e0920d74169c"); background-size: cover, 100% auto; background-position: center, center top; }
  body:not(.service-page) .hero { padding-top: 0; min-height: 0; }
  body:not(.service-page) .hero-copy { padding: 260px 20px 24px; }
  .service-page .hero { padding-top: 278px; }
  .service-page .hero::before { bottom: auto; height: 260px; background: linear-gradient(0deg, #0b0c0f 0%, #0b0c0f00 32%), var(--editorial-hero, none) center top / cover no-repeat; }
  [data-visual="diagnostic"] { --editorial-hero: url("assets/service-astra/photo-diagnostic-small.webp?v=d32264f649df4ad1"); }
  [data-visual="cablage"] { --editorial-hero: url("assets/service-astra/photo-cablage-small.webp?v=53ae9dd053a54b1e"); }
  [data-visual="entretien"] { --editorial-hero: url("assets/service-astra/photo-entretien-small.webp?v=bc0b1c70352685b3"); }
  [data-visual="distance"] { --editorial-hero: url("assets/service-astra/photo-distance-small.webp?v=4dc8f5d1de195eb8"); }
  [data-visual="refroidissement"] { --editorial-hero: url("assets/service-astra/photo-refroidissement-small.webp?v=e990960def960b52"); }
  [data-visual="gpu"] { --editorial-hero: url("assets/service-astra/photo-cartes-graphiques-small.webp?v=7e0c7e0b04ae75fc"); }
  [data-visual="ram"] { --editorial-hero: url("assets/service-astra/photo-memoire-small.webp?v=5216c744c6a4ad03"); }
  body .section h2, .service-page .section-title { font-size: 26px; max-width: 30ch; }
  body .section-head p { font-size: 16px; }
  body .section { padding-block: 36px; }
  body .guide-list a { grid-template-columns: 112px minmax(0, 1fr); }
  body .guide-list img { width: 112px; min-height: 120px; }
  body .guide-list strong { font-size: 17px; }
  body .guide-list small { font-size: 14px; }
  .service-page .cards, .service-page .lanes { grid-template-columns: 1fr; }
  body.blog-page .hero { min-height: 0; padding-top: 36px; }
  body.blog-page .hero::before { opacity: .18; }
  body.blog-page .hero h1 { font-size: 36px; }
  .blog-page .grid h2 { font-size: 21px; }
  .blog-page .grid { grid-template-columns: 1fr; }
  .reading-page { font-size: 16px; }
  .reading-page .article-container { padding-inline: 20px; }
  .reading-page .article-header { padding-top: 24px; }
  .reading-page .article-header h1 { font-size: 30px; }
  .reading-page .article-content h2 { font-size: 23px; }
  .reading-page .article-hero { height: 240px; }
  .reading-page .article-toc ol { display: block; }
  .reading-page .article-toc li { padding: 5px 0; }
  .public-footer { padding: 24px 20px; }
  body:has(.mobile-actions) .public-footer { padding-bottom: 88px; }
}
@media (max-width: 350px) {
  body:not(.service-page) .hero-copy { padding-top: 215px; }
  body:not(.service-page) .hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
