/* ==========================================================================
   Sense of Tech — modern design system
   Self-contained, framework-free. Dark theme + signature gold accent.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --bg:           #0b0b0f;
  --bg-soft:      #111117;
  --surface:      #16161d;
  --surface-2:    #1c1c26;
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:         #f4f4f6;
  --text-muted:   #a3a3af;
  --text-dim:     #6f6f7d;

  --gold:         #f9ce06;
  --gold-soft:    #edb713;
  --gold-glow:    rgba(249, 206, 6, 0.16);

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;

  --shadow:       0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-gold:  0 20px 60px -18px rgba(249, 206, 6, 0.35);

  --maxw:         1180px;
  --gutter:       clamp(20px, 5vw, 48px);

  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
/* Safe default size for inline icons; specific contexts override below. */
svg { width: 1.15em; height: 1.15em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ---- Language toggle visibility ---------------------------------------- */
html[data-lang="fr"] .i18n-en { display: none !important; }
html[data-lang="en"] .i18n-fr { display: none !important; }

/* ---- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 132px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
.section-head p {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 1.08rem;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold);
  color: #17130a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px -16px rgba(249, 206, 6, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.nav__logo img { height: 30px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a.active { color: var(--gold); }

.nav__right { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
html[data-lang="fr"] .lang-switch [data-set-lang="fr"],
html[data-lang="en"] .lang-switch [data-set-lang="en"] {
  background: var(--gold);
  color: #17130a;
}

.nav__cta { display: inline-flex; }

/* Mobile menu button */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: none;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(249, 206, 6, 0.14), transparent 60%),
    radial-gradient(900px 600px at 8% 105%, rgba(249, 206, 6, 0.06), transparent 55%),
    var(--bg);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
}
.hero__inner { max-width: 860px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow); }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 640px;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__trust {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero__trust li svg { width: 16px; height: 16px; color: var(--gold); }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__body p { color: var(--text-muted); margin-top: 18px; font-size: 1.08rem; }
.about__body p:first-of-type { margin-top: 24px; }
.about__points { margin-top: 34px; display: grid; gap: 16px; }
.about__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
}
.about__points li svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

.about__card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(249,206,6,0.10), transparent 45%),
    var(--surface);
  padding: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about__card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -80px; top: -80px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}
.about__logo { width: 150px; opacity: 0.95; margin-bottom: 28px; }
.about__highlights { display: grid; gap: 14px; position: relative; }
.about__highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.about__highlights .hl-icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(249,206,6,0.18), rgba(249,206,6,0.04));
  border: 1px solid var(--border);
  color: var(--gold);
}
.about__highlights .hl-icon svg { width: 20px; height: 20px; }

/* ==========================================================================
   Expertise / services
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--gold), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(249,206,6,0.18), rgba(249,206,6,0.04));
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.99rem; }
a.card { display: block; color: inherit; }
.card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  color: var(--gold);
}
.card__more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
a.card:hover .card__more svg { transform: translateX(4px); }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step__icon { width: 40px; height: 40px; color: var(--gold); margin: 16px 0 18px; }
.step__icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.96rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px; right: -12px;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ==========================================================================
   Team
   ========================================================================== */
.team { background: var(--bg-soft); }
.members { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.member {
  width: min(420px, 100%);
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.member__avatar {
  flex: none;
  width: 108px; height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  padding: 3px;
  background: var(--bg);
}
.member h3 { font-size: 1.35rem; }
.member__role { color: var(--gold); font-weight: 500; font-size: 0.92rem; margin: 4px 0 12px; }
.member p { color: var(--text-muted); font-size: 0.95rem; }
.member__socials { display: flex; gap: 10px; margin-top: 16px; }
.member__socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.member__socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.member__socials svg { width: 17px; height: 17px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding-block: clamp(60px, 9vw, 110px); }
.cta-band__inner {
  position: relative;
  text-align: center;
  padding: clamp(44px, 7vw, 76px) var(--gutter);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 50% 0%, var(--gold-glow), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); max-width: 720px; margin-inline: auto; }
.cta-band p { color: var(--text-muted); margin: 18px auto 34px; max-width: 540px; font-size: 1.08rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-dim); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-2);
}
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }

.contact__card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact__item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact__item:last-child { border-bottom: none; padding-bottom: 0; }
.contact__item:first-child { padding-top: 0; }
.contact__item .label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact__item a:hover { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: 56px 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
}
.footer__brand img { height: 30px; margin-bottom: 16px; }
.footer__brand p { color: var(--text-muted); max-width: 320px; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col li, .footer__col a { color: var(--text-muted); font-size: 0.95rem; }
.footer__col a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ==========================================================================
   Interior pages: banner + breadcrumb
   ========================================================================== */
.page-banner {
  position: relative;
  padding: calc(78px + clamp(48px, 8vw, 96px)) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.page-banner__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 460px at 85% -20%, rgba(249,206,6,0.13), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 900px; }
.page-banner__lead { color: var(--text-muted); margin-top: 18px; font-size: 1.12rem; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--text-dim); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text); }

