/* Easy Ride — Douala · real site · mobile-first */

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

:root {
  --ink: #121511;
  --ink-soft: #3d453f;
  --muted: #6a726b;
  --line: rgba(18, 21, 17, 0.12);
  --sand: #f4f0e8;
  --sand-deep: #e8e2d6;
  --surface: #ffffff;
  --palm: #1a4a38;
  --palm-deep: #0f2e23;
  --accent: #c1121f;
  --sun: #c9922a;

  --font-display: "Syne", "Gill Sans", sans-serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  --topbar-h: 3.35rem;
  --tabbar-h: 3.65rem;
  --cta-sheet-h: 3.85rem;
  --chrome-bottom: calc(var(--tabbar-h) + var(--cta-sheet-h) + var(--safe-b));

  --container: 70rem;
  --pad-x: 1.05rem;
  --radius: 1rem;
  --radius-sm: 0.65rem;
  --section-y: 3.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: #07090b;
  padding-bottom: var(--chrome-bottom);
  -webkit-font-smoothing: antialiased;
}

body.is-booting {
  overflow: hidden;
}

/* ── Boot loader ─────────────────────────────────────────── */

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #14241c 0%, #07090b 70%);
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0.6s,
    transform 0.6s var(--ease-out);
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.boot__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 2rem;
  text-align: center;
}

.boot__mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.45);
  animation: boot-pulse 1.4s var(--ease-soft) infinite;
  margin-bottom: 0.55rem;
}

@keyframes boot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.45); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(193, 18, 31, 0); transform: scale(1.08); }
}

.boot__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  color: #f4f0e8;
  line-height: 1;
}

.boot__place {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
  margin-bottom: 1.1rem;
}

.boot__track {
  width: min(11rem, 52vw);
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 240, 232, 0.12);
  overflow: hidden;
}

.boot__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #e8b4b8);
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}

.boot__label {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 232, 0.5);
  min-height: 1.1em;
}

/* Film progress (top edge) */
.story-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  padding-top: var(--safe-t);
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-sizing: content-box;
}

body.is-ready .story-progress {
  opacity: 1;
}

.story-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #e07a82);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Scroll reveals */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.15rem, 0);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .boot__mark { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: calc(var(--safe-t) + 0.75rem);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(var(--pad-x), var(--safe-l)) max(var(--pad-x), var(--safe-r));
}

/* ── Brand ──────────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.18);
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand--footer .brand__name {
  font-size: 1.35rem;
  color: #fff;
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(193, 18, 31, 0.22);
}

.btn--primary:hover {
  background: #a30f1a;
  border-color: #a30f1a;
  box-shadow: 0 8px 22px rgba(193, 18, 31, 0.28);
}

.btn--primary.is-success {
  background: var(--palm);
  border-color: var(--palm);
  box-shadow: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(18, 21, 17, 0.2);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.hero-actions .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f4f0e8;
  backdrop-filter: blur(8px);
}

.btn--ghost-dark {
  background: transparent;
  border-color: rgba(18, 21, 17, 0.25);
  color: var(--ink);
}

.btn--sm {
  min-height: 2.35rem;
  padding-inline: 1rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

/* ── Mobile chrome ──────────────────────────────────────── */

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--safe-t);
  background: rgba(7, 9, 11, 0.42);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  color: #f4f0e8;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.app-topbar .brand__name {
  color: #f4f0e8;
  transition: color 0.3s ease;
}

.app-topbar.is-solid {
  background: rgba(244, 240, 232, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 9, 11, 0.06);
  color: var(--ink);
}

.app-topbar.is-solid .brand__name {
  color: var(--ink);
}

.app-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  padding-inline: max(var(--pad-x), var(--safe-l)) max(var(--pad-x), var(--safe-r));
}

.menu-btn {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(244, 240, 232, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-btn:active {
  transform: scale(0.96);
}

.app-topbar.is-solid .menu-btn {
  background: var(--surface);
  border-color: var(--line);
}

.app-topbar.is-solid .menu-btn:hover {
  background: #fff;
  border-color: rgba(18, 21, 17, 0.22);
}

.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: #f4f0e8;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.25s ease, top 0.25s var(--ease);
}

.app-topbar.is-solid .menu-btn__bars,
.app-topbar.is-solid .menu-btn__bars::before,
.app-topbar.is-solid .menu-btn__bars::after {
  background: var(--ink);
}

.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }

