/* ============================================================
   SCIPRO TECH — Website Styles
   Shared across all pages (index, sciage, carottage, a-propos, contact)
   ============================================================ */
@import url('colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-page); color: var(--fg-1); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─────────── CONTAINERS ─────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--navy-900); color: var(--fg-on-navy); }
.section--darker { background: var(--ink-1000); color: var(--fg-on-navy); }
.section--alt { background: var(--bg-alt); }

/* ─────────── NAVBAR ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out), backdrop-filter var(--dur-base);
  color: #fff;
}
.nav--scrolled {
  background: rgba(14,32,56,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav--light { color: var(--ink-900); background: var(--white); border-bottom: 1px solid var(--border-soft); }
.nav__logo {
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav__logo:hover .nav__logo-pill { transform: translateY(-1px); }
.nav__logo-pill img {
  display: block;
  height: 36px;
  width: auto;
}
.nav--light .nav__logo-pill {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.nav--light .nav__logo-pill img { height: 40px; }
.footer__brand .nav__logo-pill img { height: 44px; }
.footer__brand .nav__logo-pill { padding: 12px 18px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em;
  position: relative; padding: 4px 0;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--orange-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover { color: var(--orange-500); }
.nav--light .nav__link:hover { color: var(--orange-600); }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  letter-spacing: var(--tracking-button); text-transform: uppercase;
  border-radius: var(--r-pill);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base), color var(--dur-base), box-shadow var(--dur-base);
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--orange-600); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-500); box-shadow: 0 16px 36px rgba(232,105,31,0.42); }
.btn--secondary { background: var(--white); color: var(--navy-900); }
.btn--secondary:hover { background: var(--concrete-50); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn--ghost-dark { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-200); }
.btn--ghost-dark:hover { background: var(--ink-50); border-color: var(--ink-700); }
.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  margin-left: 4px;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary .btn__arrow { background: rgba(0,0,0,0.18); }
.btn--secondary .btn__arrow { background: var(--orange-600); color: #fff; }

/* ─────────── EYEBROW / DIVIDERS ─────────── */
.eyebrow-row {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow-row::before {
  content: ''; width: 28px; height: 2px; background: var(--orange-600);
}
.eyebrow-row .eyebrow { color: var(--orange-600); margin: 0; }
.section--dark .eyebrow-row .eyebrow { color: var(--orange-500); }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 56px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,32,56,0.55) 0%, rgba(14,32,56,0.30) 35%, rgba(14,32,56,0.85) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 25% 100%, 100% 33.33%;
  background-position: 0 0;
}
.hero__inner {
  position: relative; z-index: 3;
  max-width: var(--container-wide); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  text-wrap: balance;
}
.hero__title .dot {
  color: var(--orange-600);
  margin: 0 0.15em;
  display: inline-block;
}
.hero__sub {
  max-width: 540px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 860px) {
  .hero__content-grid { grid-template-columns: 1fr; }
  .hero__stat-card { display: none; }
}
.hero__meta {
  position: absolute; top: 50%; left: var(--gutter); transform: translateY(-50%);
  display: none;
}

/* Floating stat card */
.hero__stat-card {
  background: var(--ink-1000);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-4);
}
.hero__stat-label {
  font-family: var(--font-sans); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}
.hero__stat-value sup { font-size: 0.55em; vertical-align: top; }
.hero__stat-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--green-500);
}
.hero__stat-arrows { display: flex; gap: 8px; }
.hero__stat-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--dur-fast) var(--ease-out);
}
.hero__stat-arrow:hover { background: var(--orange-600); border-color: var(--orange-600); }

