﻿/* ═══════════════════════════════════════════
   PEOPLE CONNECT — CSS v3
   Notion-inspired: Dark hero, bento grids, editorial serif
   ═══════════════════════════════════════════ */

/* ─── Flag Icons (inline data URI — zero server dependency) ─── */
.fi{background-size:contain;background-position:50%;background-repeat:no-repeat;position:relative;display:inline-block;width:1.33333333em;line-height:1em;height:1em}
.fi-fr{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3E%3Cg fill-rule='evenodd' stroke-width='1pt'%3E%3Cpath fill='%23fff' d='M0 0h640v480H0z'/%3E%3Cpath fill='%23002654' d='M0 0h213.3v480H0z'/%3E%3Cpath fill='%23ce1126' d='M426.7 0H640v480H426.7z'/%3E%3C/g%3E%3C/svg%3E")}
.fi-gb{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3E%3Cpath fill='%23012169' d='M0 0h640v480H0z'/%3E%3Cpath fill='%23FFF' d='m75 0 244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z'/%3E%3Cpath fill='%23C8102E' d='m424 281 216 159v40L369 281h55zm-184 20 6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z'/%3E%3Cpath fill='%23FFF' d='M241 0v480h160V0H241zM0 160v160h640V160H0z'/%3E%3Cpath fill='%23C8102E' d='M0 193v96h640v-96H0zM273 0v480h96V0h-96z'/%3E%3C/svg%3E")}
.fi-es{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3E%3Cpath fill='%23c60b1e' d='M0 0h640v480H0z'/%3E%3Cpath fill='%23ffc400' d='M0 120h640v240H0z'/%3E%3C/svg%3E")}

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

:root {
  --ink:         #191918;
  --ink-soft:    #5C5C58;
  --ink-muted:   #9E9E99;
  --paper:       #FFFEF9;
  --paper-warm:  #F7F7F5;
  --paper-mid:   #ECEAE3;
  --border:      #E5E4DC;
  --dark:        #0A0E1A;
  --dark-soft:   #111627;

  --sans:  'DM Sans', -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --max-w: 1140px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 20px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
button { font-family: var(--sans); }

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 120px 0; }
.section-alt { background: var(--paper-warm); }
.text-center { text-align: center; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

.section-title-xl {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.section-title-xl .serif-italic {
  font-size: 1.06em;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
}
.section-subtitle.text-center { margin-left: auto; margin-right: auto; }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #3B82F6;
  margin-top: 8px;
  transition: gap 0.15s;
}
.section-link:hover { gap: 10px; }
.section-link i { font-size: 14px; }


/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn i { font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-dark:hover { background: #000; }

.btn-hero-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  font-weight: 600;
}
.btn-hero-primary:hover { background: #f0efea; }

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.btn-hero-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.btn-nav-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding: 8px 18px;
  font-size: 13.5px;
}


/* ═══════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeUp 0.75s var(--ease) both; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.30s; }
.d4 { animation-delay: 0.44s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}


/* ═══════════════════════════════════
   NAVBAR
   ═══════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 60px;
  background: transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255, 254, 249, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.logo-svg { height: 26px; width: auto; display: block; }

/* Dual logo: light on hero, dark when scrolled */
.logo-dark { display: none; }
.logo-light { display: block; }
.navbar.scrolled .logo-dark { display: block; }
.navbar.scrolled .logo-light { display: none; }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.65); }
.navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.navbar:not(.scrolled) .btn-nav-cta {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.navbar:not(.scrolled) .btn-nav-cta:hover {
  background: rgba(255,255,255,0.2);
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 24px;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-warm); }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, background 0.2s;
  transform-origin: center;
}
.navbar:not(.scrolled) .nav-toggle span { background: #fff; }
/* Open state — 3 bars form an X */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile CTA link inside nav-links */
.nav-mobile-cta { display: none; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.btn-mobile-cta { display: block; text-align: center; width: 100%; padding: 12px 20px; font-size: 15px; }

/* Language dropdown */
.nav-lang { position: relative; margin-left: 8px; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
  background: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}
.lang-trigger .fi { width: 16px; height: 12px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.lang-caret {
  display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s; flex-shrink: 0;
}
.nav-lang.open .lang-caret { transform: rotate(-135deg) translateY(2px); }
.navbar.scrolled .lang-trigger { border-color: var(--border); color: var(--ink-light); }
.lang-trigger:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.6); }
.navbar.scrolled .lang-trigger:hover { background: var(--paper-warm); color: var(--ink); border-color: var(--ink-light); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 4px; min-width: 110px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}
.nav-lang.open .lang-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown a:hover { background: var(--paper-warm); color: var(--ink); }
.lang-dropdown a .fi { width: 16px; height: 12px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
@media (max-width: 700px) { .nav-lang { margin-left: auto; } }

/* Lang dropdown in footer (light context, opens upward) */
.footer .nav-lang .lang-trigger { border-color: var(--border); color: var(--ink-light); }
.footer .nav-lang .lang-trigger:hover { background: var(--paper-warm); color: var(--ink); border-color: var(--ink-light); }
.footer .nav-lang .lang-dropdown { top: auto; bottom: calc(100% + 8px); }


/* ═══════════════════════════════════
   HERO — Dark
   ═══════════════════════════════════ */
.hero {
  background: var(--dark);
  padding-top: 60px;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Animated gaussian blur blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
}
.blob-1 {
  width: 600px; height: 600px;
  background: #1E3A8A;
  top: -15%; left: -10%;
  animation: blobMove1 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: #3B82F6;
  top: 30%; right: -8%;
  animation: blobMove2 14s ease-in-out infinite alternate;
}
.blob-3 {
  width: 450px; height: 450px;
  background: #6366F1;
  bottom: -10%; left: 30%;
  animation: blobMove3 10s ease-in-out infinite alternate;
}

@keyframes blobMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes blobMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, -50px) scale(1.1); }
}
@keyframes blobMove3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.2); }
}

