/* ============================================================
   TECHCAR — Services & Devis (styles spécifiques)
   ============================================================ */

/* ---------------- PAGE HEADER ---------------- */
.phead {
  position: relative; padding: clamp(140px, 20vh, 220px) 0 clamp(56px, 9vh, 96px);
  background-color: oklch(0.135 0.006 70);
  background-image:
    linear-gradient(27deg, oklch(0.17 0.007 70) 3.5px, transparent 3.5px),
    linear-gradient(207deg, oklch(0.17 0.007 70) 3.5px, transparent 3.5px),
    linear-gradient(27deg, oklch(0.12 0.005 70) 3.5px, transparent 3.5px),
    linear-gradient(207deg, oklch(0.12 0.005 70) 3.5px, transparent 3.5px);
  background-size: 14px 14px; background-position: 0 0, 7px 7px, 7px 0, 0 7px;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.phead::after {
  content: ""; position: absolute; right: -6%; top: 50%; width: 46%; height: 200%;
  transform: translateY(-50%) skewX(-12deg);
  background: radial-gradient(60% 50% at 50% 50%, oklch(0.62 0.10 66 / 0.16), transparent 70%);
  pointer-events: none;
}
.phead-inner { position: relative; z-index: 2; max-width: 64ch; }
.phead .eyebrow { margin-bottom: 26px; }
.phead .display { margin-bottom: 28px; max-width: 15ch; }
.phead .lead { max-width: 52ch; }
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; display: flex; gap: 10px; }
.crumb a:hover { color: var(--gold); }
.crumb .sep { color: var(--faint); }

/* ---------------- ASSURANCE BAND ---------------- */
.assure { border-bottom: 1px solid var(--line); }
.assure-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.assure-item { padding: 34px var(--gut); display: flex; align-items: center; gap: 18px; border-right: 1px solid var(--line); }
.assure-item:last-child { border-right: 0; }
.assure-ic { width: 42px; height: 42px; flex: none; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); border-radius: 2px; }
.assure-ic svg { width: 20px; height: 20px; }
.assure-item h4 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
.assure-item p { font-size: 13px; color: var(--muted); margin-top: 3px; }
@media (max-width: 760px) { .assure-grid { grid-template-columns: 1fr; } .assure-item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------------- SERVICE DETAIL ---------------- */
.svc { padding: clamp(70px, 11vh, 140px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(80% 90% at 32% 18%, oklch(0.27 0.03 72 / 0.55), transparent 62%),
    repeating-linear-gradient(125deg, oklch(0.205 0.008 72) 0 2px, transparent 2px 13px),
    linear-gradient(155deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
}
.svc-frame image-slot, .svc-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.svc:hover .svc-frame image-slot, .svc:hover .svc-frame img { transform: scale(1.03); }
.svc-bignum { position: absolute; bottom: -22px; left: -10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(80px, 11vw, 160px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.4px var(--gold-line); z-index: 3; }
.svc-pill { position: absolute; top: 18px; right: 18px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: oklch(0.145 0.006 70 / 0.7); backdrop-filter: blur(6px); border: 1px solid var(--line-2); padding: 8px 13px; }

.svc-info .eyebrow { margin-bottom: 20px; }
.svc-info .h2 { margin-bottom: 22px; }
.svc-info .lead { margin-bottom: 32px; }
.feat { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-bottom: 36px; }
.feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.feat svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 2px; }
.svc-foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .feat { grid-template-columns: 1fr; }
}

/* ---------------- FILMS / PARTNERS ---------------- */
.films { padding: clamp(70px, 11vh, 130px) 0; text-align: center; }
.films-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 56px; }
.films-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.film-chip { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(20px, 2.4vw, 30px); color: var(--ink-2); border: 1px solid var(--line); padding: 18px 30px; transition: 0.5s var(--ease); }
.film-chip:hover { border-color: var(--gold-line); color: var(--ink); background: var(--gold-soft); }

/* ============================================================
   DEVIS PAGE
   ============================================================ */
.devis-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); padding: clamp(60px, 9vh, 110px) 0 clamp(90px, 14vh, 150px); align-items: start; }
.devis-aside { position: sticky; top: 110px; }
.devis-aside .h1 { margin: 22px 0 26px; }
.devis-aside .lead { margin-bottom: 40px; }
.aside-contact { display: flex; flex-direction: column; gap: 22px; padding-top: 34px; border-top: 1px solid var(--line); }
.aside-contact li { list-style: none; display: flex; gap: 15px; align-items: flex-start; }
.aside-contact .ic { width: 40px; height: 40px; flex: none; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); border-radius: 2px; }
.aside-contact .ic svg { width: 17px; height: 17px; }
.aside-contact .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.aside-contact .v { color: var(--ink); font-size: 15px; margin-top: 3px; display: block; }
.aside-contact a.v:hover { color: var(--gold); }

