:root {
  --blue-deep: #0b3d5c;
  --blue: #14669e;
  --teal: #17a398;
  --orange: #f2994a;
  --ink: #10242f;
  --paper: #f7fafa;
  --card: #ffffff;
  --line: #e1e8ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.language-switcher {
  position: fixed;
  z-index: 10000;
  top: max(.75rem, env(safe-area-inset-top));
  right: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .45rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  background: rgba(11, 61, 92, .96);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.language-switcher select {
  width: auto;
  min-width: 3.5rem;
  margin: 0;
  padding: .2rem 1.4rem .2rem .3rem;
  border: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }

.legal-language-note {
  padding: .65rem .8rem;
  border-left: 3px solid var(--teal);
  background: #eaf7f5;
  font-size: .92rem;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue-deep), var(--blue) 60%, var(--teal));
  color: #fff;
  padding: 56px 0 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-mark { font-size: 28px; }

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 720px;
}

.tagline {
  max-width: 640px;
  font-size: 18px;
  color: #eaf4f6;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #2a1400;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}

.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-outline {
  color: var(--blue-deep);
  border: 1px solid var(--blue-deep);
  background: transparent;
}

.btn-outline:hover { background: #e8f1f3; }

.ios-note {
  font-size: 14px;
  color: #d8ecef;
  margin-top: 4px;
}

/* Steps */
.steps { padding: 64px 0; }

.steps h2 { text-align: center; font-size: 28px; margin-bottom: 40px; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 { font-size: 17px; }
.step p { color: #3c5661; font-size: 15px; margin: 0; }

/* Why */
.why { background: #eef5f6; padding: 64px 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { font-size: 16px; color: #1c3540; }

.why-card {
  background: var(--blue-deep);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  font-size: 18px;
  font-style: italic;
}

/* Pro section */
.pro { padding: 64px 0 80px; }

.pro-grid p {
  max-width: 620px;
  color: #3c5661;
  font-size: 16px;
}
.pro-grid .pro-note { margin-top: 16px; font-size: 14px; }

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: #cfe4e8;
  padding: 24px 0;
  font-size: 14px;
  text-align: center;
}

.site-footer a { color: #fff; }

.legal-page { padding: 48px 0 64px; }

.legal-content { max-width: 800px; }

.legal-content h1 { margin-bottom: 20px; }

.legal-content h2 {
  margin-top: 32px;
  font-size: 22px;
}

.legal-content address { font-style: normal; }

/* Demande d'essai professionnelle */
.trial-header {
  padding: 32px 0 40px;
  background: linear-gradient(145deg, var(--blue-deep), #145f78 65%, #167d74);
  color: #fff;
}
.trial-header .brand { margin-bottom: 24px; }
.brand-link { color: inherit; text-decoration: none; }
.trial-header h1 { max-width: 720px; font-size: clamp(28px, 4vw, 40px); }
.trial-header p { max-width: 700px; margin-bottom: 0; color: #e4f2f3; }
.trial-page { padding: 48px 0 64px; }
.trial-layout { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.5fr); gap: 36px; align-items: start; }
.trial-intro { padding-top: 12px; }
.trial-intro ul { padding-left: 20px; display: grid; gap: 10px; }
.trial-intro p { color: #425d67; }
.trial-form-panel { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 16px 36px rgba(11, 61, 92, .08); }
.trial-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.trial-fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.trial-fields input, .trial-fields select {
  width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px;
  border: 1px solid #b7c7cc; border-radius: 6px; background: #fff; color: var(--ink); font: inherit;
}
.trial-wide { grid-column: 1 / -1; }
.trial-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: 14px; }
.trial-consent input { flex: 0 0 auto; margin-top: 4px; }
.trial-consent a { color: var(--blue); }
.trial-form-panel button { border: 0; cursor: pointer; }
.trial-form-panel button:disabled { opacity: .55; cursor: wait; }
.trial-result { margin: 18px 0 0; padding: 14px; border-left: 4px solid var(--teal); background: #e8f6f4; }
.trial-result.is-error { border-left-color: #c0392b; background: #fff0ee; color: #7d2118; }
.trial-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .trial-layout, .trial-fields { grid-template-columns: 1fr; }
  .trial-wide { grid-column: auto; }
  .trial-form-panel { padding: 20px 16px; }
}