/* Floating icon badges */
.hero-float {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hf-1 { top: 18%; left: 6%;  background: #F97316; animation: float 6s ease-in-out infinite; }
.hf-2 { top: 12%; right: 8%; background: #8B5CF6; animation: float 7s ease-in-out 1s infinite; }
.hf-3 { top: 55%; left: 4%;  background: #3B82F6; animation: float 5.5s ease-in-out 2s infinite; }
.hf-4 { top: 45%; right: 5%; background: #10B981; animation: float 6.5s ease-in-out 0.5s infinite; }

.hero-container {
  position: relative;
  z-index: 3;
  padding-top: 56px;
  padding-bottom: 36px;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.hero-badge i { font-size: 14px; color: rgba(255,255,255,0.8); }

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Dashboard mockup */
.hero-mockup-wrap {
  position: relative;
  z-index: 3;
  padding-bottom: 48px;
}

.hero-mockup {
  max-width: 880px;
  margin: 0 auto;
}

.hero-dashboard {
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 60px rgba(0,0,0,0.4),
    0 4px 16px rgba(0,0,0,0.2);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--paper-warm);
}
.dash-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.dash-favicon { width: 18px; height: 18px; }

.dash-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #2B8A3E;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #EBFBEE;
  padding: 4px 10px;
  border-radius: 100px;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2B8A3E;
  animation: pulse 1.8s ease-in-out infinite;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.dash-metric {
  padding: 18px 20px 14px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dash-metric:last-child { border-right: none; }
.dash-metric-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}
.dash-metric-lbl { font-size: 11px; color: var(--ink-muted); font-weight: 500; }
.dash-metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}
.dash-metric-trend.up { color: #2B8A3E; }
.dash-metric-trend.down { color: #2B8A3E; }
.dash-metric-trend i { font-size: 12px; }

.dash-section-label {
  padding: 12px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dash-calls {
  display: flex;
  flex-direction: column;
  padding: 0 12px 8px;
  gap: 2px;
}
.dash-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  gap: 12px;
  transition: background 0.15s;
}
.dash-call:hover, .dash-call.active-call { background: var(--paper-warm); }
.call-agent { display: flex; align-items: center; gap: 10px; }
.call-avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.call-name { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.call-sector { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 1px; }
.call-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.call-timer {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.call-status {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.call-status.on { background: #EBFBEE; color: #2B8A3E; }

.dash-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--paper-warm);
}
.dash-progress-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 6px 0;
}
.dash-prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.dash-prog-val { font-size: 13px; font-weight: 800; color: var(--ink); }
.dash-prog-bar {
  height: 5px;
  background: var(--paper-mid);
  border-radius: 100px;
  overflow: hidden;
}
.dash-prog-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 100px;
  transition: width 1s var(--ease);
}


/* ─── Logo band ─── */
.logos-band {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--paper-warm);
  padding: 28px 0;
  overflow: hidden;
}

.logos-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.logos-marquee-outer {
  overflow: hidden;
  position: relative;
}
.logos-marquee-outer::before,
.logos-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logos-marquee-outer::before { left: 0; background: linear-gradient(to right, var(--paper-warm), transparent); }
.logos-marquee-outer::after { right: 0; background: linear-gradient(to left, var(--paper-warm), transparent); }

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logos-marquee-track {
  display: flex;
  width: max-content;
  animation: logoScroll 22s linear infinite;
}
.logos-marquee-track:hover { animation-play-state: paused; }

.logos-marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: opacity 0.2s;
}
.logo-item:hover { opacity: 1; }


/* ═══════════════════════════════════
   IA SECTION — Bento
   ═══════════════════════════════════ */
.ia-bento {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 28px;
}

.ia-panel-left {
  padding: 32px 28px;
  border-right: 1.5px solid var(--border);
  background: var(--paper);
}

.ia-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ia-panel-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ia-panel-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}
.ia-panel-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ia-feature-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ia-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}
.ia-feat:hover { background: var(--paper-warm); }
.ia-feat i { font-size: 18px; color: var(--ink-soft); flex-shrink: 0; }

/* Right panel: mock conversation */
.ia-panel-right {
  padding: 0;
  background: var(--paper-warm);
  display: flex;
  flex-direction: column;
}

.ia-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.ia-mock-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.ia-mock-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #2B8A3E;
}

.ia-mock-conversation {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ia-msg {
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 90%;
}
.ia-msg-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ia-msg p { font-size: 13.5px; line-height: 1.55; }

.ia-msg-system {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  align-self: center;
  text-align: center;
  max-width: 100%;
}
.ia-msg-system .ia-msg-label { color: #92400E; justify-content: center; }
.ia-msg-system p { color: #78350F; }

.ia-msg-ai {
  background: var(--paper);
  border: 1px solid var(--border);
  align-self: flex-start;
}
.ia-msg-ai .ia-msg-label { color: #3B82F6; }
.ia-msg-ai p { color: var(--ink); }

.ia-msg-user {
  background: var(--ink);
  align-self: flex-end;
}
.ia-msg-user .ia-msg-label { color: rgba(255,255,255,0.5); }
.ia-msg-user p { color: rgba(255,255,255,0.9); }

.ia-msg-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #EBFBEE;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2B8A3E;
  align-self: center;
}
.ia-msg-action i { font-size: 14px; }

/* IA Highlights — 4 cards row */
.ia-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ia-hl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.ia-hl:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.ia-hl-av {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ia-hl-text { flex: 1; min-width: 0; }
.ia-hl-text strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.ia-hl-text p { font-size: 12px; color: var(--ink-muted); margin-top: 2px; line-height: 1.4; }
.ia-hl-arrow { font-size: 14px; color: var(--ink-muted); flex-shrink: 0; transition: color 0.15s; }
.ia-hl:hover .ia-hl-arrow { color: var(--ink); }


/* ═══════════════════════════════════
   SERVICES — Bento Grid
   ═══════════════════════════════════ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--card-bg, var(--paper-warm));
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.svc-span-2 { grid-column: span 2; flex-direction: row; align-items: flex-start; gap: 32px; }
.svc-span-3 { grid-column: span 3; }

.svc-card-content { flex: 1; }

.svc-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 16px;
}

.svc-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.svc-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Mini-card visual inside service cards */
.svc-card-visual {
  flex-shrink: 0;
  width: 260px;
}

.svc-mini-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.svc-mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-mini-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.svc-mini-name { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.svc-mini-meta { display: block; font-size: 11px; color: var(--ink-muted); }
.svc-mini-status {
  margin-left: auto;
  color: #2B8A3E;
  font-size: 14px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════
   SECTEURS — Marquee
   ═══════════════════════════════════ */
.secteurs-section { background: var(--paper); overflow: hidden; }

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.marquee-wrapper { overflow: hidden; margin-bottom: 16px; }
.marquee-wrapper:last-child { margin-bottom: 0; }

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 6px 0;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-left  { animation: scrollLeft  28s linear infinite; }
.marquee-right { animation: scrollRight 28s linear infinite; }

.marquee-set { display: flex; gap: 14px; flex-shrink: 0; }

.secteur-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.secteur-chip:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.secteur-chip i { font-size: 20px; color: var(--ink); flex-shrink: 0; }
.secteur-chip span { font-size: 14px; font-weight: 600; color: var(--ink); }
.secteur-chip em {
  font-size: 13px;
  font-style: normal;
  color: var(--ink-muted);
  padding-left: 4px;
  border-left: 1px solid var(--border);
  margin-left: 4px;
}


/* ═══════════════════════════════════
   MÉTHODE + STATS — "Plus d'efficacité"
   ═══════════════════════════════════ */
.method-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}

.method-text { max-width: 440px; }

.method-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  padding-top: 8px;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink);
}
.method-item i {
  font-size: 18px;
  color: var(--ink);
  flex-shrink: 0;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-top: 1.5px solid var(--border);
  padding-top: 48px;
}

.stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.stat-big {
  font-family: var(--sans);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink);
  display: inline;
}
.stat-suffix {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.03em;
}

.stat-divider {
  width: 1.5px;
  align-self: stretch;
  background: var(--border);
  margin: 0 32px;
}


/* ═══════════════════════════════════
   TÉMOIGNAGES — Grid
   ═══════════════════════════════════ */

/* Featured testimonial */
.temo-featured {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 44px;
  margin-bottom: 20px;
}

.temo-featured-head { margin-bottom: 20px; }

.temo-company-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.temo-featured blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  border: none;
  padding: 0;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.temo-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.temo-featured-footer span {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 450;
}
.temo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #3B82F6;
  transition: gap 0.15s;
}
.temo-link:hover { gap: 10px; }

/* Testimonial grid */
.temo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.temo-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.temo-card:hover {
  border-color: var(--ink-muted);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.temo-card-company {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.temo-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.temo-card footer {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Stats bar under testimonials */
.temo-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.temo-stats-bar span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}
.temo-stats-bar i { font-size: 15px; }


/* ═══════════════════════════════════
   CTA — Card grid
   ═══════════════════════════════════ */
.cta-section {
  background: var(--paper);
  padding-bottom: 80px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta-card {
  background: var(--paper-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-card:hover {
  border-color: var(--ink-muted);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.cta-card-main {
  background: var(--ink);
  border-color: var(--ink);
  grid-row: span 2;
}
.cta-card-main strong { color: #fff; font-size: 20px; }
.cta-card-main p { color: rgba(255,255,255,0.55); }
.cta-card-main .btn-dark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  margin-top: auto;
  align-self: flex-start;
}
.cta-card-main .btn-dark:hover { background: #f0efea; }

.cta-card-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 4px;
}
.cta-card-main .cta-card-icon-wrap { background: rgba(255,255,255,0.1); }
.cta-card:not(.cta-card-main) .cta-card-icon-wrap {
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink);
}
.cta-card-favicon { width: 22px; height: 22px; }

.cta-card:not(.cta-card-main) strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.cta-card:not(.cta-card-main) p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cta-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3B82F6;
  margin-top: auto;
  transition: gap 0.15s;
}
.cta-card-link:hover { gap: 10px; }
.cta-card-link i { font-size: 13px; }


/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.footer-inner { padding: 64px 40px 0; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; max-width: 200px; margin-bottom: 20px; }
.footer-logo-svg { height: 32px; }

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-soft);
  transition: all 0.18s;
}
.footer-socials a:hover { color: var(--ink); border-color: var(--ink); background: var(--paper-warm); }

.footer-col h4 { margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s;
}
.footer-col i { font-size: 15px; flex-shrink: 0; opacity: 0.6; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: var(--ink-muted); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { font-size: 13px; color: var(--ink-muted); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--ink); }


/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-float { display: none; }

  .ia-bento { grid-template-columns: 1fr; }
  .ia-panel-left { border-right: none; border-bottom: 1.5px solid var(--border); }

  .ia-highlights { grid-template-columns: repeat(2, 1fr); }

  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-span-2 { grid-column: span 2; }
  .svc-span-3 { grid-column: span 2; }
  .svc-card-visual { display: none; }
  .svc-span-2 { flex-direction: column; }

  .method-top { grid-template-columns: 1fr; gap: 40px; }
  .method-text { max-width: 100%; }

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

  .cta-grid { grid-template-columns: 1fr; }
  .cta-card-main { grid-row: span 1; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container, .footer-inner { padding: 0 20px; }
  .section { padding: 80px 0; }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* ── Mobile menu panel — visibility/opacity approach for animability ── */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    margin-left: 0;
    flex: unset;
    gap: 4px;

    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(255, 254, 249, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px 24px;
    z-index: 199;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);

    /* Closed state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0s linear 0.28s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0s linear 0s;
  }

  /* ── Staggered item animation ── */
  .nav-links li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.22s ease;
  }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.10s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.26s; }

  /* ── Link styles — force dark regardless of hero state ── */
  .nav-links a,
  .navbar:not(.scrolled) .nav-links a,
  .navbar:not(.scrolled) .nav-links a:hover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    background: transparent;
    transition: background 0.15s;
  }
  .nav-links a::after {
    content: '';
    width: 6px; height: 6px;
    border-right: 1.5px solid var(--ink-muted);
    border-top: 1.5px solid var(--ink-muted);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: 8px;
  }
  .nav-links a:hover,
  .navbar:not(.scrolled) .nav-links a:hover {
    background: var(--paper-warm) !important;
    color: var(--ink) !important;
  }

  /* ── CTA button inside mobile menu ── */
  .nav-mobile-cta {
    display: block;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-cta a.btn-mobile-cta::after { display: none; }
  .btn-mobile-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
  }

  .hero-container { padding-top: 48px; padding-bottom: 36px; }
  .hero-title { font-size: clamp(28px, 7.5vw, 42px); }
  .hero-sub { font-size: 15px; }

  .section-title-xl { font-size: clamp(28px, 7vw, 42px); }

  .ia-bento { grid-template-columns: 1fr; }
  .ia-highlights { grid-template-columns: 1fr; }

  .services-bento { grid-template-columns: 1fr; }
  .svc-span-2, .svc-span-3 { grid-column: span 1; }

  .method-features { grid-template-columns: 1fr; }

  .stats-row { flex-direction: column; gap: 32px; }
  .stat-divider { width: 100%; height: 1.5px; margin: 0; }

  .temo-featured { padding: 28px 24px; }
  .temo-featured blockquote { font-size: 18px; }
  .temo-featured-footer { flex-direction: column; align-items: flex-start; gap: 12px; }

  .temo-stats-bar { flex-direction: column; gap: 12px; align-items: flex-start; }

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

  .secteur-chip em { display: none; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { padding-top: 16px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}


/* ═══════════════════════════════════
   MODAL — Prendre rendez-vous
   ═══════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Closed state */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.modal-card {
  position: relative;
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;

  transform: translateY(20px) scale(0.97);
  transition: transform 0.32s var(--ease);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--paper-warm);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--paper-mid); color: var(--ink); }

/* Header */
.modal-header { margin-bottom: 28px; }
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.modal-favicon { width: 18px; height: 18px; }
.modal-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.modal-header p { font-size: 14px; color: var(--ink-soft); }

/* Form layout */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }

