
:root {
  --bg: #f7f4ed;
  --bg-soft: #fffaf1;
  --bg-dark: #111827;
  --surface: #ffffff;
  --surface-strong: #f3eadb;
  --text: #162033;
  --text-soft: #5f6b7a;
  --text-light: #f9fafb;
  --primary: #c8942f;
  --primary-dark: #9f6f18;
  --accent: #2563eb;
  --border: rgba(22, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(200, 148, 47, 0.16), transparent 34rem), var(--bg);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
p { margin-top: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 80;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--text);
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 72px 0; }
.no-top { padding-top: 0; }
.section-soft { background: rgba(255, 250, 241, 0.72); }
.section-dark { background: radial-gradient(circle at top right, rgba(200, 148, 47, 0.22), transparent 26rem), var(--bg-dark); color: var(--text-light); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 237, 0.88); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; color: #fff; font-weight: 900; background: linear-gradient(135deg, #d6a84e, #9f6f18); box-shadow: 0 12px 30px rgba(159, 111, 24, 0.26); }
.brand-text { display: grid; gap: 0; }
.brand-text strong { line-height: 1.1; font-size: 1rem; }
.brand-text small { color: var(--text-soft); font-size: 0.78rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 10px 12px; border-radius: 999px; color: var(--text-soft); font-size: 0.94rem; font-weight: 650; }
.site-nav a:hover, .site-nav a.active { color: var(--text); background: rgba(22, 32, 51, 0.06); }
.site-nav .nav-cta { color: #fff; background: var(--text); }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { color: #fff; background: #000; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, 0.72); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 999px; background: var(--text); }
.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.hero { padding-top: 92px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr); align-items: center; gap: 48px; }
.hero-grid-compact { align-items: stretch; }
.eyebrow { margin: 0 0 12px; color: var(--primary-dark); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.section-dark .eyebrow { color: #f3c469; }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 880px; font-size: clamp(2.35rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.06em; }
h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.045em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.2; }
.hero-lead, .page-lead, .section-heading p, .split-section p, .cta-box p { color: var(--text-soft); font-size: 1.08rem; }
.section-dark p { color: rgba(249, 250, 251, 0.76); }
.hero-lead { max-width: 720px; margin-bottom: 30px; }

.page-hero { padding-top: 68px; padding-bottom: 52px; }
.page-hero h1 { max-width: 950px; }
.page-lead { max-width: 860px; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--text-soft); font-size: 0.9rem; font-weight: 700; }
.breadcrumb a { color: var(--primary-dark); }
.breadcrumb span { color: rgba(95, 107, 122, 0.72); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 18px; border-radius: 999px; font-weight: 800; line-height: 1; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 14px 34px rgba(159, 111, 24, 0.24); }
.btn-secondary { color: var(--text); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--border); }
.btn-light { color: var(--text); background: #fff; }
.text-link { display: inline-flex; margin-top: 10px; color: var(--primary-dark); font-weight: 850; }
.hero-actions .text-link { margin-top: 0; align-self: center; }

.hero-points, .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points span, .tag-list span { padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); background: rgba(255, 255, 255, 0.58); font-size: 0.88rem; font-weight: 700; }
.tag-list-spaced { margin-top: 24px; }
.section-dark .tag-list span, .product-card .tag-list span { color: rgba(249,250,251,.82); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

.hero-card, .visual-card, .product-card, .cta-box, .contact-panel, .aside-card, .project-card, .content-block { border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.78); box-shadow: var(--shadow); }
.hero-card { padding: 26px; }
.hero-card-top { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 9px 12px; border-radius: 999px; color: var(--text-soft); background: rgba(37, 99, 235, 0.08); font-size: 0.88rem; font-weight: 750; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12); }
.metric-list { display: grid; gap: 14px; }
.metric-list div { padding: 18px; border-radius: 22px; background: rgba(247, 244, 237, 0.82); }
.metric-list strong { display: block; margin-bottom: 4px; font-size: 1.65rem; line-height: 1; }
.metric-list span { color: var(--text-soft); font-size: 0.94rem; }

.section-heading { max-width: 780px; margin-bottom: 34px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.76); box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07); }
.service-card-large h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; color: #fff; font-weight: 900; background: var(--text); }
.service-card p, .project-card p, .content-block p { color: var(--text-soft); }
.service-card a:not(.btn) { display: inline-flex; margin-top: 8px; color: var(--primary-dark); font-weight: 850; }
.section-action { margin-top: 28px; text-align: center; }