/* ─────────── SECTION HEADING ─────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head__main { max-width: 720px; }
.sec-head__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-1000);
  text-wrap: balance;
}
.section--dark .sec-head__title { color: #fff; }
.sec-head__title em {
  font-style: normal;
  color: var(--orange-600);
  position: relative;
}

/* ─────────── SERVICE CARDS ─────────── */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  aspect-ratio: 5/4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  isolation: isolate;
  cursor: pointer;
}
.service-card__img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-card__img { transform: scale(1.04); }
.service-card__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,32,56,0.2) 0%, rgba(14,32,56,0.85) 75%);
}
.service-card__content { position: relative; z-index: 2; }
.service-card__num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--orange-500);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.service-card__title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card__desc {
  font-family: var(--font-body); font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 420px;
  margin-bottom: 20px;
}
.service-card__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  align-self: flex-start;
  transition: border-color var(--dur-base);
}
.service-card__link:hover { border-color: var(--orange-500); color: var(--orange-500); }
.service-card__corner {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--dur-base);
}
.service-card:hover .service-card__corner { background: var(--orange-600); border-color: var(--orange-600); transform: rotate(-45deg); }

/* ─────────── STATS BAR ─────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat__value .unit, .stat__value sup {
  font-size: 0.45em; color: var(--orange-500);
  margin-left: 2px;
  vertical-align: top;
}
.stat__label {
  font-family: var(--font-sans); font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 200px;
}
.stat__index {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--orange-500);
  letter-spacing: 0.08em;
}

/* ─────────── WHY US ─────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.why-card {
  background: var(--white);
  padding: 32px 24px;
  transition: background var(--dur-base);
}
.why-card:hover { background: var(--concrete-50); }
.why-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--navy-700);
  color: var(--orange-500);
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}
.why-card__title {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 17px; line-height: 1.25;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.why-card__desc {
  font-family: var(--font-body); font-size: 13px;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ─────────── CTA BANNER ─────────── */
.cta-banner {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 80px);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(232,105,31,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner__title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta-banner__action { display: flex; justify-content: flex-end; }

/* ─────────── FOOTER ─────────── */
.footer { background: var(--ink-1000); color: #fff; padding: 80px 0 24px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .nav__logo {  }
.footer__tagline {
  margin-top: 20px;
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}
.footer__title {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-500);
  margin-bottom: 20px;
}
.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--orange-500); }
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer__social { display: flex; gap: 12px; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--dur-base);
}
.footer__social-link:hover { background: var(--orange-600); border-color: var(--orange-600); }

/* ─────────── PILL / TAG ─────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--concrete-50);
  border: 1px solid var(--border-soft);
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}
.pill--dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.pill--orange { background: var(--orange-100); border-color: var(--orange-200); color: var(--orange-700); }
.pill--green { background: var(--green-100); border-color: var(--green-200); color: var(--green-700); }

/* ─────────── PAGE HERO (sub-pages) ─────────── */
.subhero {
  position: relative;
  min-height: 70vh;
  padding: 160px var(--gutter) 80px;
  display: flex; align-items: flex-end;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.subhero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; opacity: 0.55; }
.subhero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,32,56,0.4) 0%, rgba(14,32,56,0.9) 100%);
}
.subhero__inner { position: relative; z-index: 2; max-width: var(--container-wide); margin: 0 auto; width: 100%; }
.subhero__crumbs {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.subhero__crumbs a:hover { color: var(--orange-500); }
.subhero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 1100px;
  text-wrap: balance;
}
.subhero__lede {
  margin-top: 24px;
  max-width: 580px;
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

/* ─────────── TWO-COL TEXT BLOCK ─────────── */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.twocol__label {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--orange-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.twocol__main { font-size: 20px; line-height: 1.55; color: var(--ink-900); }
.twocol__main p + p { margin-top: 18px; }

/* ─────────── SPEC LIST (for sciage/carottage detail) ─────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.spec {
  padding: 32px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.spec:last-child { border-right: none; }
.spec__index { font-family: var(--font-mono); font-size: 12px; color: var(--ink-300); letter-spacing: 0.1em; margin-bottom: 24px; }
.spec__value { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--ink-1000); margin-bottom: 8px; letter-spacing: -0.02em; }
.spec__value .unit { font-size: 0.4em; color: var(--orange-600); margin-left: 4px; vertical-align: top; }
.spec__label { font-family: var(--font-sans); font-size: 13px; color: var(--fg-3); }

/* ─────────── METHOD STEPS ─────────── */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: var(--border);
}
.step__num { font-family: var(--font-mono); font-size: 12px; color: var(--orange-600); letter-spacing: 0.08em; margin-bottom: 12px; }
.step__title { font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink-900); }

