/* =========================================================
   Siramine Business Services — Stylesheet (brand v1.0, 2026)
   Brand: SBS Bloc verrouillé · Émeraude & Or · Sora / Manrope
   ========================================================= */

:root {
  /* brand colours */
  --emeraude: #0E3B2E;
  --emeraude-clair: #1B5A45;
  --emeraude-deep: #0A2C22;
  --brume: #DCE8E2;
  --or: #C39A45;
  --or-fonce: #7E5F22;
  --onyx: #121417;
  --ivoire: #F6F3EA;
  --ardoise: #5A5F57;
  --white: #FFFFFF;
  --line: #E2DCCB;
  --line-dark: rgba(246, 243, 234, 0.14);

  /* type */
  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* shape */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-card: 28px;       /* carousel cards: the "border radius" look */
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(14, 59, 46, .12), 0 6px 18px rgba(14, 59, 46, .10);
  --shadow-lift: 0 2px 4px rgba(14, 59, 46, .10), 0 18px 40px rgba(14, 59, 46, .16);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--onyx);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--onyx); text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 600; }
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--emeraude-clair); outline-offset: 2px; border-radius: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #D9B56A; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--emeraude); color: var(--ivoire); padding: 10px 16px; z-index: 300; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

.label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--or-fonce);
}
.label--gold { color: var(--or); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/20px var(--font-sans);
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--emeraude); color: var(--ivoire); }
.btn-primary:hover { background: var(--emeraude-clair); }
.btn-gold { background: var(--or); color: var(--onyx); }
.btn-gold:hover { background: #D4AE5E; box-shadow: 0 10px 24px rgba(195, 154, 69, .28); }
.btn-ghost { background: transparent; color: var(--ivoire); border-color: rgba(246, 243, 234, .45); }
.btn-ghost:hover { border-color: var(--ivoire); background: rgba(246, 243, 234, .08); }
.btn-outline-light { background: transparent; color: var(--ivoire); border-color: rgba(246, 243, 234, .45); }
.btn-outline-light:hover { border-color: var(--or); color: var(--or); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--or-fonce); margin-top: auto; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .45s var(--ease-out);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .35s var(--ease-out); }
.brand { position: relative; display: block; width: 196px; height: 45px; flex: none; }
.brand-lockup { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s var(--ease-out); }
.brand-lockup--light { opacity: 0; }
.brand-lockup--dark { opacity: 1; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { position: relative; font-weight: 600; font-size: 15px; color: var(--ivoire); padding: 6px 0; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { font: 700 13px/1 var(--font-sans); letter-spacing: .06em; background: transparent; color: var(--ivoire); border: 1.5px solid rgba(246, 243, 234, .4); border-radius: var(--radius-sm); padding: 9px 11px; cursor: pointer; transition: border-color .25s, color .25s; }
.lang-toggle:hover { border-color: var(--or); color: var(--or); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ivoire); transition: transform .3s var(--ease-out), opacity .2s, background-color .3s; }

/* scrolled state: ivory bar */
.site-header.is-scrolled { background: rgba(246, 243, 234, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .brand-lockup--light { opacity: 1; }
.site-header.is-scrolled .brand-lockup--dark { opacity: 0; }
.site-header.is-scrolled .main-nav a { color: var(--onyx); }
.site-header.is-scrolled .lang-toggle { color: var(--onyx); border-color: var(--line); }
.site-header.is-scrolled .nav-toggle span { background: var(--onyx); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:not(.is-scrolled) .header-cta { background: var(--or); color: var(--onyx); }
.site-header:not(.is-scrolled) .header-cta:hover { background: #D4AE5E; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, var(--emeraude-clair) 0%, var(--emeraude) 45%, var(--emeraude-deep) 100%);
  color: var(--ivoire);
  padding: calc(var(--header-h) + clamp(72px, 12vh, 140px)) 0 clamp(88px, 12vh, 140px);
  min-height: min(92svh, 920px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-mono { position: absolute; right: -8%; bottom: -18%; width: min(58vw, 780px); opacity: .07; will-change: transform; }
.hero-inner { position: relative; }
.hero-title { color: var(--ivoire); font-weight: 800; font-size: clamp(46px, 8.4vw, 104px); line-height: .98; letter-spacing: -0.03em; margin: 18px 0 24px; max-width: 12ch; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 60ch; color: rgba(246, 243, 234, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 8vh, 88px); border-top: 1px solid var(--line-dark); max-width: 880px; }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); color: var(--or); line-height: 1; font-variant-numeric: tabular-nums; }
.stat dd { margin-top: 8px; font-size: 14px; color: rgba(246, 243, 234, .75); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(246, 243, 234, .45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--or); border-radius: 2px; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--onyx); color: rgba(246, 243, 234, .8); overflow: hidden; padding: 16px 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { white-space: nowrap; }
.marquee .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--or); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section--dark { background: var(--emeraude); color: var(--ivoire); }
.section--dark h2, .section--dark h3 { color: var(--ivoire); }
.section--mist { background: var(--brume); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 14px; }
.section-head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--split > div:first-child { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.section-lead { font-size: 18px; color: var(--ardoise); max-width: 62ch; }
.section--dark .section-lead { color: rgba(246, 243, 234, .78); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 24px; min-width: 0;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card p { color: var(--ardoise); font-size: 15px; line-height: 1.6; }
.service-card h3 { font-size: 18px; }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: var(--radius-md); background: var(--brume); stroke: var(--emeraude); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: background-color .3s, stroke .3s; }
.service-card:hover .icon { background: var(--emeraude); stroke: var(--or); }
.service-card--feature { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: 36px 32px; background: var(--emeraude); border-color: var(--emeraude); color: var(--ivoire); }
.service-card--feature h3 { color: var(--ivoire); font-size: 24px; max-width: 18ch; }
.service-card--feature p { color: rgba(246, 243, 234, .8); max-width: 46ch; }
.service-card--feature .icon { background: rgba(246, 243, 234, .1); stroke: var(--or); }
.service-card--feature .link-arrow { color: var(--or); margin-top: 8px; }
.service-card--feature .icon { width: 56px; height: 56px; padding: 12px; margin-bottom: auto; }
.service-card--cta { background: var(--or); border-color: var(--or); justify-content: space-between; min-height: 180px; }
.service-card--cta .label { color: var(--onyx); opacity: .75; }
.service-card--cta h3 { font-size: 22px; }
.service-card--cta .link-arrow { color: var(--onyx); }
.service-card--cta:hover { background: #D4AE5E; }

/* ---------- Fleet carousel (rounded cards) ---------- */
#fleet { overflow: hidden; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(246, 243, 234, .35); color: var(--ivoire);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease-out), border-color .3s, color .3s, transform .3s var(--ease-out);
}
.carousel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover:not(:disabled) { background: var(--or); border-color: var(--or); color: var(--onyx); transform: scale(1.06); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: clamp(16px, 2.4vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.is-dragging * { pointer-events: none; }

.car-card {
  flex: 0 0 clamp(290px, 36vw, 440px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--emeraude-deep);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: scale(.94); opacity: .55;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out), border-radius .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s;
}
.car-card.is-active { transform: scale(1); opacity: 1; border-color: rgba(195, 154, 69, .5); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.car-card:not(.is-active):hover { opacity: .8; }

.car-media {
  position: relative; aspect-ratio: 4 / 3; margin: 10px 10px 0;
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  background: var(--emeraude-clair) url("../assets/brand/sbs-monogram-reverse.svg") center / 46% no-repeat;
}
.car-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); user-select: none; }
.car-card.is-active .car-media img { transform: scale(1); }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-media img.is-missing { opacity: 0; }
.car-badge { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(246, 243, 234, .92); color: #1F6E45; display: inline-flex; align-items: center; gap: 6px; }
.car-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.car-badge--soon { color: var(--or-fonce); }

.car-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.car-name { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--ivoire); }
.car-line { font-size: 14px; color: rgba(246, 243, 234, .7); }
.car-desc { font-size: 15px; color: rgba(246, 243, 234, .86); }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; margin: 6px 0; }
.car-specs div { background: var(--emeraude-deep); padding: 10px 12px; min-width: 0; }
.car-specs dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 243, 234, .55); }
.car-specs dd { font-size: 14px; font-weight: 600; color: var(--ivoire); }
.car-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.car-chips li { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(195, 154, 69, .45); color: #E2C27E; }
.car-body .btn { margin-top: auto; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--radius-pill); background: rgba(246, 243, 234, .3); cursor: pointer; transition: width .5s var(--ease-out), background-color .3s; }
.carousel-dot[aria-selected="true"] { width: 34px; background: var(--or); }
.carousel-progress { position: absolute; }

.fleet-note { margin-top: 32px; text-align: center; font-size: 15px; color: rgba(246, 243, 234, .75); }
.fleet-note a { color: var(--or); font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.about-text p { color: var(--ardoise); font-size: 17px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: v; }
.value { counter-increment: v; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 24px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value::before { content: counter(v, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--or-fonce); margin-bottom: 12px; }
.value h3 { font-size: 19px; margin-bottom: 6px; }
.value p { color: var(--ardoise); font-size: 15px; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.product-card { background: var(--white); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); min-width: 0; }
.product-card--featured { background: var(--onyx); color: rgba(246, 243, 234, .82); border-color: var(--onyx); }
.product-card--featured h3 { color: var(--ivoire); font-size: 30px; }
.product-card--featured .btn { align-self: flex-start; margin-top: 8px; }
.product-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.product-head h3 { font-size: 26px; }
.product-tagline { font-weight: 600; font-size: 17px; }
.product-card--featured .product-tagline { color: #E2C27E; }
.product-features { display: grid; gap: 8px; }
.product-features li { padding-left: 22px; position: relative; font-size: 15px; }
.product-features li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--or); }
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-badges span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-sm); background: rgba(246, 243, 234, .08); color: var(--ivoire); }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: var(--radius-pill); }
.badge--live { background: rgba(124, 196, 160, .16); color: #7CC4A0; }
.badge--soon { background: var(--brume); color: var(--emeraude); }

/* ---------- Registration ---------- */
.reg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--line); gap: 1px; }
.reg-item { background: var(--white); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.reg-item dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); }
.reg-item dd { font-family: var(--font-display); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-list { display: grid; gap: 18px; margin: 8px 0 10px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; font-size: 17px; }
.contact-list a:hover { color: var(--or); }
.contact-form { background: var(--ivoire); color: var(--onyx); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 40px); display: grid; gap: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.contact-form label { font-size: 13px; font-weight: 700; margin-top: 8px; }
.contact-form input, .contact-form textarea { font: 400 16px/1.5 var(--font-sans); padding: 12px 14px; border: 1.5px solid #8A8676; border-radius: var(--radius-sm); background: var(--white); color: var(--onyx); resize: vertical; transition: border-color .25s, box-shadow .25s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--emeraude-clair); box-shadow: 0 0 0 3px rgba(27, 90, 69, .18); }
.contact-form .btn { margin-top: 16px; justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--onyx); color: rgba(246, 243, 234, .7); padding: 64px 0 32px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand img { width: 196px; height: auto; }
.footer-signature { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--or); }
.footer-blurb { max-width: 70ch; font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(246, 243, 234, .12); font-size: 13px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.js .reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.js .reveal[data-reveal-delay="3"] { transition-delay: .24s; }
.js .reveal[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--feature { grid-row: auto; }
  .main-nav { gap: 22px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) 32px;
    flex-direction: column; gap: 4px; background: var(--emeraude);
    transform: translateY(-105%); transition: transform .55s var(--ease-out); z-index: -1;
  }
  .main-nav a, .site-header.is-scrolled .main-nav a { color: var(--ivoire); font-family: var(--font-display); font-size: 26px; font-weight: 700; padding: 10px 0; }
  .main-nav.open { transform: none; }
  .site-header.nav-open .nav-toggle span { background: var(--ivoire); }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.nav-open .lang-toggle { color: var(--ivoire); border-color: rgba(246, 243, 234, .4); }
  .site-header.nav-open .brand-lockup--light { opacity: 0; }
  .site-header.nav-open .brand-lockup--dark { opacity: 1; }
  .about-grid, .contact-grid, .products-grid { grid-template-columns: 1fr; }
  .about-text { position: static; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .brand { width: 160px; height: 37px; }
  .services-grid, .values, .reg-grid { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: auto; grid-row: auto; }
  .car-card { flex-basis: 84vw; }
  .carousel-nav { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}