.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr); align-items: center; gap: 42px; }
.visual-card { min-height: 420px; padding: 30px; }
.visual-card-lines { display: grid; gap: 16px; box-shadow: none; background: rgba(255,255,255,.55); }
.diagram-card { padding: 20px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.8); }
.diagram-card span { width: 34px; height: 34px; display: inline-grid; place-items: center; margin-bottom: 12px; border-radius: 12px; color: #fff; background: var(--text); font-weight: 900; }
.diagram-card strong { display: block; margin-bottom: 4px; }
.diagram-card p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list p { display: flex; gap: 10px; margin: 0; color: var(--text); }
.check-list span { color: var(--primary-dark); font-weight: 900; }
.check-list-block { margin: 0; padding: 0; list-style: none; }
ul.check-list-block li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--text-soft); }
ul.check-list-block li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-dark); font-weight: 900; }
.plain-list { margin: 18px 0 0; padding-left: 18px; color: var(--text-soft); }
.plain-list li { margin-bottom: 8px; }

.stack-panel { display: grid; gap: 14px; }
.stack-panel div { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.72); }
.stack-panel strong { display: block; margin-bottom: 4px; }
.stack-panel span { color: var(--text-soft); }
.stack-panel-light { grid-template-columns: repeat(2, minmax(0,1fr)); }

.product-card { padding: 28px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.product-card span:first-child { display: inline-flex; margin-bottom: 44px; padding: 8px 11px; border-radius: 999px; color: #111827; background: #f3c469; font-weight: 900; }
.product-card h3 { font-size: 1.8rem; }
.product-card .btn { margin-top: 12px; }
.cta-box { max-width: 900px; margin-inline: auto; padding: clamp(28px, 6vw, 56px); text-align: center; }
.cta-box-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }

.two-column-detail, .case-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 24px; align-items: start; }
.detail-aside, .case-sidebar { position: sticky; top: 100px; }
.aside-card { padding: 24px; }
.aside-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 20px; color: #fff; background: var(--text); font-weight: 900; }
.aside-card .btn { width: 100%; margin-top: 16px; }
.detail-content, .case-content { display: grid; gap: 18px; }
.content-block { padding: clamp(22px, 4vw, 34px); box-shadow: 0 18px 48px rgba(17,24,39,.06); }
.content-block h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); }
.content-block ul { margin: 0 0 18px; padding-left: 20px; color: var(--text-soft); }
.content-block li { margin-bottom: 8px; }
.content-cta { background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,250,241,.88)); }
.feature-list { display: grid; gap: 12px; }
.feature-list div { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(247,244,237,.7); }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list span { color: var(--text-soft); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.project-card { padding: clamp(24px,4vw,34px); box-shadow: 0 18px 48px rgba(17,24,39,.08); }
.project-card-featured { grid-column: 1 / -1; min-height: 320px; background: radial-gradient(circle at top right, rgba(200,148,47,.18), transparent 24rem), rgba(255,255,255,.82); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project-meta span { padding: 7px 10px; border-radius: 999px; background: rgba(22,32,51,.07); color: var(--text-soft); font-size: .84rem; font-weight: 800; }
.project-card h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
.project-card .tag-list { margin: 22px 0; }

.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result-grid div { padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: rgba(247,244,237,.7); }
.result-grid strong { display: block; margin-bottom: 4px; }
.result-grid span { color: var(--text-soft); font-size: 0.9rem; }

.timeline { display: grid; gap: 16px; }
.timeline article { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 18px 48px rgba(17,24,39,.06); }
.timeline span { display: inline-flex; margin-bottom: 10px; color: var(--primary-dark); font-weight: 900; }
.timeline p { margin-bottom: 0; color: var(--text-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.testimonial-card { margin: 0; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.07); }
.testimonial-card blockquote { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.5; }
.testimonial-card figcaption { color: rgba(249,250,251,.72); font-size: .92rem; }

.contact-panel { padding: clamp(24px,4vw,36px); }
.contact-email { display: inline-flex; margin: 10px 0 20px; color: var(--primary-dark); font-size: clamp(1.2rem,3vw,1.8rem); font-weight: 900; word-break: break-word; }
.contact-actions { margin-bottom: 0; }
.narrow-content { max-width: 860px; }
.legal-page .content-block { margin-bottom: 18px; }
.legal-update { color: var(--text-soft); font-weight: 700; }
.document-shell { max-width: 920px; }
.document-article { display: grid; gap: 24px; }
.document-article .content-block { margin-bottom: 0; }
.document-footer { padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: 0.95rem; }
.note-box { padding: 14px 16px; border-radius: 18px; background: rgba(200, 148, 47, 0.12); color: var(--text); font-weight: 700; }
.not-found-section { min-height: calc(100vh - 180px); display: flex; align-items: center; }
.not-found-content { text-align: center; }
.not-found-content p { margin-inline: auto; }
.not-found-content h1 { margin-bottom: 18px; }
.not-found-content .page-lead { margin-bottom: 30px; max-width: 640px; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-soft); font-size: 0.92rem; }
.footer-inner p { margin: 0; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { font-weight: 700; }

/* -------------------------------------------------------------------------- */
/* Réalisation - Self connecté                                                */
/* -------------------------------------------------------------------------- */

.case-hero {
  padding-top: 64px;
  padding-bottom: 42px;
}

.case-hero .breadcrumb {
  margin-bottom: 34px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  align-items: end;
  gap: 42px;
}

.case-hero-content {
  max-width: 820px;
}

.case-hero .page-lead {
  max-width: 780px;
  margin-bottom: 28px;
}

.case-hero .hero-actions {
  margin-top: 0;
  gap: 14px;
}

.case-hero .btn {
  white-space: nowrap;
}

.case-summary-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.case-summary-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.case-summary-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-summary-card strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}

.case-cover-section {
  padding-top: 10px;
  padding-bottom: 54px;
}

.case-cover {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #111827;
  box-shadow: var(--shadow);
}

.case-cover-contained {
  max-width: 860px;
  margin-inline: auto;
}

.case-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 32px;
}

.content-text p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.pain-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--text);
  font-weight: 900;
}

