/* ==========================================================
   RACCORD·IA — Marketing Site CSS
   Shared across landing, pricing, and comparison pages
   ========================================================== */


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----------------- Layout ----------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ----------------- Top Nav ----------------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--separator);
}
header.nav .wrap { display: flex; align-items: center; gap: 8px; height: 62px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: -.3px;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand .dot { color: var(--orange); }
header.nav nav {
  display: flex; gap: 2px; margin-left: 22px;
}
header.nav nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--mid); font-size: 13px; font-weight: 500;
  transition: all .15s;
}
header.nav nav a:hover,
header.nav nav a.current {
  background: #F0F0F3; color: var(--dark);
}
header.nav .sp { flex: 1; }

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-family: var(--font); border: 0; cursor: pointer;
  transition: all .18s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
}
.btn-ghost {
  background: transparent; color: var(--dark);
  padding: 8px 14px; border-radius: 8px; font-size: 13px;
}
.btn-ghost:hover { background: #F0F0F3; }
.btn-pri {
  background: var(--orange); color: #fff;
  padding: 10px 20px; border-radius: 100px; font-size: 13px;
  box-shadow: var(--sh-cta);
}
.btn-pri:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: var(--sh-cta-xl); }
.btn-pri-lg {
  background: var(--orange); color: #fff;
  padding: 16px 30px; border-radius: 100px; font-size: 15px;
  box-shadow: var(--sh-cta-xl); font-weight: 600;
}
.btn-pri-lg:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-out {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: 14px 28px; border-radius: 100px; font-size: 15px;
}
.btn-out:hover { background: var(--dark); color: #fff; }
.btn-out-orange {
  background: transparent; color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 14px 28px; border-radius: 100px; font-size: 15px;
}
.btn-out-orange:hover { background: var(--orange); color: #fff; }

/* ----------------- Eyebrow / Labels ----------------- */
.eyebrow-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; color: var(--orange);
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.eyebrow-num::before {
  content: ''; width: 28px; height: 1px; background: var(--orange);
}
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,53,0.1); color: var(--orange);
  font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  letter-spacing: .02em;
}

/* ----------------- Type scale (marketing) ----------------- */
.display-xl {
  font-size: clamp(52px, 8.5vw, 120px);
  line-height: .95; letter-spacing: -4.5px;
  font-weight: 700;
  font-feature-settings: "ss01", "ss02";
}
.display-lg {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.0; letter-spacing: -3px;
  font-weight: 700;
}
.display-md {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -1.8px;
  font-weight: 700;
}
.display-sm {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1; letter-spacing: -1.2px;
  font-weight: 700;
}
.lead {
  font-size: 19px; color: var(--gray); line-height: 1.55;
  max-width: 640px;
}
.acc { color: var(--orange); }
.strike-soft {
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,.3);
  text-decoration-thickness: 2px;
  color: var(--gray);
}

/* ----------------- Footer ----------------- */
footer.site {
  background: #0F0F10; color: #AEAEB2;
  padding: 80px 0 32px; margin-top: 40px;
}
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
footer.site .brand { color: #fff; margin-bottom: 16px; }
footer.site .brand img { width: 30px; height: 30px; border-radius: 7px; }
footer.site .tagline { color: #AEAEB2; font-size: 13.5px; line-height: 1.55; max-width: 280px; }
footer.site h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
footer.site a { color: #AEAEB2; font-size: 13px; transition: color .15s; }
footer.site a:hover { color: #fff; }
footer.site .legal {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #6E6E73;
}
footer.site .socials { display: flex; gap: 10px; }
footer.site .socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
footer.site .socials a:hover { background: var(--orange); }
footer.site .socials svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------- Section helper ----------------- */
section { padding: 96px 0; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 14px; }
.section-head p { margin: 0; }

/* ----------------- Dot motif animation ----------------- */
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: .75; }
}
.dot-pulse {
  display: inline-block;
  color: var(--orange);
  animation: dotPulse 2.4s ease-in-out infinite;
}

/* ----------------- Marquee ----------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }

/* ----------------- Cookies/tooltip/chip ----------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border-soft);
  padding: 4px 10px; border-radius: 100px;
  font-size: 12px; color: var(--mid);
}
.chip.green { background: var(--green-bg); color: var(--green-dark); border-color: #BBF7D0; font-weight: 600; }
.chip.orange { background: var(--orange-bg); color: var(--orange); border-color: var(--orange-border); font-weight: 600; }

/* ----------------- Responsive ----------------- */
@media (max-width: 860px) {
  header.nav nav { display: none; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
