/* ==========================================================================
   BERTOLIS — feuille de style
   Palette : marine / doré / fond ivoire. Aucune librairie externe hors
   Google Fonts (voir index.html <head>).
   ========================================================================== */

:root {
  --marine: #2c3e57;
  --marine-dark: #1c2740;
  --marine-darker: #141b28;
  --gold: #c9a25e;
  --gold-light: #d8b569;
  --gold-dark: #a9812f;
  --cream: #faf8f3;
  --gold-pale: #f3e9d6;
  --line: rgba(44, 62, 87, 0.14);
  --line-gold: rgba(201, 162, 94, 0.45);

  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: "Cinzel", Georgia, serif;

  --container: 1180px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(14, 26, 51, 0.06), 0 8px 24px rgba(14, 26, 51, 0.07);
  --shadow-btn-gold: 0 0 0 1px rgba(201, 162, 94, 0.4), 0 1px 2px rgba(14, 26, 51, 0.06);
  --shadow-btn-outline: 0 0 0 1px rgba(44, 62, 87, 0.12), 0 1px 2px rgba(14, 26, 51, 0.05);
  --hero-gradient: linear-gradient(135deg, #0e1a33, #17284d 60%, #244067);
}

/* ---- reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--marine);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; margin: 0; color: var(--marine); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--marine);
  color: var(--cream);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- eyebrow / labels --------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.eyebrow--on-dark { color: var(--cream); }
.eyebrow--on-dark::before { background: var(--gold-light); }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--marine-darker);
  box-shadow: var(--shadow-btn-gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 0 0 1px rgba(216,181,105,0.55), 0 4px 14px rgba(14,26,51,0.16); }

.btn--outline-marine {
  background: var(--cream);
  border-color: var(--marine);
  color: var(--marine);
  box-shadow: var(--shadow-btn-outline);
}
.btn--outline-marine:hover { background: var(--marine); color: var(--cream); }

.btn--outline-cream {
  background: transparent;
  border-color: rgba(250, 248, 243, 0.55);
  color: var(--cream);
}
.btn--outline-cream:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--marine-darker); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: none;
  padding: 0 40px;
}

.logo-slot {
  display: flex;
  align-items: center;
  height: 46px;
  flex: none;
}
.logo-slot img { height: 100%; width: auto; }
.logo-text {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--marine);
  text-transform: uppercase;
  line-height: 1;
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav__links { display: flex; align-items: center; gap: 34px; }
.main-nav__links a {
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.main-nav__links a:hover { border-color: var(--gold); }
.main-nav__links a[aria-current="page"] {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}
.nav-cta.btn { padding: 11px 22px; font-size: 14px; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--marine);
}

.mobile-nav {
  display: none;
  background: var(--marine-darker);
  border-bottom: 1px solid var(--line-gold);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .container { padding-top: 20px; padding-bottom: 28px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid rgba(250, 248, 243, 0.1);
}
.mobile-nav a[aria-current="page"] { color: var(--gold-light); }
.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ---- bands / sections ----------------------------------------------------- */
.band { padding: 88px 0; }
.band--tight { padding: 64px 0; }
.band--marine { background: var(--marine); color: var(--cream); }
.band--marine h2, .band--marine h3, .band--marine h4 { color: var(--cream); }
.band--marine-darker { background: var(--marine-darker); color: var(--cream); }
.band--marine-darker h2, .band--marine-darker h3 { color: var(--cream); }
.band--gold-pale { background: var(--gold-pale); }
.band--cream { background: var(--cream); }

.band-head { max-width: 640px; margin-bottom: 52px; }
.band-head--wide { max-width: 760px; }
.band-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.18; margin-bottom: 18px; }
.band-head p { font-size: 17px; line-height: 1.7; }
.band--marine .band-head p, .band--marine-darker .band-head p { color: rgba(250, 248, 243, 0.82); }
.band--cream .band-head p, .band--gold-pale .band-head p { color: rgba(44, 62, 87, 0.82); }

.rule-gold {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0;
}

/* ---- hero ------------------------------------------------------------------ */
.hero-band {
  background: var(--hero-gradient);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 88px;
}
.mini-stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0 6px; }
.mini-stat { display: flex; flex-direction: column; }
.mini-stat strong { font-family: var(--font-title); font-size: 24px; font-weight: 600; color: var(--marine); line-height: 1.1; }
.mini-stat span { font-size: 12.5px; color: rgba(44, 62, 87, 0.65); margin-top: 2px; }
.mini-stats--on-dark .mini-stat strong { color: var(--gold-light); }
.mini-stats--on-dark .mini-stat span { color: rgba(250, 248, 243, 0.65); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 0;
}
.stat-item {
  padding: 0 30px;
  border-left: 1px solid rgba(216, 181, 105, 0.22);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item__num {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--gold-light);
  margin-bottom: 12px;
  line-height: 1;
}
.stat-item__label { font-size: 13.5px; line-height: 1.6; color: rgba(250, 248, 243, 0.68); }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold-pale);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--marine);
  margin-bottom: 22px;
}
.badge-tag__dot { width: 6px; height: 6px; background: var(--gold); flex: none; }

