/* Nexlares Canada — slate navy + bronze theme */
:root {
  --primary: #3b4f63;
  --primary-dark: #243140;
  --primary-darker: #19222c;
  --accent: #b08d57;
  --accent-dark: #8e6f3f;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-band: #eef2f5;
  --text: #1f2937;
  --text-muted: #56657a;
  --text-on-dark: #f1f4f7;
  --line: #dfe5ec;
  --shadow: 0 6px 18px rgba(31, 41, 55, .06);
  --shadow-lg: 0 14px 38px rgba(31, 41, 55, .12);
  --radius: 10px;
  --container: 1200px;
  --header-h: 72px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-top: .2em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 56px 0; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { height: 32px; width: auto; }
.brand:hover { text-decoration: none; }
.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.primary-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #1c1410; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--primary-dark);
}
.burger svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta .btn { padding: 8px 14px; font-size: .9rem; }
}
@media (max-width: 520px) {
  .header-cta .btn-outline { display: none; }
  .brand span { font-size: 1.05rem; }
  .header-cta .btn { padding: 7px 12px; font-size: .85rem; }
}

/* mobile menu drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-110%);
  transition: transform .25s ease;
  z-index: 99;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-drawer nav > a {
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer nav > a.btn {
  color: #fff;
  padding: 12px 22px;
  border-bottom: 0;
  margin-top: 8px;
}
.mobile-drawer nav > a.btn-outline { color: var(--primary-dark); }
.mobile-drawer nav > a:last-of-type[href]:not(.btn) { border-bottom: 0; }

/* ---- Hero ---- */
.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 360px at 80% 0%, rgba(176,141,87,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__lede {
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 18px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__media {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.hero__media img { border-radius: 12px; }
.hero__chips { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero__chips span { font-size: .8rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.hero__chips img { height: 22px; width: auto; opacity: .85; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Ticker ---- */
.ticker {
  background: var(--primary-dark);
  color: #f1f4f7;
  font-size: .95rem;
  padding: 12px 0;
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  gap: 32px;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker span { white-space: nowrap; }
.ticker em { color: var(--accent); font-style: normal; font-weight: 600; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Generic blocks ---- */
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--text-muted); margin: 0 auto; max-width: 720px; }

.band { background: var(--bg-band); }
.band-dark {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
  color: var(--text-on-dark);
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card__icon {
  width: 48px; height: 48px;
  background: rgba(59, 79, 99, .08);
  color: var(--primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card__icon img { width: 26px; height: 26px; }
.band-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.band-dark .card__icon { background: rgba(176,141,87,.2); color: var(--accent); }

/* logos strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  padding: 28px 0 8px;
  opacity: .85;
}
.logos img {
  max-height: 32px;
  width: auto;
  filter: grayscale(1); opacity: .55;
  transition: filter .2s ease;
}
.logos img:hover { filter: none; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* notice */
.notice {
  background: rgba(176,141,87,.10);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.notice h3 { margin: 0 0 4px; color: var(--accent-dark); font-size: 1rem; }
.notice p { margin: 0; color: var(--text); font-size: .95rem; }

/* split: steps+notice */
.steps-with-side {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.steps-with-side .steps { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .steps-with-side { grid-template-columns: 1fr; }
  .steps-with-side .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-with-side .steps { grid-template-columns: 1fr; }
}

/* reviews */
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.review img {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
}
.review h3 { font-size: 1.05rem; margin: 0 0 6px; }
.review p { color: var(--text-muted); font-size: .95rem; }
.review__stars { color: var(--accent); margin-bottom: 10px; font-size: 1rem; }

/* features */
.feature h3 { color: var(--primary-dark); }
.band-dark .feature h3 { color: #fff; }
.feature .card__icon img { width: 28px; height: 28px; }

/* FAQ */
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}
.faq__q::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent-dark);
  transition: transform .2s ease;
}
.faq__item.is-open .faq__q::after { content: '−'; }
.faq__a {
  display: none;
  padding: 0 24px 18px;
  color: var(--text-muted);
}
.faq__item.is-open .faq__a { display: block; }

/* footer */
.site-footer {
  background: var(--primary-darker);
  color: #cbd2dc;
  padding: 56px 0 24px;
}
.site-footer a { color: #e4e9ef; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid .brand { color: #fff; }
.footer-grid .brand img { filter: brightness(0) invert(1); }
.legal {
  padding-top: 24px;
  font-size: .9rem;
  color: #8d97a4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.legal p { margin: 0; max-width: 920px; }
.copy { color: #8d97a4; font-size: .9rem; }

.disclaimer {
  background: #11181f;
  color: #8d97a4;
  font-size: .9rem;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.disclaimer p { margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 18px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
@media (max-width: 700px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}

/* forms */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form h2 { margin: 0 0 6px; font-size: 1.4rem; }
.form p.muted { color: var(--text-muted); margin: 0 0 20px; font-size: .95rem; }
.form .field { margin-bottom: 14px; }
.form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--primary-dark); }
.form input[type=text],
.form input[type=email],
.form input[type=password],
.form input[type=tel],
.form input[type=number],
.form textarea,
.form select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,79,99,.15);
}
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.form .submit { margin-top: 8px; }
.form .small { font-size: .82rem; color: var(--text-muted); margin-top: 10px; }
.form .error { color: #b03434; font-size: .85rem; margin-top: 4px; display: none; }
.form .field.is-error input,
.form .field.is-error select,
.form .field.is-error textarea { border-color: #b03434; }
.form .field.is-error .error { display: block; }
.form .success {
  background: rgba(46, 125, 50, .08);
  border: 1px solid rgba(46,125,50,.25);
  color: #1c5e21;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: none;
}
.form.is-sent .success { display: block; }
.form.is-sent .form-body { display: none; }

/* phone input with country selector (intl-tel-input-like) */
.iti {
  position: relative;
  display: block;
  width: 100%;
}
.iti input[type=tel] {
  padding-left: 84px;
}
.iti__flag-container {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  background: #f8fafc;
  border-radius: 10px 0 0 10px;
  user-select: none;
}
.iti__selected {
  display: flex; align-items: center; gap: 6px;
  font-size: .9rem; color: var(--text);
}
.iti__flag {
  width: 26px; height: 18px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  display: inline-block;
}
.iti__chev { font-size: .7rem; opacity: .65; }
.iti__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  width: 280px;
  display: none;
}
.iti.is-open .iti__list { display: block; }
.iti__search {
  position: sticky; top: 0;
  background: #fff;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.iti__search input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
}
.iti__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: .9rem;
}
.iti__opt:hover, .iti__opt.is-active { background: var(--bg-soft); }
.iti__opt .iti__flag { flex-shrink: 0; }
.iti__opt .name { flex: 1; color: var(--text); }
.iti__opt .code { color: var(--text-muted); }

/* breadcrumb */
.crumbs {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0 0 18px;
  padding-top: 32px;
}
.crumbs a { color: var(--text-muted); }
.crumbs span.sep { margin: 0 6px; color: var(--line); }

/* page hero */
.page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); max-width: 760px; margin: 0; font-size: 1.05rem; }

/* prose */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--bg-soft); color: var(--primary-dark); }

/* misc */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.lg { font-size: 1.1rem; }
.no-margin { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* contact info cards */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.info-card h3 { font-size: 1rem; margin: 0 0 6px; }
.info-card p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* tiered plans */
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan.is-featured {
  border-color: var(--accent);
  position: relative;
}
.plan.is-featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: #1c1410;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.plan h3 { margin: 0; }
.plan .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 8px 0 4px;
}
.plan .price small { font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.plan li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--text-muted); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: '✓ '; color: var(--accent-dark); font-weight: 700; }
