/* Réparation PC portable Dell – Creative IT France, Manosque */
:root {
  --ink: #17201d;
  --ink-2: #4a5852;
  --green: #24352f;
  --green-2: #2f453c;
  --paper: #f2f4f1;
  --white: #fff;
  --line: #d4dbd5;
  --lav: #5b4ea6;
  --lav-soft: #ebe8f7;
  --lav-bright: #b9aef0;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1180px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font); font-stretch: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--lav); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-stretch: 112%; line-height: 1.12; letter-spacing: -.01em; color: var(--green); margin: 0 0 .5em; }
h1 { font-weight: 780; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-weight: 720; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h3 { font-weight: 680; font-size: 1.1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-head { background: var(--green); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1a2823; }
.bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--lav-bright); color: var(--white); font-weight: 800; font-stretch: 75%; font-size: .9rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-stretch: 112%; font-weight: 740; font-size: 1.02rem; }
.brand-text span { font-size: .82rem; opacity: .78; }
.call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  background: var(--lav-bright); color: var(--green); font-weight: 760; font-stretch: 105%;
  padding: .55em .95em; border-radius: 999px;
}
.call:hover { background: var(--white); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav a, .sub-toggle { color: var(--white); text-decoration: none; font: inherit; font-weight: 560; font-size: .97rem; }
.main-nav > ul > li > a, .sub-toggle {
  display: block; padding: .5em .8em; border-radius: var(--radius-s); background: none; border: 0; cursor: pointer;
}
.sub-toggle::after { content: ''; display: inline-block; margin-left: .45em; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.main-nav > ul > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--green-2); }
[aria-current="page"].sub-toggle, .main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lav-bright); }
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; z-index: 60;
  background: var(--white); border-radius: var(--radius-m); padding: 8px; border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(23, 32, 29, .18);
}
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.sub a { display: block; padding: .45em .7em; color: var(--ink); border-radius: var(--radius-s); font-weight: 450; }
.sub a:hover { background: var(--lav-soft); color: var(--lav); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .bar { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand-text span { display: none; }
  .call span { display: none; }
  .call { padding: .6em; }
  .main-nav { order: 3; width: 100%; }
  .nav-toggle {
    display: block; width: 100%; text-align: left; background: var(--green-2); color: var(--white);
    border: 0; border-radius: var(--radius-s); padding: .6em .8em; font: inherit; font-weight: 600;
  }
  .main-nav > ul { display: none; flex-direction: column; padding-top: 6px; }
  .main-nav.open > ul { display: flex; }
  .sub { position: static; box-shadow: none; border: 0; background: var(--green-2); min-width: 0; }
  .sub a { color: var(--white); }
  .sub a:hover { background: var(--green); color: var(--white); }
}
@media (min-width: 961px) and (max-width: 1100px) { .brand-text span { display: none; } }

/* finder */
.finder { position: relative; }
.finder label { display: block; font-weight: 650; margin-bottom: .35em; }
.finder-input {
  width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
}
.finder-input:focus { outline: none; border-color: var(--lav); box-shadow: 0 0 0 3px var(--lav-soft); }
.finder-hint { margin: .45em 0 0; font-size: .85rem; color: var(--ink-2); }
.finder-results {
  list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 40;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 14px 36px rgba(23, 32, 29, .2); max-height: 360px; overflow: auto;
}
.finder-results a { display: flex; justify-content: space-between; gap: 12px; padding: .5em .7em; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; }
.finder-results a small { color: var(--ink-2); white-space: nowrap; }
.finder-results a:hover, .finder-results a.active { background: var(--lav-soft); color: var(--lav); }
.finder-results .none { padding: .6em .7em; color: var(--ink-2); }
.finder-big label { font-stretch: 112%; font-size: 1.25rem; font-weight: 740; color: var(--white); }
.finder-big .finder-input { font-size: 1.2rem; padding: .9em 1em; border: 2px solid transparent; }
.finder-big .finder-input:focus { border-color: var(--lav-bright); box-shadow: 0 0 0 4px rgba(185, 174, 240, .35); }
.finder-big .finder-hint { color: rgba(255, 255, 255, .72); }
.prose .finder-big label { color: var(--green); }
.prose .finder-big .finder-input { border-color: var(--line); }
.prose .finder-big .finder-hint { color: var(--ink-2); }

/* hero */
.hero { background: var(--green); color: var(--white); padding: 48px 0 64px; position: relative; z-index: 5; }
.hero::after {
  /* lavender rows of the Valensole plateau, a few km from the workshop */
  content: ''; position: absolute; inset: auto 0 0 0; height: 14px;
  background: repeating-linear-gradient(90deg, var(--lav-bright) 0 22px, transparent 22px 30px); opacity: .55;
}
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 64px; padding-top: 16px; } }
.hero h1 { color: var(--white); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); font-stretch: 118%; max-width: 15ch; margin-bottom: .4em; }
.lead { font-size: 1.15rem; line-height: 1.55; max-width: 56ch; }
.hero .lead { color: rgba(255, 255, 255, .86); margin: 0 0 32px; }
.hero .contact-card { position: static; }

/* page head */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.page-head h1 { max-width: 30ch; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2em .5em; margin: 0 0 12px; padding: 0; font-size: .88rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: .5em; color: var(--line); }
.crumbs a { color: var(--ink-2); }