.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  margin-bottom: 26px;
  max-width: 15ch;
  color: var(--cream);
}
.hero__intro { font-size: 18px; line-height: 1.75; color: rgba(250, 248, 243, 0.78); max-width: 52ch; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
}
.hero__visual svg { width: 100%; height: 100%; }
.hero__visual--screenshot { padding: 0; align-items: stretch; flex-direction: column; aspect-ratio: auto; }
.hero__visual--screenshot img { width: 100%; height: auto; display: block; }

.browser-chrome__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eae7df;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.browser-chrome__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.browser-chrome__dot--red { background: #ec6a5e; }
.browser-chrome__dot--yellow { background: #f4bf4f; }
.browser-chrome__dot--green { background: #61c454; }

.detail-shot {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--cream);
}
.detail-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---- pillars ----------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 4px 8px rgba(14,26,51,0.08), 0 16px 32px rgba(14,26,51,0.1); }
.pillar__icon { color: var(--gold-dark); margin-bottom: 20px; }
.pillar__icon svg { width: 38px; height: 38px; transition: transform 0.2s ease; }
.pillar:hover .pillar__icon svg { transform: translateY(-3px); }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; color: rgba(44, 62, 87, 0.78); line-height: 1.65; }

/* ---- two-up "ce que nous faisons" --------------------------------------------- */
.two-up {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.two-up__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 30px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.two-up__item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 4px 8px rgba(14,26,51,0.08), 0 16px 32px rgba(14,26,51,0.1); }
.two-up__item h3 { font-size: 22px; margin-bottom: 14px; }
.two-up__item p { font-size: 15.5px; color: rgba(44, 62, 87, 0.8); line-height: 1.7; margin-bottom: 20px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--marine);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.link-arrow svg { width: 15px; height: 15px; }

/* ---- method steps -------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 0 32px 0 0;
  border-left: 1px solid var(--line-gold);
  padding-left: 32px;
}
.step:first-child { border-left: 0; padding-left: 0; }
.step__num {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 12px; }
.step p { font-size: 15px; color: rgba(250, 248, 243, 0.78); line-height: 1.7; }

/* ---- solution block (Nexus RH teaser on Accueil) --------------------------------- */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line-gold);
  background: var(--cream);
  padding: 56px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.solution-block h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.solution-block p { font-size: 16.5px; line-height: 1.75; color: rgba(44, 62, 87, 0.82); margin-bottom: 8px; }
.solution-block__figure { aspect-ratio: auto; }
.solution-block__figure.detail-shot img { height: auto; }
.solution-block__figure--icon {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-gold);
  background: var(--marine-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: var(--radius-lg);
}
.solution-block__figure--icon svg { width: 100%; height: 100%; }

/* ---- final CTA band --------------------------------------------------------------- */
.cta-band { text-align: left; }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 2.8vw, 32px); max-width: 20ch; }