.modal-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.modal-field label span { color: var(--ink-muted); font-weight: 400; }

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  padding: 10px 13px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239E9E99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.modal-field textarea { resize: vertical; min-height: 80px; }

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(25, 25, 24, 0.08);
  background: var(--paper);
}
.modal-field input.error,
.modal-field select.error { border-color: #E03131; background: #FFF5F5; }

/* RGPD checkbox */
.modal-rgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper-warm);
  border: 1.5px solid var(--border);
  border-radius: 9px;
}
.modal-rgpd-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--ink);
  cursor: pointer;
}
.modal-rgpd-check label {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
}
.modal-rgpd-check label a { color: var(--ink-soft); text-decoration: underline; }
.modal-rgpd-check label a:hover { color: var(--ink); }
.modal-rgpd-check.error { border-color: #E03131; background: #FFF5F5; }

/* Captcha */
.modal-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--paper-warm);
  border: 1.5px solid var(--border);
  border-radius: 9px;
}
.modal-captcha-question {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.modal-captcha-question i { color: var(--ink-muted); font-size: 16px; }
.modal-captcha .modal-field {
  flex: 1;
  min-width: 80px;
}
.modal-captcha .modal-field input {
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}
.modal-captcha.error { border-color: #E03131; background: #FFF5F5; }

/* Footer row */
.modal-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.modal-required-note {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.modal-submit {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 24px 0 8px;
}
.modal-success-icon {
  font-size: 56px;
  color: #2B8A3E;
  margin-bottom: 16px;
  line-height: 1;
}
.modal-success h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.modal-success p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 700px) {
  .modal-card { padding: 28px 20px; border-radius: 16px; }
  .modal-row { grid-template-columns: 1fr; }
  .modal-footer-row { flex-direction: column; align-items: stretch; }
  .modal-rgpd { max-width: 100%; }
  .modal-submit { width: 100%; justify-content: center; }
}

/* ─── FAQ Section ─── */
.faq-section .section-title-xl { margin-bottom: 52px; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 48px;
  align-items: start;
}
.faq-item {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;       /* clips child backgrounds to rounded corners */
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--ink-muted); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}
/* Fix : avec overflow:hidden sur le parent, le hover ne déborde plus dans les coins */
.faq-q:hover { background: var(--paper-warm); }
.faq-chevron {
  flex-shrink: 0;
  margin-top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 14px 20px 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  margin: 0;
}
.faq-cta { text-align: center; }
.faq-cta p { color: var(--ink-soft); margin-bottom: 20px; font-size: 15px; }

@media (max-width: 900px) {
  .faq-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .faq-list { grid-template-columns: 1fr; gap: 6px; }
  .faq-q { font-size: 15px; padding: 16px 18px; }
  .faq-a-inner p { padding: 12px 18px 16px; }
}