/* ==========================================================================
   Prose / rich text blocks
   ========================================================================== */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 20px; }
.prose p { color: var(--text-muted); font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 44px; }
.prose h3 { font-size: 1.3rem; margin-top: 32px; }
.prose strong { color: var(--text); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Two-column split (text + aside) */
.split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Feature / benefit list with check marks */
.ticklist { display: grid; gap: 14px; }
.ticklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--text); }
.ticklist li svg { flex: none; width: 21px; height: 21px; color: var(--gold); margin-top: 3px; }
.ticklist li .t { display: block; font-weight: 600; }
.ticklist li .d { display: block; color: var(--text-muted); font-size: 0.96rem; margin-top: 2px; }

/* Aside info card (sticky on desktop) */
.aside-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(249,206,6,0.08), transparent 45%), var(--surface);
}
.aside-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.aside-card ul { display: grid; gap: 12px; }
.aside-card li { color: var(--text-muted); font-size: 0.95rem; display: flex; gap: 10px; }
.aside-card li svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }

/* Numbered process steps (vertical) */
.process { display: grid; gap: 4px; counter-reset: step; }
.process li {
  position: relative;
  padding: 22px 0 22px 64px;
  border-top: 1px solid var(--border);
}
.process li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 20px;
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: 1.1rem;
}
.process li h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process li p { color: var(--text-muted); font-size: 0.98rem; }

/* ==========================================================================
   Teasers on the home page (link out to detail pages)
   ========================================================================== */
.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.teaser__media {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(249,206,6,0.12), transparent 50%), var(--bg-soft);
  min-height: 240px;
  display: grid; place-items: center;
  color: var(--gold);
}
.teaser__media svg { width: 84px; height: 84px; opacity: 0.9; }
.teaser h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.teaser p { color: var(--text-muted); margin: 16px 0 24px; font-size: 1.05rem; }

/* ==========================================================================
   References / trusted-by
   ========================================================================== */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center; justify-content: center;
}
.logo-strip img { height: 40px; width: auto; opacity: 0.7; filter: grayscale(1) brightness(1.6); transition: opacity 0.2s var(--ease), filter 0.2s var(--ease); }
.logo-strip img:hover { opacity: 1; filter: none; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.logo-grid .logo-cell {
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.logo-grid .logo-cell img { max-height: 56px; width: auto; opacity: 0.85; }

/* Client wall: shows logos when available, otherwise company names */
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-cell {
  aspect-ratio: 5 / 2;
  display: grid; place-items: center;
  text-align: center;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.client-cell:hover { transform: translateY(-3px); border-color: var(--gold); background: var(--surface-2); }
.client-cell a { display: grid; place-items: center; width: 100%; height: 100%; color: inherit; }
.client-cell img { max-height: 50px; width: auto; opacity: 0.85; filter: grayscale(1) brightness(1.6); transition: opacity 0.2s var(--ease), filter 0.2s var(--ease); }
.client-cell:hover img { opacity: 1; filter: none; }
.client-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.client-cell:hover .client-name { color: var(--gold); }
.placeholder-note {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text-muted);
  background: var(--surface);
  text-align: center;
}
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.testimonial p { color: var(--text); font-size: 1.05rem; }
.testimonial .who { margin-top: 18px; color: var(--text-muted); font-size: 0.92rem; }
.testimonial .who strong { color: var(--text); }

/* ==========================================================================
   Formations & conferences
   ========================================================================== */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.topic .k { color: var(--gold); width: 40px; height: 40px; margin-bottom: 14px; }
.topic .k svg { width: 100%; height: 100%; }
.topic h3 { font-size: 1.12rem; margin-bottom: 8px; }
.topic p { color: var(--text-muted); font-size: 0.95rem; }
.format-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.pill svg { width: 16px; height: 16px; color: var(--gold); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  /* The full CTA label needs room; keep it for wide screens only. */
  .nav__cta { display: none; }
  .nav { gap: 16px; }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .site-header.menu-open { background: rgba(11,11,15,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
  .nav__links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--gutter) 28px;
    background: rgba(11,11,15,0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .site-header.menu-open .nav__links { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .site-header.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links a { padding: 12px 15px; font-size: 1rem; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .member { flex-direction: column; text-align: center; }
  .member__socials { justify-content: center; }
}

/* New multi-page components — responsive */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .teaser { grid-template-columns: 1fr; }
  .teaser__media { min-height: 180px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .client-wall { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topic-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .process li { padding-left: 54px; }
}