.menu-btn[aria-expanded="true"] .menu-btn__bars {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: calc(var(--topbar-h) + var(--safe-t)) 0 0;
  z-index: 45;
  background: rgba(15, 20, 16, 0.55);
  backdrop-filter: blur(4px);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  animation: drawerIn 0.35s var(--ease);
}

.mobile-drawer__nav a {
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer__nav .btn {
  margin-top: 0.75rem;
  border-bottom: none;
}

@keyframes drawerIn {
  from { transform: translateY(-0.5rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.desk-nav {
  display: none;
}

.app-cta-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--tabbar-h) + var(--safe-b));
  z-index: 48;
  padding: 0.45rem max(var(--pad-x), var(--safe-l)) 0.45rem max(var(--pad-x), var(--safe-r));
  background: rgba(244, 240, 232, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s var(--ease-out), opacity 0.35s ease;
}

.app-cta-sheet.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

body.cta-hidden {
  --cta-sheet-h: 0px;
}

body.is-ready .app-cta-sheet:not(.is-hidden),
body.is-ready .app-tabbar {
  animation: chrome-rise 0.55s var(--ease-out) both;
}

@keyframes chrome-rise {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* After intro, kill animation so hide/show works */
body.hero-live .app-cta-sheet,
body.hero-live .app-tabbar {
  animation: none;
}

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding: 0.25rem 0.2rem calc(0.25rem + var(--safe-b));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tab {
  display: grid;
  place-items: center;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 0.65rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s var(--ease);
}

.tab span {
  padding: 0.35rem 0.2rem;
  text-align: center;
}

.tab:active {
  transform: scale(0.96);
}

.tab.is-active {
  color: var(--palm);
  background: rgba(26, 74, 56, 0.1);
}

/* ── Story rail (zoom continues across the page) ─────────── */

.story {
  position: relative;
  z-index: 1;
}

/* ── Hero (act 1): scènes 1 → 3, sticky overlay ──────────── */

.act--hero {
  --hero-scrub-progress: 0;
  position: relative;
  /* Shorter on mobile so the rest of the page feels reachable */
  height: 175vh;
  margin: 0;
}

@media (min-width: 480px) {
  .act--hero { height: 200vh; }
}

@media (min-width: 768px) {
  .act--hero { height: 235vh; }
}

.act--hero .hero-overlay {
  position: sticky;
  top: calc(var(--topbar-h) + var(--safe-t));
  height: calc(100svh - var(--topbar-h) - var(--safe-t) - var(--chrome-bottom));
  height: calc(100dvh - var(--topbar-h) - var(--safe-t) - var(--chrome-bottom));
  z-index: 2;
  pointer-events: none;
}

.act--hero .hero-content,
.act--hero .hero-actions a,
.act--hero .hero-copy {
  pointer-events: auto;
}

/* ── Cinematic recursive zoom (fixed behind content) ─────── */

.zoom-stage {
  --zoom-veil: 0;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #07090b;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

body.is-ready .zoom-stage {
  opacity: 1;
}

.zoom-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, transparent 35%, rgba(7, 9, 11, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 9, 11, 0.35) 0%, transparent 18%, transparent 62%, rgba(7, 9, 11, 0.55) 100%);
  opacity: 0.9;
}

.zoom-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(7, 9, 11, var(--zoom-veil, 0));
  pointer-events: none;
  transition: background 0.25s ease;
}

.zoom-stage.is-loading::after {
  background: #07090b;
}

.zoom-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity, filter;
  transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
}