.pain-card h3 {
  margin-bottom: 8px;
}

.pain-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.sticky-card {
  position: sticky;
  top: 104px;
}

.feature-list-large {
  gap: 14px;
}

.feature-list-large div {
  padding: 20px;
}

.technical-block {
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.technical-grid div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.technical-grid h3 {
  margin-bottom: 8px;
}

.technical-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
}

@media (max-width: 920px) {
  .case-hero {
    padding-top: 48px;
  }

  .case-hero-grid,
  .case-intro-grid {
    grid-template-columns: 1fr;
  }

  .case-summary-card {
    align-self: stretch;
  }

  .pain-grid,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .case-hero {
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .case-hero .breadcrumb {
    margin-bottom: 24px;
  }

  .case-hero .btn {
    width: 100%;
    white-space: normal;
  }

  .case-cover-section {
    padding-bottom: 34px;
  }

  .case-cover-contained {
    max-width: 100%;
    border-radius: 24px;
  }

  .case-summary-card,
  .pain-card,
  .technical-grid div {
    border-radius: 22px;
  }
}

/* -------------------------------------------------------------------------- */
/* Réalisation - Era Clash                                                 */
/* -------------------------------------------------------------------------- */

.chrono-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

.chrono-hero .breadcrumb {
  margin-bottom: 34px;
}

.chrono-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 52px;
}

.chrono-hero-content {
  max-width: 820px;
}

.chrono-hero .page-lead {
  max-width: 760px;
  margin-bottom: 28px;
}

.chrono-phone-stack {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.phone-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 36px;
  background: #1a0d05;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.22);
}

.phone-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.phone-shot-main {
  position: absolute;
  right: 0;
  top: 0;
  width: min(68%, 330px);
  max-height: 600px;
  z-index: 2;
}

.phone-shot-secondary {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: min(54%, 260px);
  max-height: 500px;
  z-index: 1;
  opacity: 0.96;
}

.chrono-hero + .section-soft {
  padding-top: 72px;
}

.chrono-intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 36px;
}

.chrono-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* -------------------------------------------------------------------------- */
/* Page Réalisations                                                          */
/* -------------------------------------------------------------------------- */

.realisations-hero {
  padding-bottom: 54px;
}

.realisations-hero .breadcrumb {
  margin-bottom: 34px;
}

.realisations-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  align-items: end;
  gap: 42px;
}

.hero-proof-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.hero-proof-card strong {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-proof-card span {
  color: var(--text-soft);
}

.featured-realisation {
  margin-bottom: 28px;
}

.featured-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
          radial-gradient(circle at top right, rgba(200, 148, 47, 0.16), transparent 28rem),
          rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.featured-project-content p {
  color: var(--text-soft);
}

.project-results-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.project-results-row div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(247, 244, 237, 0.72);
}

.project-results-row strong {
  display: block;
  margin-bottom: 5px;
}