/* ---- principles / cards grids ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 4px 8px rgba(14,26,51,0.08), 0 16px 32px rgba(14,26,51,0.1); }
.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { font-size: 15px; color: rgba(44, 62, 87, 0.78); line-height: 1.65; }
.band--gold-pale .card { background: var(--cream); border-color: rgba(44,62,87,0.1); }
.band--gold-pale .card:hover { border-color: var(--gold); }

.screenshot-frame {
  border: 1px solid var(--line-gold);
  background: var(--cream);
  line-height: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.screenshot-frame img { width: 100%; height: auto; display: block; }
.screenshot-caption {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(44, 62, 87, 0.6);
  text-align: center;
}

.split-with-image {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-with-image .detail-shot { aspect-ratio: 745 / 340; }

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 48px;
}
.check-item { display: flex; align-items: flex-start; gap: 14px; }
.check-item svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold-dark); }
.check-item p { font-size: 15px; line-height: 1.65; color: rgba(44, 62, 87, 0.82); }

.mini-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mini-list .check-item svg { width: 16px; height: 16px; margin-top: 3px; }
.mini-list .check-item p { font-size: 14px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--cream);
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { background: var(--gold-pale); transform: translateY(-4px); box-shadow: 0 4px 8px rgba(14,26,51,0.08), 0 16px 32px rgba(14,26,51,0.1); }
a.feature-card { display: block; text-decoration: none; color: inherit; }
.feature-card .link-arrow { margin-top: 16px; }
.feature-card__icon { color: var(--gold-dark); margin-bottom: 18px; }
.feature-card__icon svg { width: 34px; height: 34px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: rgba(44, 62, 87, 0.78); line-height: 1.65; }

/* ---- multi-plateforme badges ---------------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-gold);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
}
.badge svg { width: 22px; height: 22px; color: var(--gold-dark); }

/* ---- contact page ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card {
  border: 1px dashed var(--gold-dark);
  padding: 30px 26px;
}
.contact-card__icon { color: var(--marine); margin-bottom: 18px; }
.contact-card__icon svg { width: 30px; height: 30px; }
.contact-card h3 {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 14px;
}
.contact-card__value { font-size: 17px; font-weight: 500; color: var(--marine); margin-bottom: 12px; }
.contact-card__note {
  font-size: 13px;
  font-style: italic;
  color: var(--gold-dark);
}

.type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0 8px;
}
.type-option { display: block; cursor: pointer; }
.type-option input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.type-option__card {
  display: block;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.type-option:hover .type-option__card { transform: translateY(-3px); border-color: var(--gold); }
.type-option__icon { display: block; color: var(--gold-dark); margin-bottom: 16px; }
.type-option__icon svg { width: 32px; height: 32px; }
.type-option__title {
  display: block;
  font-family: var(--font-title); font-weight: 600; font-size: 18px;
  color: var(--marine); margin-bottom: 8px;
}
.type-option__desc { display: block; font-size: 14px; line-height: 1.5; color: rgba(44, 62, 87, 0.72); }
.type-option input:checked + .type-option__card {
  border-color: var(--gold);
  border-width: 1.5px;
  background: var(--gold-pale);
}
.type-option input:focus-visible + .type-option__card {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.form-fields { margin-top: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 13.5px; font-weight: 600;
  color: var(--marine);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--marine);
  border-radius: var(--radius);
}
.form-field textarea { resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
  border-color: var(--gold-dark);
}
.form-group {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.form-note { font-size: 13px; color: rgba(44, 62, 87, 0.6); margin: 4px 0 20px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field--consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px; }
.form-field--consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold-dark); }
.form-field--consent label { font-size: 13.5px; font-weight: 400; color: rgba(44, 62, 87, 0.78); line-height: 1.55; margin-bottom: 0; }
.form-field--consent a { text-decoration: underline; }
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.6;
}
.form-status--success { background: var(--gold-pale); border: 1px solid var(--line-gold); color: var(--marine); }
.form-status--error { background: #fbeceb; border: 1px solid #e6b6b1; color: #7a2d24; }

.contact-secondary {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}
.contact-secondary h3 { font-size: 21px; margin-bottom: 10px; }
.contact-secondary p { font-size: 15px; color: rgba(44, 62, 87, 0.78); max-width: 46ch; }
.contact-secondary .btn-row { margin-top: 0; }

/* ---- footer -------------------------------------------------------------------------- */
.site-footer {
  background: var(--marine-darker);
  color: rgba(250, 248, 243, 0.82);
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 380px;
  height: 380px;
  background: url("../assets/icon-mark.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.site-footer .container { position: relative; padding-top: 56px; padding-bottom: 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-top .logo-text { color: var(--cream); }
.footer-tagline { margin-top: 16px; font-size: 14.5px; line-height: 1.7; color: rgba(250, 248, 243, 0.62); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(250, 248, 243, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(250, 248, 243, 0.55);
}

/* ---- responsive ------------------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .hero__visual { aspect-ratio: 16 / 9; }
  .hero__visual--screenshot { order: -1; aspect-ratio: auto; }
  .pillars, .two-up, .steps, .card-grid, .feature-grid, .check-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-gold); padding-top: 26px; margin-top: 26px; }
  .step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
  .solution-block { grid-template-columns: 1fr; padding: 32px; }
  .solution-block__figure { order: -1; max-width: 260px; margin: 0 auto; }
  .solution-block__figure.detail-shot { max-width: 420px; }
  .split-with-image { grid-template-columns: 1fr; }
  .split-with-image .detail-shot { order: -1; max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .type-selector, .form-row { grid-template-columns: 1fr; }
}

.mobile-contact-cta { display: none; }

@media (max-width: 760px) {
  .main-nav__links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .band { padding: 60px 0; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .contact-secondary { align-items: flex-start; }
  a.link-arrow { padding: 10px 0; margin: -10px 0; }

  .mobile-contact-cta {
    display: flex;
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    border-color: var(--marine-darker);
  }
}