/* Form */
.form-card { background: var(--bg-1); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.form-steps { display: flex; gap: 10px; margin-bottom: 36px; }
.fstep { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.fstep::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.fstep.done::after, .fstep.active::after { transform: scaleX(1); }
.fstep.active::after { background: var(--gold); }
.flabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.field { margin-bottom: 26px; }
.field > label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 11px; }
.field .req { color: var(--gold); }
.input, .textarea, .select {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--sans); font-size: 15px; padding: 14px 16px; border-radius: 2px; transition: border-color 0.3s, background 0.3s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold); background: oklch(0.17 0.007 70); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Service chooser chips */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  position: relative; cursor: pointer; border: 1px solid var(--line-2); padding: 16px 18px;
  border-radius: 2px; transition: 0.3s var(--ease); display: flex; align-items: center; gap: 13px;
}
.choice:hover { border-color: var(--gold-line); }
.choice input { position: absolute; opacity: 0; }
.choice .dot { width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 50%; flex: none; transition: 0.3s; position: relative; }
.choice .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform 0.25s var(--ease); }
.choice .nm { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.01em; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice:has(input:checked) .dot { border-color: var(--gold); }
.choice:has(input:checked) .dot::after { transform: scale(1); }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }

.form-actions { display: flex; gap: 14px; margin-top: 12px; align-items: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.5; }

.form-success { text-align: center; padding: 30px 10px; display: none; flex-direction: column; align-items: center; gap: 20px; }
.form-success.show { display: flex; }
.success-ic { width: 66px; height: 66px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.success-ic svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .devis-layout { grid-template-columns: 1fr; gap: 48px; }
  .devis-aside { position: static; }
}

/* ---------------- TARIFS (pricing) ---------------- */
.tarifs { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.tarifs-head { max-width: 720px; margin-bottom: 54px; }
.tarifs-head .h1 { margin: 14px 0 18px; }
.price-table { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: oklch(0.155 0.006 70 / 0.4); }
.price-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: stretch; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row.head { background: oklch(0.18 0.007 72 / 0.6); }
.price-row.head .pc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding: 20px 24px; }
.price-row.head .pc.feature { color: var(--ink); }
.price-row.head .pc.amt { flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.price-row.head .pc .sub { display: block; color: var(--faint); margin-top: 0; letter-spacing: 0.12em; font-size: 9.5px; }
.pc { padding: 22px 24px; display: flex; align-items: center; }
.pc.veh { gap: 15px; border-right: 1px solid var(--line); }
.pc.veh svg { width: 34px; height: 22px; flex: none; color: var(--gold); }
.pc.veh .nm { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: 0.01em; line-height: 1.1; }
.pc.amt { justify-content: flex-end; font-family: var(--mono); font-size: 18px; color: var(--ink-2); position: relative; }
.pc.amt::before { content: ""; }
.price-row:not(.head) .pc.amt.best { color: var(--gold); }
.price-row:not(.head):hover { background: oklch(0.2 0.01 75 / 0.4); }
.tarifs-note { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.tarifs-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }
@media (max-width: 760px) {
  .price-row { grid-template-columns: 1fr; }
  .price-row.head { display: none; }
  .pc.veh { border-right: none; border-bottom: 1px solid var(--line); background: oklch(0.18 0.007 72 / 0.5); }
  .pc.amt { justify-content: space-between; }
  .pc.amt::before { content: attr(data-label); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
  .price-row:not(:last-child) { border-bottom: 6px solid var(--bg); }
}

/* ---------------- JOURNAL / RESSOURCES (blog) ---------------- */
.journal { padding: clamp(64px, 10vh, 120px) 0; }
.feat-article { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 9vh, 104px); }
.feat-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.3s var(--ease); }
.feat-article:hover .feat-media img { transform: scale(1.04); }
.feat-flag { position: absolute; top: 16px; left: 16px; z-index: 3; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #1a1206; background: var(--gold); padding: 7px 12px; border-radius: 2px; font-weight: 600; }
.art-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.feat-body h2 { margin: 18px 0 18px; }
.feat-body .lead { max-width: 46ch; }
.art-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--faint); display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.feat-body .tlink { margin-top: 28px; }

.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.art-card { display: flex; flex-direction: column; cursor: pointer; background: none; border: 0; padding: 0; margin: 0; text-align: left; font: inherit; color: inherit; }
.art-thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 20px; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.art-card:hover .art-thumb img { transform: scale(1.05); }
.art-card h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.12; letter-spacing: 0.01em; margin: 13px 0 10px; transition: color 0.3s var(--ease); }
.art-card:hover h3 { color: var(--gold); }
.art-card .excerpt { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .feat-article { grid-template-columns: 1fr; gap: 30px; }
  .feat-media { aspect-ratio: 16 / 10; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .journal-grid { grid-template-columns: 1fr; } }

/* Reader overlay */
.reader { position: fixed; inset: 0; z-index: 210; background: var(--bg); overflow-y: auto; display: none; }
.reader.open { display: block; }
.reader-bar { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut); background: oklch(0.145 0.006 70 / 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.reader-bar .rb-brand { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.reader-close { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: none; border: 1px solid var(--line-2); border-radius: 2px; padding: 9px 14px; cursor: pointer; transition: 0.3s var(--ease); }
.reader-close:hover { border-color: var(--gold); color: var(--gold); }
.reader-close svg { width: 14px; height: 14px; }
.reader-inner { max-width: 740px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--gut) 120px; }
.reader-hero { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; border: 1px solid var(--line); margin: 38px 0 44px; }
.reader-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reader-inner h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5vw, 52px); line-height: 1.04; margin: 16px 0 0; }
.reader-inner .art-meta { margin-top: 22px; }
.article-body > * + * { margin-top: 22px; }
.article-body p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.article-body h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: 0.01em; color: var(--ink); margin-top: 44px; }
.article-body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-left: 2px; }
.article-body li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.article-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 11px; height: 2px; background: var(--gold); }
.article-body strong { color: var(--ink); }
.reader-cta { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