.project-results-row span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.industrial-visual {
  position: relative;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
  border-radius: 30px;
  background:
          linear-gradient(145deg, #162033, #263248);
}

.industrial-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.industrial-panel {
  position: relative;
  display: grid;
  gap: 5px;
  width: 82%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.industrial-panel span {
  color: #f3c469;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industrial-panel strong {
  line-height: 1.25;
}

.panel-top {
  margin-left: auto;
}

.panel-middle {
  width: 100%;
  margin: 86px 0;
  background: rgba(200, 148, 47, 0.16);
}

.panel-bottom {
  margin-right: auto;
}

.realisation-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.visual-project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.visual-project-media {
  display: block;
  overflow: hidden;
  height: 320px;
  background: #111827;
}

.visual-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.visual-project-media:hover img {
  transform: scale(1.025);
}

.visual-project-media-phone {
  display: grid;
  place-items: center;
  background:
          radial-gradient(circle at center, rgba(200, 148, 47, 0.22), transparent 18rem),
          #1a0d05;
}

.visual-project-media-phone img {
  width: auto;
  max-width: 72%;
  height: 100%;
  object-fit: contain;
}

.visual-project-content {
  padding: 26px;
}

.visual-project-content p {
  color: var(--text-soft);
}

.visual-project-content .btn {
  margin-top: 12px;
}

.featured-project-content .btn {
  margin-top: 4px;
}

.cta-box-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

@media (max-width: 980px) {
  .realisations-hero-grid,
  .featured-project-card {
    grid-template-columns: 1fr;
  }

  .industrial-visual {
    min-height: 360px;
  }

  .project-results-row,
  .realisation-cards-grid {
    grid-template-columns: 1fr;
  }

  .visual-project-media {
    height: auto;
  }

  .visual-project-media img {
    height: auto;
  }

  .visual-project-media-phone img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }
}

@media (max-width: 620px) {
  .realisations-hero {
    padding-bottom: 40px;
  }

  .realisations-hero .breadcrumb {
    margin-bottom: 24px;
  }

  .featured-project-card,
  .visual-project-card {
    border-radius: 24px;
  }

  .industrial-visual {
    min-height: 320px;
    padding: 18px;
    border-radius: 24px;
  }

  .panel-middle {
    margin: 58px 0;
  }

  .industrial-panel {
    width: 100%;
  }

  .visual-project-content {
    padding: 22px;
  }
}

.chrono-screen-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.chrono-screen-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #1a0d05;
}

.chrono-screen-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.chrono-screen-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.chrono-screen-card span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.legal-links-block {
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

.legal-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-link-grid a {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.legal-link-grid a:hover {
  background: rgba(255, 255, 255, 0.92);
}

.legal-link-grid strong {
  color: var(--text);
}

.legal-link-grid span {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .chrono-hero-grid,
  .chrono-intro-grid {
    grid-template-columns: 1fr;
  }

  .chrono-phone-stack {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .phone-shot-main,
  .phone-shot-secondary {
    position: static;
    width: 100%;
  }

  .chrono-screens-grid {
    grid-template-columns: 1fr;
  }

  .chrono-screen-card {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .chrono-hero {
    padding-top: 38px;
    padding-bottom: 46px;
  }

  .chrono-hero .breadcrumb {
    margin-bottom: 24px;
  }

  .chrono-hero .btn {
    width: 100%;
    white-space: normal;
  }

  .chrono-phone-stack {
    grid-template-columns: 1fr;
  }

  .phone-shot-secondary {
    display: none;
  }

  .phone-shot {
    max-width: 330px;
    margin-inline: auto;
    border-radius: 30px;
  }

  .legal-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 76px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 14px; }
  .hero { padding-top: 56px; }
  .hero-grid, .split-section, .two-column-detail, .case-layout { grid-template-columns: 1fr; }
  .detail-aside, .case-sidebar { position: static; }
  .cards-grid, .cards-grid-2, .project-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .project-card-featured { min-height: auto; }
  .stack-panel-light, .result-grid { grid-template-columns: 1fr; }
  .visual-card { min-height: auto; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 52px 0; }
  .no-top { padding-top: 0; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-text small { display: none; }
  .site-nav { top: 68px; }
  h1 { letter-spacing: -0.05em; }
  .hero-actions { width: 100%; }
  .hero-actions .btn,
  .contact-actions .btn,
  .aside-card .btn,
  .case-hero .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-card, .visual-card, .product-card, .service-card, .project-card, .content-block, .contact-panel, .aside-card { border-radius: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}


/* V5 homepage editorial refinements */
body[data-page="home"] .hero { padding-top: 72px; }
body[data-page="home"] h1 { font-size: clamp(2.15rem, 5.4vw, 4.15rem); }
.home-actions-center { justify-content: center; margin-bottom: 0; }
.section-dark .btn-secondary { color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
.section-dark .btn-secondary:hover { background: rgba(255,255,255,.14); }
@media (max-width: 620px) { body[data-page="home"] .hero { padding-top: 52px; } }
