/* =========================================================
   TAILOR LANDING — DS Walid (Helvetica unique, light default)
   Palette : marine #1a2342 + jaune doré #d4b840 + beige clair
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, blockquote, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:root {
  --font: Helvetica, "Helvetica Neue", Arial, sans-serif;

  --bg:         #f5f4f0;
  --surface:    #fdfcf8;
  --surface-2:  #f8f7f3;
  --text:       #1a1a17;
  --text-2:     #5a5847;
  --text-3:     #8a8878;
  --border:     #e4e2d8;
  --border-s:   #cbc9be;

  --marine:     #1a2342;
  --marine-2:   #243056;
  --gold:       #d4b840;
  --gold-2:     #c2a834;
  --gold-soft:  #f6efd4;
  --primary:    #2563eb;
  --success:    #16a34a;
  --danger:     #dc2626;

  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 16px;
  --sh-sm: 0 1px 3px rgba(15,29,46,.08), 0 1px 2px rgba(15,29,46,.04);
  --sh-md: 0 4px 12px -2px rgba(15,29,46,.10), 0 2px 4px -2px rgba(15,29,46,.05);
  --sh-lg: 0 18px 40px -10px rgba(15,29,46,.20);

  --w-narrow: 760px;
  --w-page:   1120px;
}

html, body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 17px; line-height: 1.3; }
p  { color: var(--text-2); }

.container { max-width: var(--w-page); margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: var(--w-narrow); margin: 0 auto; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--marine);
}
.brand-logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--marine); color: var(--gold);
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--marine); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px;
  font-size: 13px; font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all 160ms ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--marine); color: #fff; }
.btn-primary:hover  { background: var(--marine-2); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-gold     { background: var(--gold); color: var(--marine); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-ghost    { background: transparent; color: var(--marine); border-color: var(--border-s); }
.btn-ghost:hover { background: var(--surface); border-color: var(--marine); }
.btn-lg       { height: 46px; padding: 0 24px; font-size: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,184,64,.18), transparent);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); color: var(--marine);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2);
}
.hero h1 { margin-bottom: 18px; max-width: 700px; }
.hero h1 .accent { color: var(--marine); border-bottom: 3px solid var(--gold); }
.hero p.lead {
  font-size: 17px; line-height: 1.5; color: var(--text-2);
  max-width: 580px; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 32px; display: flex; gap: 24px; flex-wrap: wrap;
  color: var(--text-3); font-size: 12px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--success); font-weight: 700; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 64px 0; }
section.alt { background: var(--surface-2); }
.section-eyebrow {
  color: var(--gold-2); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { margin-bottom: 12px; }
.section-lead { color: var(--text-2); font-size: 15px; max-width: 620px; margin-bottom: 36px; }

/* =========================================================
   SOLUTIONS GRID
   ========================================================= */
.solutions {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.sol-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  transition: all 200ms ease;
}
.sol-card:hover {
  border-color: var(--marine); transform: translateY(-2px); box-shadow: var(--sh-md);
}
.sol-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: var(--gold-soft); color: var(--marine);
  display: grid; place-items: center; font-size: 22px;
  margin-bottom: 14px;
}
.sol-card h3 { margin-bottom: 8px; }
.sol-card p { font-size: 13px; line-height: 1.5; }
.sol-card ul { margin-top: 10px; }
.sol-card ul li {
  font-size: 12px; color: var(--text-2);
  padding: 3px 0; padding-left: 16px; position: relative;
}
.sol-card ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700;
}

/* =========================================================
   AI HIGHLIGHT
   ========================================================= */
.ai-block {
  background: var(--marine); color: #fff;
  border-radius: var(--r-xl); padding: 40px;
  display: grid; gap: 36px;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}
.ai-block h2 { color: #fff; }
.ai-block p { color: rgba(255,255,255,.78); margin-top: 10px; }
.ai-block .ai-mockup {
  background: var(--marine-2); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg); padding: 18px;
  font-family: "SFMono-Regular", Menlo, monospace; font-size: 12px;
  color: rgba(255,255,255,.82); line-height: 1.6;
}
.ai-mockup .ai-prompt { color: rgba(255,255,255,.55); margin-bottom: 12px; font-size: 11px; }
.ai-mockup .ai-input {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 16px;
  color: #fff;
}
.ai-mockup .ai-arrow { color: var(--gold); text-align: center; margin: 10px 0; font-size: 16px; }
.ai-mockup .ai-out { color: rgba(255,255,255,.92); }
.ai-mockup .ai-out .pack {
  display: inline-block; background: var(--gold); color: var(--marine);
  padding: 3px 8px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 11px; margin: 2px 4px 2px 0;
}
.ai-mockup .ai-entity {
  margin-top: 10px; padding: 8px 10px;
  background: rgba(212,184,64,.10); border-left: 2px solid var(--gold);
  font-size: 11px;
}

/* =========================================================
   CAPTURES
   ========================================================= */
.captures {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.capture {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all 200ms ease;
}
.capture:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.capture-img {
  aspect-ratio: 16 / 10; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-3); font-size: 11px;
  overflow: hidden;
}
.capture-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.capture-meta { padding: 12px 16px; }
.capture-meta h4 { font-size: 13px; margin-bottom: 2px; }
.capture-meta p { font-size: 12px; color: var(--text-3); }

/* =========================================================
   PERSONAS
   ========================================================= */
.personas {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.persona {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
}
.persona-tag {
  display: inline-block; background: var(--gold-soft); color: var(--marine);
  padding: 3px 8px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.persona h3 { margin-bottom: 10px; }
.persona p { font-size: 13px; }
.persona-stack { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.persona-stack span {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}

/* =========================================================
   PILLARS (why tailor)
   ========================================================= */
.pillars {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pillar { padding: 4px 0; }
.pillar-num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--marine);
  font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 13px; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
}
.contact h2 { margin-bottom: 8px; }
.contact .form-lead { color: var(--text-2); margin-bottom: 24px; font-size: 14px; }

.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.form-field label .req { color: var(--danger); }
.form-field input,
.form-field textarea,
.form-field select {
  background: #fff; color: var(--text);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md); padding: 10px 12px;
  font-size: 13px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none; border-color: var(--marine);
  box-shadow: 0 0 0 3px rgba(26,35,66,.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.form-submit { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.form-submit small { color: var(--text-3); font-size: 11px; }

.alert {
  padding: 12px 14px; border-radius: var(--r-md);
  font-size: 13px; margin-bottom: 16px;
}
.alert-error   { background: #fce4e4; color: #991b1b; border: 1px solid #f5c2c2; }
.alert-success { background: #ddf5e4; color: #15803d; border: 1px solid #b8e6c5; }

/* =========================================================
   FOOTER
   ========================================================= */
footer.foot {
  background: var(--marine); color: rgba(255,255,255,.72);
  padding: 36px 0 28px; font-size: 12px;
}
footer.foot .foot-inner {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
footer.foot .foot-brand { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
footer.foot a { color: rgba(255,255,255,.85); }
footer.foot a:hover { color: var(--gold); }

/* =========================================================
   THANK YOU
   ========================================================= */
.thanks {
  padding: 100px 0;
  text-align: center;
}
.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold-soft); color: var(--marine);
  display: grid; place-items: center;
  font-size: 38px; margin: 0 auto 24px;
}
.thanks h1 { margin-bottom: 14px; }
.thanks p  { color: var(--text-2); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  section { padding: 48px 0; }
  .hero { padding: 50px 0 40px; }
  .ai-block { grid-template-columns: 1fr; padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-inner { height: 52px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
}
