:root {
  --v: #4B1972;
  --t: #19BFCB;
  --b: #2458D3;
  --ink: #111114;
  --muted: #6B6B72;
  --faint: #E8E8EC;
  --line: #EBEBEE;
  --max: 1340px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

.content-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── GRADIENT LINES ── */
:root {
  --grad: linear-gradient(90deg, var(--v), var(--b), var(--t));
}

/* ── HEADER ── */
header {
  position: relative;
  height: 92vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

/* thin gradient accent pinned to the very top of the page */
header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  z-index: 3;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: url('https://talven.be/img/bg4.png') center center / cover no-repeat;
  z-index: 0;
}

/* scrim: photo visible en haut, fond blanc propre en bas */
.header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0)   0%,
    rgba(255,255,255,0)  40%,
    rgba(255,255,255,.65) 70%,
    rgba(255,255,255,1)  100%
  );
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.logo img { height: 34px; display: block; }

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .18s, color .18s;
  letter-spacing: .01em;
}

nav a:hover { background: rgba(0,0,0,.06); }

nav a.cta {
  background: var(--v);
  color: #fff;
  font-weight: 600;
}

nav a.cta:hover { background: #3a1159; }

/* hero text at bottom */
.hero-text {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
  width: 100%;
  padding: 0 56px 52px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--v);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--t);
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 2vw + 2.4rem, 6.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  max-width: 18ch;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  paint-order: stroke fill;
}

h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--v);
}

h1 .teal { color: var(--t); }

h1 .viol { color: var(--v); }

.hero-sub {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 46ch;
  line-height: 1.65;
  font-style: italic;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all .22s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--v);
  color: #fff;
  padding: 14px 28px;
}

.btn-primary:hover {
  background: #3a1159;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  opacity: .55;
}

.btn-ghost:hover { opacity: 1; }

/* ── THIN SEPARATOR ── */
.sep {
  height: 3px;
  background: var(--grad);
}

/* ── SERVICES ── */
.services {
  padding: 64px 56px 80px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--t);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--t), transparent);
  opacity: .4;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 1rem + 2.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--ink);
}

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.services-intro p {
  max-width: 36ch;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* Cards — 3 col grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.card {
  background: #fff;
  padding: 36px 32px 32px;
  transition: background .2s;
  position: relative;
}

.card:hover { background: #FAFAFA; }

.card-accent {
  width: 36px; height: 3px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--v);
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s, gap .2s;
}

.card:hover .card-more { opacity: 1; }
.card:hover .card-more:hover { gap: 10px; }

/* ── PITCH BAND ── */
.pitch {
  margin: 0 56px;
  border-radius: 20px;
  background: var(--v);
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pitch::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(25,191,203,.12);
  pointer-events: none;
}

.pitch::after {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.pitch h2 {
  color: #fff;
  font-size: clamp(1.6rem, .8rem + 2.5vw, 2.8rem);
}

.pitch p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  margin-top: 12px;
  max-width: 44ch;
  line-height: 1.65;
}

.btn-white {
  background: #fff;
  color: var(--v);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  background: var(--t);
  transform: translateY(-2px);
}

/* ── WHY ── */
.why {
  padding: 96px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-left h2 { margin-bottom: 20px; }

.why-left p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 44ch;
}

.why-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
}

.why-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.8);
  transition: transform .5s ease, filter .5s;
}

.why-img:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.why-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
}

.why-item:first-child { border-top: 1px solid var(--line); }

.why-n {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  color: var(--t);
  letter-spacing: .05em;
  padding-top: 3px;
}

.why-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.why-item p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── REFERENCES TEASER ── */
.refs-teaser {
  padding: 0 56px 96px;
}

.refs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
}

.refs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ref-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.ref-card:hover {
  border-color: rgba(75,25,114,.2);
  box-shadow: 0 8px 32px rgba(75,25,114,.07);
}

.ref-img {
  height: 200px;
  overflow: hidden;
  background: var(--faint);
}

.ref-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.ref-card:hover .ref-img img { transform: scale(1.04); }

.ref-body {
  padding: 24px 26px;
}

.ref-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t);
  margin-bottom: 8px;
}

.ref-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.ref-body p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact {
  padding: 72px 56px 88px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-left h2 { margin-bottom: 14px; }

.contact-left p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: 28px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, .5rem + 1.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--v);
  text-decoration: none;
  border-bottom: 2px solid rgba(75,25,114,.18);
  padding-bottom: 5px;
  transition: border-color .2s, gap .2s;
}

.contact-email-link:hover {
  border-color: var(--v);
  gap: 16px;
}

.contact-right {
  padding-top: 0;
}

.contact-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-row {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t);
  margin-bottom: 4px;
}

.detail-val {
  font-size: .92rem;
  color: var(--ink);
  font-weight: 500;
}

.detail-val a {
  color: var(--v);
  text-decoration: none;
}

.detail-val a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.footer-logo img { height: 22px; opacity: .5; transition: opacity .2s; }
.footer-logo:hover img { opacity: 1; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--v); }

.footer-right {
  font-size: 11.5px;
  color: #BBBBBB;
}

/* ── SERVICE CATEGORIES ── */
.svc-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}

.svc-col {
  background: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.svc-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.svc-col:nth-child(1) .svc-icon { color: var(--v); }
.svc-col:nth-child(2) .svc-icon { color: var(--b); }
.svc-col:nth-child(3) .svc-icon { color: var(--t); }

.svc-num {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  color: var(--t);
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.svc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 5px;
}

.svc-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
 
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.svc-list li {
  font-size: .855rem;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-list li::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--grad);
  flex-shrink: 0;
}

/* ── REFERENCES ── */
.refs { padding: 0 56px 96px; }

.ref-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.ref-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}

.ref-card:hover {
  border-color: rgba(75,25,114,.25);
  box-shadow: 0 6px 24px rgba(75,25,114,.07);
}

.ref-card-domain {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  transition: color .18s;
}

.ref-card:hover .ref-card-domain { color: var(--v); }

.ref-card-logo {
  height: 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.ref-card-logo img {
  height: 100%;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.ref-card-tags {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.rv.in { opacity: 1; transform: none; }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s} .d6{transition-delay:.48s}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .topbar { padding: 16px 28px; }
  .hero-text { padding: 0 28px 40px; }
  .services, .refs, .contact { padding-left: 28px; padding-right: 28px; }
  .svc-trio { grid-template-columns: 1fr; }
  .ref-cards { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-detail { grid-template-columns: 1fr 1fr; }
  footer { padding: 24px 28px; }
}

@media(max-width:640px){
  .topbar { padding: 14px 20px; }
  nav a:not(.cta) { display: none; }
  .hero-text { padding: 0 20px 36px; }
  .services, .refs, .contact { padding-left: 20px; padding-right: 20px; }
  .ref-cards { grid-template-columns: 1fr; }
  footer { padding: 20px; flex-direction: column; align-items: flex-start; }
  .footer-links { display: none; }
}