/* layout */
.layout { display: grid; gap: 36px; padding-top: 36px; padding-bottom: 48px; }
@media (min-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.side { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .side .contact-card { position: sticky; top: 96px; } }

.prose { max-width: 72ch; min-width: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .2em 0; }
.prose li::marker { color: var(--lav); }
.faults { columns: 2 260px; column-gap: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 22px 18px 40px !important; }
.faults li { break-inside: avoid; }
.cols { columns: 2 240px; column-gap: 32px; }
.inline-fig { margin: 0 0 1em; }
.inline-img { border-radius: var(--radius-m); background: var(--white); }
@media (min-width: 640px) {
  .prose p > .inline-img { float: right; width: min(42%, 340px); margin: .3em 0 1em 28px; }
  .inline-fig { float: right; width: min(42%, 340px); margin: .3em 0 1em 28px; }
}
.prose::after { content: ''; display: table; clear: both; }

/* contact card */
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--lav);
  border-radius: var(--radius-m); padding: 22px; color: var(--ink); font-size: .98rem;
}
.cc-title { font-stretch: 112%; font-weight: 740; color: var(--green); font-size: 1.1rem; margin: 0 0 .5em; }
.cc-phone { display: flex; align-items: center; gap: 8px; font-size: 1.45rem; font-weight: 780; font-stretch: 108%; color: var(--green); text-decoration: none; margin-bottom: .6em; }
.cc-phone svg { color: var(--lav); width: 22px; height: 22px; }
.contact-card address { font-style: normal; margin-bottom: .6em; line-height: 1.5; }
.contact-card p { margin: 0 0 .6em; }
.cc-hours { color: var(--ink-2); }
.cc-map { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; font-weight: 600; }
.btn {
  display: inline-block; background: var(--lav); color: var(--white); text-decoration: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 680; padding: .7em 1.2em; border-radius: var(--radius-s); margin-top: .4em;
}
.btn:hover { background: #4a3f8c; }

/* gammes */
.gammes { padding: 56px 0 40px; }
.gamme-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 500px) { .gamme-grid a { grid-template-rows: 80px auto auto; padding: 14px; } .gamme-grid img { height: 72px; } }
.gamme-grid a { display: grid; grid-template-rows: 110px auto auto; height: 100%; background: var(--white); padding: 18px; color: var(--ink); text-decoration: none; }
.gamme-grid li { box-shadow: 1px 1px 0 var(--line); }
.gamme-grid img { width: 100%; height: 100px; object-fit: contain; }
.gamme-grid a:hover { background: var(--lav-soft); }
.g-name { font-stretch: 112%; font-weight: 720; font-size: 1.12rem; color: var(--green); margin-top: 6px; }
.gamme-grid a:hover .g-name { color: var(--lav); }
.g-count { font-size: .9rem; color: var(--ink-2); }

/* steps */
.how { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.steps { list-style: none; counter-reset: s; margin: 20px 0 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--lav-bright); font-weight: 800; font-stretch: 112%;
}
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 19px; left: 50px; right: 0; height: 1px; background: var(--line); }
@media (max-width: 759px) { .steps li::after { display: none; } }
.steps p { margin: 0; color: var(--ink-2); }

/* model lists */
.models { list-style: none; padding: 0 !important; margin: 16px 0 0; columns: 4 150px; column-gap: 24px; font-size: .95rem; }
.models li { break-inside: avoid; padding: .18em 0; margin: 0 !important; border-bottom: 1px dotted var(--line); }
.models a { color: var(--ink); text-decoration: none; display: block; }
.models a:hover { color: var(--lav); }
.models [aria-current] span { font-weight: 700; color: var(--lav); }
.model-index { margin-top: 2.4em; }
.siblings { padding: 8px 0 48px; }
.siblings h2 { font-size: 1.25rem; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 22px; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { border-top: 1px solid var(--line); }
.svc a { display: block; padding: .5em 0; color: var(--ink); text-decoration: none; }
.svc a:hover { color: var(--lav); }
.home-body { padding-top: 48px; }

/* contact page */
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; margin-top: 8px; }
.f-row { margin-bottom: 16px; }
.f-row label { display: block; font-weight: 620; margin-bottom: .3em; }
.f-row input, .f-row textarea { width: 100%; font: inherit; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--lav); background: var(--white); box-shadow: 0 0 0 3px var(--lav-soft); }
.f-2 { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .f-2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.small { font-size: .85rem; color: var(--ink-2); margin: .8em 0 0 !important; }
.status { padding: 14px 18px; border-radius: var(--radius-m); margin-bottom: 16px; font-weight: 600; }
.status.ok { background: #e3f1e8; color: #1d5233; border: 1px solid #b7dcc4; }
.status.err { background: #fbe9e7; color: #8a2a1c; border: 1px solid #f0c3bb; }
.map-sec { padding: 8px 0 56px; }
.map { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; min-height: 280px; background: var(--white); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* footer */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 48px 0 24px; font-size: .95rem; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.foot-name { font-stretch: 112%; font-weight: 740; color: var(--white); font-size: 1.15rem; margin: 0 0 .5em; }
.site-foot address { font-style: normal; margin-bottom: 1em; }
.foot-h { color: var(--lav-bright); font-weight: 680; margin: 0 0 .5em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: .15em 0; }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.legal p { margin: 0 0 .5em; max-width: 110ch; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-head, .side, .how, .siblings, .site-foot nav { display: none; } }
.page-illus { margin: 0 0 1.6em; }
.page-illus img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); }
.gamme-grid img { object-fit: cover; border-radius: var(--radius-s); }
