/* ============================================================
   Orema — Site vitrine
   Charte graphique : DM Sans / DM Mono, Bleu #0372B0, Navy #073656
   ============================================================ */

:root {
  --blue-900: #014a72;
  --blue-700: #026095;
  --blue-500: #0372b0;
  --blue-300: #74b1d3;
  --blue-100: #c7dfed;
  --blue-50:  #e8f2f7;

  --red-700: #88101c;
  --red-500: #ab1523;
  --red-100: #eccbce;
  --red-50:  #f7e9eb;

  --navy: #073656;
  --ink:  #0e131b;

  --green: #1a8a52;
  --green-bg: #e4f7ed;
  --amber: #d97706;
  --amber-bg: #fef3c7;

  --white: #ffffff;
  --cloud: #f5f7fa;
  --mist:  #fafbfd;
  --border-light: #e9edf3;
  --border: #d2dae4;
  --slate: #647487;
  --graphite: #283444;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-card: 0 1px 3px rgba(7, 54, 86, 0.06), 0 8px 24px rgba(7, 54, 86, 0.06);
  --shadow-lift: 0 12px 32px rgba(7, 54, 86, 0.14);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--graphite);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(3, 114, 176, 0.15);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary {
  background: var(--white);
  color: var(--graphite);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-block { width: 100%; }

/* ---------- Icons ---------- */
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-color: var(--border-light);
  box-shadow: 0 1px 0 rgba(7,54,86,0.03);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo-full { height: 28px; width: auto; flex-shrink: 0; }
.footer-brand .brand {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--graphite);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 20px; height: 20px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 156px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 8%, var(--blue-50) 0%, rgba(232,242,247,0) 70%),
    var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-motif {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 640px;
  height: 640px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 20px;
}
.hero-content p.lead {
  font-size: 17.5px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--slate);
}
.hero-trust strong { color: var(--graphite); font-weight: 600; }
.hero-trust .dot { color: var(--border); }

/* Hero visual — mock cards */
.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 420px;
}
.mock-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px;
}
.mock-card--main {
  width: 92%;
  left: 4%;
  top: 10px;
  z-index: 2;
}
.mock-card--payment {
  width: 68%;
  right: -4%;
  bottom: 12px;
  z-index: 3;
}
.mock-card--stat {
  width: 46%;
  left: -6%;
  bottom: 46px;
  z-index: 3;
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-title { font-size: 12.5px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
.mock-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 100px;
}
.mock-badge.success { background: var(--green-bg); color: var(--green); }
.mock-badge.pending { background: var(--amber-bg); color: var(--amber); }
.mock-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.mock-line:last-child { border-bottom: none; }
.mock-line span:first-child { color: var(--slate); }
.mock-line span:last-child { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.mock-avatar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
}
.mock-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mock-sub { font-size: 11.5px; color: var(--slate); font-family: var(--font-mono); }
.mock-progress {
  height: 6px;
  border-radius: 100px;
  background: var(--border-light);
  overflow: hidden;
  margin-top: 4px;
}
.mock-progress > div { height: 100%; background: var(--blue-500); border-radius: 100px; }
.mock-amount { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.mock-label { font-size: 12px; color: var(--slate); }

/* ============================================================
   Stats band
   ============================================================ */
.stats {
  background: var(--navy);
  padding: 44px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   Generic sections
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--cloud); }

/* Audiences */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.audience-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.audience-media {
  background: var(--cloud);
  border-bottom: 1px solid var(--border-light);
  line-height: 0;
}
.audience-media img { width: 100%; height: auto; display: block; }
.audience-body { padding: 32px; }
.audience-body .eyebrow { margin-bottom: 10px; }
.audience-body h3 { font-size: 19px; margin-bottom: 12px; }
.audience-body p { color: var(--slate); font-size: 14.5px; margin-bottom: 18px; }
.audience-list { display: grid; gap: 10px; }
.audience-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--graphite);
}
.audience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue-500);
}

/* Clients */
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}
.clients-row img {
  height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.clients-row img:hover { filter: grayscale(0); opacity: 1; }

/* Spaces grid */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.space-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.space-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.space-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.space-card h3 { font-size: 18px; margin-bottom: 10px; }
.space-card p { color: var(--slate); font-size: 14.5px; margin-bottom: 16px; }
.space-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.space-tags span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--cloud);
  color: var(--slate);
  border: 1px solid var(--border-light);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--white);
  padding: 28px 24px;
  transition: background 0.15s ease;
}
.feature-card:hover { background: var(--mist); }
.feature-card .icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 15px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--slate); }

/* Journey */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.journey-steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.journey-step { position: relative; z-index: 1; text-align: center; }
.journey-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--blue-500);
  color: var(--blue-500);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.journey-step h4 { font-size: 14.5px; margin-bottom: 6px; }
.journey-step p { font-size: 12.5px; color: var(--slate); }

/* Trust pillars */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
}
.trust-card .icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.trust-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--slate); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner > div, .cta-banner > form { min-width: 0; }
.cta-motif {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  opacity: 0.25;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 15.5px; max-width: 420px; }
.cta-banner .hero-cta { margin-top: 24px; margin-bottom: 0; }

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
  max-width: 460px;
  min-width: 0;
}
.contact-channels li { list-style: none; min-width: 0; }
.contact-channels a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}
.contact-channels a > span:last-child { min-width: 0; }
.contact-channels a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); }
.contact-channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel-icon .icon { width: 16px; height: 16px; }
.contact-channel-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1px;
}
.contact-channel-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-form {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  gap: 12px;
  min-width: 0;
  box-shadow: var(--shadow-lift);
}
.contact-form > * { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field input, .field textarea { min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--graphite); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.contact-form .form-note { font-size: 11.5px; color: var(--slate); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand span { color: var(--white); }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-secondary { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; margin-top: 24px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .audience-grid { grid-template-columns: 1fr; }
  .spaces-grid { grid-template-columns: 1fr; }
  .clients-row { gap: 32px; }
  .clients-row img { height: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(5, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .contact-channels { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 132px 0 64px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-steps::before { display: none; }
  .journey-step { display: flex; align-items: flex-start; gap: 16px; text-align: left; }
  .journey-num { margin: 0; flex-shrink: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel-value { white-space: normal; overflow: visible; text-overflow: clip; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-trust .dot { display: none; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  z-index: 90;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav .btn { margin-top: 16px; }
