/* Omny brand tokens — extracted from Identite_OMNY_26.pdf */

:root {
  /* Duo principal */
  --omny-corail: #DE5941;
  --omny-corail-dark: #C44A36;
  --omny-corail-soft: #F5C7BC;
  --omny-turquin: #364986;
  --omny-turquin-dark: #2A3A6E;

  /* Couleurs claires */
  --omny-gris-clair: #F4F3EE;
  --omny-sable: #F9F0E1;
  --omny-brun-clair: #DABA92;

  /* Couleurs sombres */
  --omny-gris-fonce: #343234;
  --omny-noir: #020204;
  --omny-bleu-nuit: #17253C;

  /* Neutres */
  --omny-white: #ffffff;
  --omny-border: rgba(23, 37, 60, 0.12);
  --omny-border-soft: rgba(23, 37, 60, 0.08);
  --omny-text: #17253C;
  --omny-text-muted: #5C6A82;

  /* Type */
  --font-title: 'Zalando Sans', 'Zalando Sans SemiExpanded', 'Inter', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

.omny {
  font-family: var(--font-body);
  color: var(--omny-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.omny h1, .omny h2, .omny h3, .omny .title {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.omny p { margin: 0; line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 16px 22px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--omny-corail);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 22px -10px rgba(222,89,65,0.55);
}
.btn-primary:hover { background: var(--omny-corail-dark); }

.btn-dark {
  background: var(--omny-bleu-nuit);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--omny-bleu-nuit);
  border: 1px solid var(--omny-border);
}

.btn-block { width: 100%; }

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--omny-text);
  letter-spacing: 0.01em;
}
.field input, .field select {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--omny-border);
  background: #fff;
  color: var(--omny-text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--omny-corail);
  box-shadow: 0 0 0 3px rgba(222,89,65,0.12);
}
.field.error input {
  border-color: var(--omny-corail);
  background: #FFF7F4;
}
.field .err {
  font-size: 12px;
  color: var(--omny-corail);
}

/* Photo placeholder — striped sand/coral, monospace label */
.photo-ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(222,89,65,0.08) 0 12px,
      rgba(218,186,146,0.18) 12px 24px
    ),
    var(--omny-sable);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-ph::after {
  content: attr(data-label);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--omny-bleu-nuit);
  opacity: 0.55;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* Sections & generic layout */
.section { padding: 48px 24px; }
.section-tight { padding: 32px 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--omny-corail);
}
.eyebrow-blue { color: var(--omny-turquin); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--omny-border-soft);
  border-radius: var(--r-lg);
  padding: 20px;
}
.card-soft {
  background: var(--omny-sable);
  border-radius: var(--r-lg);
  padding: 20px;
}

/* Logo bubble accent — lift from logo's bubble glyph */
.logo-bubble {
  width: 28px; height: 28px;
  background: var(--omny-corail);
  border-radius: 50% 50% 50% 6px;
  display: inline-block;
}

/* Phone screen scroll container */
.phone-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scroll-behavior: smooth;
}
.phone-screen::-webkit-scrollbar { width: 0; height: 0; }

/* Sticky in-page CTA */
.sticky-cta {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
  padding: 16px 20px 24px;
  z-index: 10;
}

/* Helpers */
.stack { display: flex; flex-direction: column; }
.row { display: flex; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.center { align-items: center; }
.between { justify-content: space-between; }