.zoom-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 767px) {
  .zoom-layer img {
    object-position: center 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zoom-layer {
    transition: none !important;
    filter: none !important;
  }
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.35rem;
}

.hero-content {
  padding-inline: max(var(--pad-x), var(--safe-l)) max(var(--pad-x), var(--safe-r));
}

.hero-copy {
  position: relative;
  isolation: isolate;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.85rem 1.15rem;
  will-change: transform, opacity;
  transition: opacity 0.2s ease;
}

[data-hero-reveal] > * {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

[data-hero-reveal].is-in > *:nth-child(1) { transition-delay: 0.05s; }
[data-hero-reveal].is-in > *:nth-child(2) { transition-delay: 0.14s; }
[data-hero-reveal].is-in > *:nth-child(3) { transition-delay: 0.24s; }
[data-hero-reveal].is-in > *:nth-child(4) { transition-delay: 0.34s; }
[data-hero-reveal].is-in > *:nth-child(5) { transition-delay: 0.44s; }

[data-hero-reveal].is-in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title__brand {
  display: inline-block;
  background: linear-gradient(120deg, #f4f0e8 0%, #fff 45%, #e8b4b8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-live .hero-title__brand {
  animation: brand-shine 4.5s var(--ease-soft) 0.6s 1;
}

@keyframes brand-shine {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* Local scrim for night footage — keep text readable without killing the image */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -0.4rem -0.55rem;
  z-index: -1;
  border-radius: 1.15rem;
  background: radial-gradient(
    ellipse 120% 130% at 30% 70%,
    rgba(8, 10, 12, 0.72) 0%,
    rgba(8, 10, 12, 0.42) 48%,
    rgba(8, 10, 12, 0.08) 78%,
    transparent 100%
  );
  pointer-events: none;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palm);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 10.5vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #f4f0e8;
}

.hero-lede {
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  color: rgba(244, 240, 232, 0.88);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.hero-actions .btn--primary {
  display: none;
}

.hero-trust {
  font-size: 0.82rem;
  color: rgba(244, 240, 232, 0.62);
  font-weight: 500;
}

.hero-copy .eyebrow {
  color: #e8b4b8;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
  padding: 0.65rem 0 0.55rem;
  opacity: calc(1 - (var(--hero-scrub-progress) * 2.2));
  transition: opacity 0.25s ease;
}

.hero-scroll-hint__chev {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid rgba(244, 240, 232, 0.55);
  border-bottom: 1.5px solid rgba(244, 240, 232, 0.55);
  transform: rotate(45deg);
  animation: hint-bob 1.6s var(--ease-soft) infinite;
}

@keyframes hint-bob {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
  50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .act--hero {
    height: calc(100svh - var(--topbar-h));
    height: calc(100dvh - var(--topbar-h));
  }
  .hero-scroll-hint { opacity: 1; }
  .hero-scroll-hint__chev { animation: none; }
  [data-hero-reveal] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body.hero-live .hero-title__brand { animation: none; color: #f4f0e8; background: none; }
}

/* ── Sections over the film (glass, film continues) ─────── */

.section {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}

.act--glass {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  box-shadow:
    0 -1px 0 rgba(15, 20, 16, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: 1.15rem 1.15rem 0 0;
}

/* Thin peek of the film between acts */
.act--hero + .act--glass,
.act--glass + .act--glass {
  margin-top: 0.55rem;
}

.section--services.act--glass,
.section--testimonials.act--glass {
  background: color-mix(in srgb, var(--sand) 95%, transparent);
}

.act--finale {
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  border-radius: 1.15rem 1.15rem 0 0;
  margin-bottom: 0;
}

@supports not (background: color-mix(in srgb, white 50%, transparent)) {
  .act--glass,
  .act--finale {
    background: rgba(255, 255, 255, 0.96);
  }
  .section--services.act--glass,
  .section--testimonials.act--glass {
    background: rgba(244, 240, 232, 0.97);
  }
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2,
.cta-copy h2,
.careers-banner h3,
.lead-form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 5.5vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0.45rem 0 0.75rem;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-head--center .eyebrow,
.section-head--center .section-intro {
  margin-inline: auto;
}

.section-head--center .section-intro {
  max-width: 32rem;
}

/* Mission */
.mission-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mission-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.mission-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand-deep);
}

.mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .mission-visual:hover img {
    transform: scale(1.04);
  }
}

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.value {
  padding: 1.1rem 1.05rem;
  background: color-mix(in srgb, var(--sand) 92%, #fff);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .value:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 74, 56, 0.22);
    box-shadow: 0 10px 28px rgba(15, 20, 16, 0.06);
  }
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.value p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Services */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 74, 56, 0.2);
    box-shadow: 0 16px 36px rgba(15, 20, 16, 0.08);
  }

  .service-card:hover .service-card__media img {
    transform: scale(1.05);
  }
}

.service-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palm);
  background: rgba(26, 74, 56, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.service-card__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand-deep);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: none;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.service-card > p {
  color: var(--ink-soft);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.compare__row:not(.compare__row--head) > span:not(:first-child)::before {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.compare__row:not(.compare__row--head) > span:nth-child(2)::before {
  content: "VTC";
}

.compare__row:not(.compare__row--head) > span:nth-child(3)::before {
  content: "Électrique";
}

@media (min-width: 640px) {
  .compare__row:not(.compare__row--head) > span:not(:first-child)::before {
    content: none;
    display: none;
  }
}

.compare__row:first-child {
  border-top: none;
}

.compare__row--head {
  background: var(--palm);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare__row > span:first-child {
  font-weight: 600;
  color: var(--ink);
}

.compare__row--head > span:first-child {
  color: #fff;
}

.compare__row > span:not(:first-child) {
  color: var(--ink-soft);
}

.compare__row--head > span:not(:first-child) {
  color: rgba(255, 255, 255, 0.85);
}

/* Team */
.lead-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.25rem;
  background: var(--sand);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.lead-card__photo,
.member-card__photo,
.quote-featured__avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--palm) 0%, var(--palm-deep) 100%);
  color: #fff;
}