/* ─────────── FORM ─────────── */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-700);
}
.field__input, .field__textarea {
  font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink-900);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field__textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.field__input:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26,53,87,0.12);
}

/* ─────────── REVEAL ANIM ─────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }

/* ─────────── HAMBURGER BUTTON ─────────── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
  transform-origin: center;
}
.nav--light .nav__burger { border-color: var(--ink-200); }
.nav__burger:hover { background: rgba(255,255,255,0.1); }
.nav--light .nav__burger:hover { background: var(--ink-50); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── MOBILE NAV DRAWER ─────────── */
.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--navy-900);
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__inner {
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: block;
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.2;
  color: rgba(255,255,255,0.75);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.mobile-nav__link:last-child { border-bottom: none; margin-bottom: 24px; }
.mobile-nav__link:hover, .mobile-nav__link.is-active { color: #fff; padding-left: 8px; }
.mobile-nav__link.is-active { color: var(--orange-500); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .twocol { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__action { justify-content: flex-start; }
  .specs { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--border); }
  .spec:last-child { border-bottom: none; }
  .sec-head { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__burger { display: flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CORRECTIONS MOBILE COMPLÈTES — SCIPRO TECH ===== */

@media (max-width: 600px) {

  /* --- GLOBAL --- */
  body { overflow-x: hidden; }
  .wrap, .container, [class*="__inner"] { 
    padding-left: 16px !important; 
    padding-right: 16px !important; 
    max-width: 100% !important;
  }

  /* --- HERO HOMEPAGE : ticker caché, titre lisible --- */
  .hero {
    min-height: 100svh;
    padding: 100px 16px 48px;
  }
  .hero__title {
    font-size: clamp(36px, 10vw, 56px) !important;
    line-height: 1 !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* Masquer le ticker qui chevauche */
  .ticker, .hero__ticker, [class*="ticker"] { 
    display: none !important; 
  }
  /* Stat band sous le hero : 1 colonne */
  .hero__stat-band, .stat-band {
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* --- SERVICE CARDS "Nos Prestations" : 1 colonne, contenu visible --- */
  .services {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .service-card {
    min-height: 260px !important;
    height: auto !important;
  }
  .service-card__img { 
    height: 260px !important; 
  }
  .service-card__content { 
    padding: 20px !important;
  }
  .service-card__title { 
    font-size: 18px !important; 
  }
  .service-card__desc { 
    display: block !important;
    font-size: 13px !important;
  }
  /* Bouton "Savoir plus" toujours visible */
  .service-card__link { 
    display: inline-flex !important;
    margin-top: 12px !important;
  }
  .service-card__corner { display: none !important; }

  /* --- WHY US "Pour qui nous travaillons" : wrap correct --- */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }
  .why-card__title {
    font-size: 15px !important;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
  }

  /* --- STATS BAR : 1 colonne --- */
  .stats {
    grid-template-columns: 1fr !important;
  }
  .stat { 
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 28px 20px !important;
  }
  .stat:last-child { border-bottom: none !important; }

  /* --- SUBHERO (pages internes) : titre complet --- */
  .subhero {
    min-height: auto !important;
    padding: 100px 16px 48px !important;
  }
  .subhero__title {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1 !important;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
  }

  /* --- PAGE SCIAGE : configs 1 colonne, labels photos masqués --- */
  /* Configs types d'ouvertures */
  .configs, [class*="config-grid"], [class*="openings"] {
    grid-template-columns: 1fr !important;
    overflow-x: hidden !important;
  }
  /* Labels/overlays sur photos : transparents pour voir l'image */
  .real-card__overlay, 
  .real-card__label,
  [class*="real__label"],
  [class*="media__label"],
  [class*="photo__label"] {
    opacity: 0 !important;
  }
  /* Afficher au tap */
  .real-card:active [class*="label"] { opacity: 1 !important; }

  /* Galerie photos/vidéos : 1 colonne */
  .reals, [class*="reals-grid"], [class*="gallery"] {
    grid-template-columns: 1fr !important;
    overflow-x: hidden !important;
  }
  .real-card {
    width: 100% !important;
    min-width: unset !important;
  }

  /* --- PAGE CAROTTAGE : capacités et exemples --- */
  .cap-grid, [class*="cap-"], .capacities {
    grid-template-columns: 1fr !important;
    overflow: visible !important;
  }
  /* Exemples réalisations : 1 colonne */
  [class*="examples"], [class*="realisations"] {
    grid-template-columns: 1fr !important;
  }
  /* Qui nous appelle */
  [class*="targets"], [class*="who-grid"], [class*="callers"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* --- PAGE CURAGE : toutes les sections --- */
  /* Tableau dépose/évacuation */
  [class*="depose"], [class*="deposit"], [class*="evacuons"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  /* Process Notre méthode */
  .steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  .step { padding-top: 20px !important; }
  /* Points forts */
  [class*="strengths"], [class*="points-forts"] {
    grid-template-columns: 1fr !important;
  }
  /* Pour qui cibles */
  [class*="targets-grid"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  /* CTA curage */
  .cta-banner {
    grid-template-columns: 1fr !important;
    padding: 32px 20px !important;
    gap: 20px !important;
  }
  .cta-banner__title { 
    font-size: clamp(22px, 5vw, 32px) !important; 
    overflow-wrap: break-word;
  }
  .cta-banner__action { justify-content: flex-start !important; }
  .cta-banner .btn { width: 100% !important; justify-content: center !important; }

  /* --- PAGE À PROPOS : chantier photo et valeurs --- */
  /* Photo chantier : taille correcte */
  [class*="project-img"], [class*="chantier-img"] {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px;
  }
  /* Valeurs : 1 colonne */
  [class*="values-grid"], .values-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  /* Carte zone d'intervention */
  [class*="zone-map"], [class*="map-container"], svg[class*="map"] {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    max-width: 100% !important;
  }
  [class*="zone-section"] {
    overflow: visible !important;
  }

  /* --- PAGE CONTACT : centrage et formulaire --- */
  [class*="contact-grid"], [class*="contact__grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  [class*="contact__info"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* --- TWOCOL : toujours 1 colonne --- */
  .twocol {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* --- SPECS : 1 colonne --- */
  .specs {
    grid-template-columns: 1fr !important;
  }
  .spec { 
    border-right: none !important; 
    border-bottom: 1px solid var(--border) !important;
  }
  .spec:last-child { border-bottom: none !important; }
  .spec__value { font-size: 36px !important; }

  /* --- FOOTER : 1 colonne --- */
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer__bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  /* --- BOUTONS : pleine largeur sur hero --- */
  .hero__cta-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hero__cta-row .btn { width: 100% !important; justify-content: center !important; }

  /* --- ANTI-OVERFLOW GLOBAL --- */
  * { max-width: 100%; }
  img, video, svg { max-width: 100% !important; height: auto; }
  table { width: 100% !important; display: block; overflow-x: auto; }
}

/* Media intermédiaire 601-980px */
@media (min-width: 601px) and (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr !important; }
  .why-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .steps { grid-template-columns: repeat(3, 1fr) !important; }
  .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .twocol { grid-template-columns: 1fr !important; gap: 32px !important; }
  .specs { grid-template-columns: 1fr 1fr !important; }
  .footer__grid { grid-template-columns: 1fr 1fr !important; }
  .cta-banner { grid-template-columns: 1fr !important; }
  .subhero__title { font-size: clamp(40px, 7vw, 72px) !important; }
}