.lead-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
}

.avatar-initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.lead-card h3,
.member-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.role {
  color: var(--palm);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0.2rem 0 0.55rem;
}

.lead-card__body > p:not(.role) {
  color: var(--ink-soft);
}

.lead-card__links {
  margin-top: 0.75rem;
}

.lead-card__links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.member-card {
  padding: 1rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.member-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.member-card__photo .avatar-initials {
  font-size: 1.35rem;
}

.member-card p:not(.role) {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.careers-banner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.2rem;
  background: var(--palm);
  color: #fff;
  border-radius: var(--radius);
}

.careers-banner h3 {
  color: #fff;
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.careers-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.careers-banner .btn {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.careers-banner .btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Testimonials */
.quote-featured {
  padding: 1.5rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.quote-featured > p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.quote-featured footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.quote-featured__avatar {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.quote-featured__avatar .avatar-initials {
  font-size: 0.85rem;
}

.quote-featured cite {
  font-style: normal;
  font-weight: 700;
}

.quotes-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * var(--pad-x));
  padding-inline: var(--pad-x);
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.quotes-rail::-webkit-scrollbar { display: none; }

.quote-card {
  flex: 0 0 min(78%, 18.5rem);
  scroll-snap-align: start;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .quote-card:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 74, 56, 0.18);
    box-shadow: 0 12px 28px rgba(15, 20, 16, 0.06);
  }
}

.stars {
  color: var(--sun);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.quote-card > p:not(.stars) {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.quote-card footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* CTA / form */
.cta-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1rem 0;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lead-form label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--palm);
  box-shadow: 0 0 0 3px rgba(26, 74, 56, 0.15);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--palm-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 calc(2rem + var(--chrome-bottom));
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.65rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.footer-cols h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.footer-cols a,
.footer-cols span {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

/* ============================================================
   TABLET ≥640
   ============================================================ */

@media (min-width: 640px) {
  :root {
    --pad-x: 1.75rem;
    --section-y: 5rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 10.5rem;
  }

  .mission-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .compare__row {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: center;
    gap: 1rem;
  }

  .lead-card {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .lead-card__photo {
    aspect-ratio: 1;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .cta-actions {
    flex-direction: row;
  }

  .cta-actions .btn {
    width: auto;
    min-width: 9rem;
  }

  .quote-card {
    flex-basis: 46%;
  }

  .careers-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   DESKTOP ≥768 — first-class chrome
   ============================================================ */

@media (min-width: 768px) {
  :root {
    --pad-x: 2rem;
    --section-y: 6.5rem;
    --chrome-bottom: 0px;
  }

  body {
    padding-bottom: 0;
  }

  .app-topbar,
  .app-cta-sheet,
  .app-tabbar,
  .mobile-drawer {
    display: none !important;
  }

  .desk-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 240, 232, 0.78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .desk-nav.is-solid {
    background: rgba(244, 240, 232, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(7, 9, 11, 0.06);
  }

  .desk-nav__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 4.15rem;
  }

  .desk-nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
    flex: 1;
  }

.desk-nav__links a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink-soft);
    position: relative;
    transition: color 0.2s ease;
  }

  .desk-nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s var(--ease);
  }

  .desk-nav__links a:hover {
    color: var(--ink);
  }

  .desk-nav__links a:hover::after {
    transform: scaleX(1);
  }

  .act--hero .hero-overlay {
    top: 0;
    height: 100vh;
    height: 100dvh;
  }

  .hero-overlay {
    justify-content: center;
    padding-bottom: 2.5rem;
  }

  .hero-content {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
  }

  .hero-copy {
    padding: 1.75rem 1.5rem;
  }

  .hero-actions .btn--primary {
    display: inline-flex;
  }

  .values {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quotes-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .quote-card {
    flex: none;
    width: auto;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .mission-grid {
    gap: 2.5rem;
  }

  .lead-card {
    grid-template-columns: 14rem 1fr;
    padding: 1.75rem;
  }
}
