/* ============================================================
   Swan Partners — Design System
   AH Creative — v1.0.0
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Brand Colors */
  --sp-burgundy:        #401415;
  --sp-burgundy-mid:    #632528;
  --sp-gold:            #C9A84C;

  /* Backgrounds */
  --sp-bg-page:         #FBFAF8;
  --sp-bg-section-alt:  #F4F2EE;
  --sp-bg-card:         #FFFFFF;
  --sp-bg-dark:         #401415;

  /* UI Neutrals */
  --sp-border:          #E0E7EC;
  --sp-concrete:        #BBBDC0;
  --sp-dusty-blue:      #ACBFCC;
  --sp-glacier:         #E0E7EC;

  /* Text */
  --sp-text-primary:    #401415;
  --sp-text-body:       #3a3030;
  --sp-text-muted:      #7a6f6f;
  --sp-text-on-dark:    #FBFAF8;

  /* Typography */
  --sp-font:            'DM Sans', sans-serif;
  --sp-font-display:    'Cormorant Garamond', Georgia, serif;
  --sp-text-xs:         0.75rem;
  --sp-text-sm:         0.875rem;
  --sp-text-base:       1rem;
  --sp-text-md:         1.125rem;
  --sp-text-lg:         1.375rem;
  --sp-text-xl:         1.75rem;
  --sp-text-2xl:        2.25rem;
  --sp-text-3xl:        3rem;
  --sp-text-4xl:        4rem;

  --sp-weight-light:    300;
  --sp-weight-regular:  400;
  --sp-weight-medium:   500;
  --sp-weight-bold:     700;

  --sp-leading-tight:   1.1;
  --sp-leading-snug:    1.3;
  --sp-leading-normal:  1.6;
  --sp-leading-loose:   1.8;

  --sp-tracking-wide:   0.08em;
  --sp-tracking-wider:  0.15em;

  /* Spacing */
  --sp-space-1:   8px;
  --sp-space-2:   16px;
  --sp-space-3:   24px;
  --sp-space-4:   32px;
  --sp-space-5:   48px;
  --sp-space-6:   64px;
  --sp-space-7:   80px;
  --sp-space-8:   96px;
  --sp-space-9:   120px;
  --sp-space-10:  160px;

  /* Layout */
  --sp-max-width:          1400px;
  --sp-section-padding-y:  120px;
  --sp-gap-grid:           32px;
}


/* ── Base Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--sp-font);
  font-size: var(--sp-text-base);
  color: var(--sp-text-body);
  background-color: var(--sp-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--sp-leading-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ── Elementor Global Overrides ── */
.e-con,
.e-con-inner,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-button,
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
  border-radius: 0 !important;
}

.e-con,
.elementor-widget-container {
  box-shadow: none !important;
}

.elementor-page,
#page {
  background-color: var(--sp-bg-page);
}


/* ── Typography Classes ── */
.sp-h1 {
  font-family: var(--sp-font);
  font-size: var(--sp-text-4xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-tight);
  letter-spacing: -0.02em;
}

.sp-h2 {
  font-family: var(--sp-font);
  font-size: var(--sp-text-2xl);
  font-weight: var(--sp-weight-regular);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
}

.sp-h3 {
  font-family: var(--sp-font);
  font-size: var(--sp-text-lg);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
}

.sp-eyebrow {
  display: block;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-concrete);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--sp-space-2);
}

.sp-lead {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
}

.sp-caption {
  font-size: var(--sp-text-sm);
  color: var(--sp-text-muted);
  line-height: var(--sp-leading-normal);
}

.sp-text-on-dark,
.sp-section--dark .elementor-heading-title,
.sp-section--dark .elementor-widget-text-editor,
.sp-section--dark p {
  color: var(--sp-text-on-dark);
}


/* ── Section & Container Classes ── */
.sp-section {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

.sp-section--sm {
  padding-top: var(--sp-space-7);
  padding-bottom: var(--sp-space-7);
}

.sp-section--light {
  background-color: var(--sp-bg-page);
}

.sp-section--alt {
  background-color: var(--sp-bg-section-alt);
}

.sp-section--dark {
  background-color: var(--sp-bg-dark);
}

.sp-container {
  max-width: var(--sp-max-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-space-4);
  padding-right: var(--sp-space-4);
}

@media (max-width: 768px) {
  .sp-container {
    padding-left: var(--sp-space-2);
    padding-right: var(--sp-space-2);
  }
  .sp-section {
    padding-top: var(--sp-space-7);
    padding-bottom: var(--sp-space-7);
  }
}


/* ── Decorative Elements ── */
.sp-title-accent {
  border-left: 2px solid var(--sp-burgundy);
  padding-left: var(--sp-space-3);
}

.sp-divider {
  border: none;
  border-top: 1px solid var(--sp-border);
  margin: var(--sp-space-5) 0;
}

.sp-card {
  background-color: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  padding: var(--sp-space-4);
  transition: border-color 0.3s ease;
}
.sp-card:hover {
  border-color: var(--sp-burgundy);
}

.sp-stat-number {
  font-size: var(--sp-text-3xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-burgundy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sp-stat-label {
  font-size: var(--sp-text-sm);
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--sp-tracking-wide);
  margin-top: var(--sp-space-1);
}

.sp-card-accent {
  border-top: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.sp-card-accent:hover {
  border-top-color: var(--sp-burgundy);
}


/* ── Button Classes ── */
.sp-btn-primary .elementor-button {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
  font-family: var(--sp-font);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 14px 32px;
  transition: background-color 0.3s ease;
}
.sp-btn-primary .elementor-button:hover {
  background-color: var(--sp-burgundy-mid);
}

.sp-btn-ghost .elementor-button {
  background-color: transparent;
  color: var(--sp-burgundy);
  font-family: var(--sp-font);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  border: 1px solid var(--sp-burgundy);
  border-radius: 0;
  padding: 13px 31px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sp-btn-ghost .elementor-button:hover {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
}

.sp-section--dark .sp-btn-ghost .elementor-button {
  color: var(--sp-text-on-dark);
  border-color: var(--sp-text-on-dark);
}
.sp-section--dark .sp-btn-ghost .elementor-button:hover {
  background-color: var(--sp-text-on-dark);
  color: var(--sp-burgundy);
}


/* ── Heading Widget Overrides ── */
.elementor-heading-title {
  font-family: var(--sp-font);
  line-height: var(--sp-leading-snug);
  margin: 0;
}

.elementor-size-xl  .elementor-heading-title { font-size: var(--sp-text-2xl); }
.elementor-size-xxl .elementor-heading-title { font-size: var(--sp-text-3xl); }


/* ── Image Widget ── */
.elementor-widget-image img,
.elementor-widget-image-box img {
  border-radius: 0;
  box-shadow: none;
}

.sp-img-accent .elementor-widget-image img {
  border-left: 3px solid var(--sp-burgundy);
}


/* ── Hero Widget ── */
.sp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.55;
  pointer-events: none;
}

.sp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 120px var(--sp-space-4) var(--sp-space-9);
  display: flex;
  align-items: flex-start;
}

.sp-hero__content {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-3);
}

.sp-hero__eyebrow {
  color: rgba(251, 250, 248, 0.6);
}

.sp-hero__heading {
  font-family: var(--sp-font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-on-dark);
  line-height: var(--sp-leading-tight);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-hero__heading span {
  font-style: italic;
  color: var(--sp-gold);
}

.sp-hero__description {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: rgba(251, 250, 248, 0.8);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-space-2);
  margin-top: var(--sp-space-1);
}

/* Primary — solid dark (burgundy) */
.sp-hero__btn {
  display: inline-block;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Primary — light bg, primary text */
.sp-hero__btn--primary {
  background-color: var(--sp-bg-page);
  color: var(--sp-burgundy);
  border: 1px solid var(--sp-bg-page);
  font-weight: var(--sp-weight-bold);
}
.sp-hero__btn--primary:hover {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
  border-color: var(--sp-burgundy);
}

/* Ghost — light border, light text */
.sp-hero__btn--ghost {
  background-color: transparent;
  color: var(--sp-text-on-dark);
  border: 1px solid rgba(251, 250, 248, 0.6);
  font-weight: var(--sp-weight-bold);
}
.sp-hero__btn--ghost:hover {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
  border-color: var(--sp-burgundy);
}

@media (max-width: 768px) {
  .sp-hero__heading {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
  .sp-hero__inner {
    padding: 120px var(--sp-space-2) var(--sp-space-7);
    justify-content: center;
  }
  .sp-hero__content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .sp-hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .sp-hero__btn {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
}


/* ── Intro Widget ── */
.sp-intro {
  background-color: var(--sp-bg-section-alt);
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

.sp-intro__inner {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-8);
}

/* 2-col header */
.sp-intro__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-gap-grid);
  align-items: start;
}

.sp-intro__header-left .sp-eyebrow {
  color: var(--sp-text-muted);
}

.sp-intro__title {
  font-family: var(--sp-font-display);
  font-size: clamp(2.25rem, 4vw, 3.125rem);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.01em;
  margin: var(--sp-space-1) 0 0;
}

.sp-intro__title span {
  font-style: italic;
  color: var(--sp-gold);
}

.sp-intro__description {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0;
  padding-top: var(--sp-space-5);
  white-space: pre-line;
}

/* 4-col grid */
.sp-intro__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sp-intro__item {
  padding: var(--sp-space-6) var(--sp-space-6);
  border-right: 1px solid var(--sp-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-3);
}

.sp-intro__item:first-child { padding-left: 0; }
.sp-intro__item:last-child  { border-right: none; }

.sp-intro__item-number {
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-gold);
  letter-spacing: var(--sp-tracking-wider);
}

.sp-intro__item-label {
  font-family: var(--sp-font);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-snug);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  margin: 0;
}

.sp-intro__item-detail {
  font-size: var(--sp-text-sm);
  color: var(--sp-text-muted);
  line-height: var(--sp-leading-normal);
  margin: 0;
}

@media (max-width: 900px) {
  .sp-intro__header {
    grid-template-columns: 1fr;
  }
  .sp-intro__description {
    padding-top: 0;
  }
  .sp-intro__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-intro__item:nth-child(2) { border-right: none; }
  .sp-intro__item:nth-child(3) { border-right: 1px solid var(--sp-border); padding-left: 0; }
  .sp-intro__item:nth-child(4) { border-right: none; }
}

@media (max-width: 540px) {
  .sp-intro__grid {
    grid-template-columns: 1fr;
  }
  .sp-intro__item {
    border-right: none;
    border-bottom: 1px solid var(--sp-border);
    padding-left: 0;
  }
  .sp-intro__item:last-child { border-bottom: none; }
}


/* ── Notre Approche Widget ── */
.sp-approche {
  background-color: var(--sp-bg-dark);
  overflow: hidden;
}

.sp-approche__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 600px;
}

/* Left image — stretches to match content column height */
.sp-approche__image-col {
  overflow: hidden;
  align-self: stretch;
}

.sp-approche__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sp-approche__image-placeholder {
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.05);
}

/* Right content column */
.sp-approche__content-col {
  padding: var(--sp-space-9) var(--sp-space-8) var(--sp-space-9) var(--sp-space-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-space-3);
  max-width: 900px;
}

.sp-approche__eyebrow {
  color: rgba(251, 250, 248, 0.5);
}

.sp-approche__title {
  font-family: var(--sp-font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-on-dark);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.01em;
  margin: 0;
}

.sp-approche__title span {
  font-style: italic;
  color: var(--sp-gold);
}

.sp-approche__description {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: rgba(251, 250, 248, 0.75);
  line-height: var(--sp-leading-loose);
  margin: 0;
  white-space: pre-line;
}

/* Highlighted quote — left border accent */
.sp-approche__highlighted {
  font-family: var(--sp-font-display);
  font-size: var(--sp-text-2xl);
  font-style: italic;
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-on-dark);
  line-height: var(--sp-leading-snug);
  border-left: 2px solid var(--sp-gold);
  padding-left: var(--sp-space-3);
  margin: var(--sp-space-1) 0;
}

/* Button — solid white, primary text */
.sp-approche__btn {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-bold);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  background-color: var(--sp-bg-page);
  color: var(--sp-burgundy);
  border: 1px solid var(--sp-bg-page);
  padding: 14px 32px;
  margin-top: var(--sp-space-1);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.sp-approche__btn:hover {
  background-color: transparent;
  border-color: var(--sp-bg-page);
  color: var(--sp-text-on-dark);
}

@media (max-width: 900px) {
  .sp-approche__inner {
    grid-template-columns: 1fr;
  }
  .sp-approche__image-col {
    min-height: 360px;
  }
  .sp-approche__content-col {
    padding: var(--sp-space-7) var(--sp-space-4);
  }
}


/* ════════════════════════════════════════════
   SP — Approche Page Widget
   ════════════════════════════════════════════ */

/* ── Constrained wrapper ── */
.sp-ap-page__wrap {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

/* ── Intro two-column ── */
.sp-ap-page__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-space-7);
  align-items: start;
  padding-bottom: var(--sp-space-8);
}

.sp-ap-page__eyebrow {
  display: block;
  margin-bottom: var(--sp-space-2);
}

.sp-ap-page__title {
  font-family: var(--sp-font);
  font-size: clamp(1.75rem, 3vw, var(--sp-text-3xl));
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-ap-page__intro-right {
  padding-top: var(--sp-space-5);
}

.sp-ap-page__body p {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0 0 var(--sp-space-3);
}

.sp-ap-page__body p:last-child {
  margin-bottom: 0;
}

/* ── Separator ── */
.sp-ap-page__sep {
  height: 1px;
  background-color: var(--sp-border);
}

/* ── Principes section ── */
.sp-ap-page__principes {
  padding-top: var(--sp-space-8);
}

.sp-ap-page__principes-header {
  margin-bottom: var(--sp-space-6);
}

.sp-ap-page__principes-eyebrow {
  display: block;
  margin-bottom: var(--sp-space-2);
}

.sp-ap-page__principes-title {
  font-family: var(--sp-font);
  font-size: var(--sp-text-2xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 560px;
}

/* ── Grid ── */
.sp-ap-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* ── Card ── */
.sp-ap-page__card {
  position: relative;
  border-left: 1px solid var(--sp-border);
  overflow: hidden;
  cursor: default;
}

.sp-ap-page__card:last-child {
  border-right: 1px solid var(--sp-border);
}

/* Background image layer — hidden by default */
.sp-ap-page__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Dark overlay on top of image */
.sp-ap-page__card--has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(64, 20, 21, 0.72);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

/* Hover: reveal image + overlay */
.sp-ap-page__card--has-img:hover .sp-ap-page__card-bg {
  opacity: 1;
  transform: scale(1);
}

.sp-ap-page__card--has-img:hover::after {
  opacity: 1;
}

/* Content sits above image layers */
.sp-ap-page__card-inner {
  position: relative;
  z-index: 2;
  padding: var(--sp-space-6) var(--sp-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-4);
  min-height: 340px;
  transition: color 0.4s ease;
}

/* Number */
.sp-ap-page__card-number {
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-concrete);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  transition: color 0.4s ease;
  flex-shrink: 0;
}

.sp-ap-page__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-2);
  margin-top: auto;
}

/* Title */
.sp-ap-page__card-title {
  font-family: var(--sp-font);
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  margin: 0;
  transition: color 0.4s ease;
}

/* Description */
.sp-ap-page__card-desc {
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0;
  opacity: 0.9;
  transition: color 0.4s ease, opacity 0.4s ease;
}

/* Hover text colors — flip to on-dark */
.sp-ap-page__card--has-img:hover .sp-ap-page__card-number {
  color: rgba(251, 250, 248, 0.45);
}

.sp-ap-page__card--has-img:hover .sp-ap-page__card-title {
  color: var(--sp-text-on-dark);
}

.sp-ap-page__card--has-img:hover .sp-ap-page__card-desc {
  color: rgba(251, 250, 248, 0.8);
  opacity: 1;
}

/* Top accent line on hover */
.sp-ap-page__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--sp-burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.sp-ap-page__card:hover::before {
  transform: scaleX(1);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .sp-ap-page__wrap {
    padding-top: var(--sp-space-7);
    padding-bottom: var(--sp-space-7);
  }

  .sp-ap-page__intro {
    grid-template-columns: 1fr;
    gap: var(--sp-space-4);
    padding-bottom: var(--sp-space-5);
  }

  .sp-ap-page__intro-right {
    padding-top: 0;
  }

  .sp-ap-page__grid {
    grid-template-columns: 1fr;
  }

  .sp-ap-page__card {
    border-left: none;
    border-top: 1px solid var(--sp-border);
  }

  .sp-ap-page__card:last-child {
    border-right: none;
    border-bottom: 1px solid var(--sp-border);
  }

  .sp-ap-page__card-inner {
    min-height: 240px;
    padding: var(--sp-space-5) var(--sp-space-3);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .sp-ap-page__card-inner {
    padding: var(--sp-space-5) var(--sp-space-4);
    min-height: 300px;
  }
}


/* ════════════════════════════════════════════
   SP — Expertises Page Widget
   ════════════════════════════════════════════ */

.sp-exp-page__wrap {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

/* ── Intro — mirrors approche-page ── */
.sp-exp-page__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-space-7);
  align-items: start;
  padding-bottom: var(--sp-space-8);
}

.sp-exp-page__eyebrow {
  display: block;
  margin-bottom: var(--sp-space-2);
}

.sp-exp-page__title {
  font-family: var(--sp-font);
  font-size: clamp(1.75rem, 3vw, var(--sp-text-3xl));
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-exp-page__intro-right {
  padding-top: var(--sp-space-5);
}

.sp-exp-page__body p {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0 0 var(--sp-space-3);
}

.sp-exp-page__body p:last-child {
  margin-bottom: 0;
}

/* ── Separator ── */
.sp-exp-page__sep {
  height: 1px;
  background-color: var(--sp-border);
}

/* ── Phases stack ── */
.sp-exp-page__phases {
  padding-top: var(--sp-space-8);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Single phase block ── */
.sp-exp-page__phase {
  position: relative;
  padding: var(--sp-space-8) 0;
  border-bottom: 1px solid var(--sp-border);
  overflow: hidden;
}


/* ── Header row: number label + title ── */
.sp-exp-page__phase-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-1);
  margin-bottom: var(--sp-space-5);
}

.sp-exp-page__phase-number {
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-concrete);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  flex-shrink: 0;
}

.sp-exp-page__phase-title {
  font-family: var(--sp-font);
  font-size: var(--sp-text-2xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-tight);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ── Body: image + content side by side ── */
.sp-exp-page__phase-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-space-6);
  align-items: start;
}

/* ── Image ── */
.sp-exp-page__phase-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sp-exp-page__phase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sp-exp-page__phase:hover .sp-exp-page__phase-img {
  transform: scale(1.03);
}

/* ── Content column ── */
.sp-exp-page__phase-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-3);
  padding-top: var(--sp-space-1);
}

.sp-exp-page__phase-content--full {
  grid-column: 1 / -1;
}

.sp-exp-page__phase-tagline {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: var(--sp-burgundy);
  line-height: var(--sp-leading-snug);
  margin: 0;
  font-style: italic;
}

.sp-exp-page__phase-desc {
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-muted);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

/* ── Items list ── */
.sp-exp-page__phase-list {
  list-style: none;
  margin: var(--sp-space-1) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-exp-page__phase-item {
  display: flex;
  align-items: center;
  gap: var(--sp-space-2);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-normal);
  padding: 10px 0;
  border-bottom: 1px solid var(--sp-border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sp-exp-page__phase-item:last-child {
  border-bottom: none;
}

.sp-exp-page__phase-item:hover {
  color: var(--sp-text-primary);
  padding-left: 4px;
}

/* SVG arrow icon */
.sp-exp-page__phase-item-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--sp-burgundy);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sp-exp-page__phase-item:hover .sp-exp-page__phase-item-icon {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .sp-exp-page__wrap {
    padding-top: var(--sp-space-7);
    padding-bottom: var(--sp-space-7);
  }

  .sp-exp-page__intro {
    grid-template-columns: 1fr;
    gap: var(--sp-space-4);
    padding-bottom: var(--sp-space-5);
  }

  .sp-exp-page__intro-right {
    padding-top: 0;
  }

  .sp-exp-page__phase {
    padding: var(--sp-space-6) 0;
  }


  .sp-exp-page__phase-header {
    flex-direction: column;
    gap: var(--sp-space-1);
    margin-bottom: var(--sp-space-4);
  }

  .sp-exp-page__phase-title {
    font-size: var(--sp-text-xl);
  }

  .sp-exp-page__phase-body {
    grid-template-columns: 1fr;
    gap: var(--sp-space-4);
  }

  .sp-exp-page__phase-img-wrap {
    aspect-ratio: 16 / 9;
  }
}


/* ════════════════════════════════════════════
   SP — Pour Qui Page Widget
   ════════════════════════════════════════════ */

.sp-pq-page__wrap {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

/* ── Intro — same pattern as other pages ── */
.sp-pq-page__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-space-7);
  align-items: start;
  padding-bottom: var(--sp-space-8);
}

.sp-pq-page__eyebrow {
  display: block;
  margin-bottom: var(--sp-space-2);
}

.sp-pq-page__title {
  font-family: var(--sp-font);
  font-size: clamp(1.75rem, 3vw, var(--sp-text-3xl));
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-pq-page__intro-right {
  padding-top: var(--sp-space-5);
}

.sp-pq-page__body p,
.sp-pq-page__profil-body p {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0 0 var(--sp-space-3);
}

.sp-pq-page__body p:last-child,
.sp-pq-page__profil-body p:last-child {
  margin-bottom: 0;
}

/* ── Separator ── */
.sp-pq-page__sep {
  height: 1px;
  background-color: var(--sp-border);
}

/* ── Profils stack ── */
.sp-pq-page__profils {
  padding-top: var(--sp-space-8);
  display: flex;
  flex-direction: column;
}

/* ── Single profil row ── */
.sp-pq-page__profil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--sp-border);
  overflow: hidden;
}

/* Alternate layout: image right on even profils */
.sp-pq-page__profil--reverse {
  direction: rtl;
}

.sp-pq-page__profil--reverse > * {
  direction: ltr;
}

/* ── Image column ── */
.sp-pq-page__profil-img-col {
  overflow: hidden;
}

.sp-pq-page__profil-img-wrap {
  width: 100%;
  height: 100%;
}

.sp-pq-page__profil-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.sp-pq-page__profil:hover .sp-pq-page__profil-img {
  transform: scale(1.03);
}

.sp-pq-page__profil-img-placeholder {
  width: 100%;
  min-height: 420px;
  background-color: var(--sp-bg-section-alt);
}

/* ── Content column ── */
.sp-pq-page__profil-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-space-3);
  padding: var(--sp-space-8) var(--sp-space-7);
}

.sp-pq-page__profil-number {
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-concrete);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
}

.sp-pq-page__profil-title {
  font-family: var(--sp-font);
  font-size: var(--sp-text-xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-pq-page__profil-tagline {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-burgundy);
  line-height: var(--sp-leading-snug);
  font-style: italic;
  margin: 0;
  padding-left: var(--sp-space-3);
  border-left: 2px solid var(--sp-burgundy);
}

.sp-pq-page__profil-body {
  margin-top: var(--sp-space-1);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .sp-pq-page__wrap {
    padding-top: var(--sp-space-7);
    padding-bottom: var(--sp-space-7);
  }

  .sp-pq-page__intro {
    grid-template-columns: 1fr;
    gap: var(--sp-space-4);
    padding-bottom: var(--sp-space-5);
  }

  .sp-pq-page__intro-right {
    padding-top: 0;
  }

  .sp-pq-page__profil,
  .sp-pq-page__profil--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .sp-pq-page__profil-img {
    min-height: 280px;
  }

  .sp-pq-page__profil-img-placeholder {
    min-height: 280px;
  }

  .sp-pq-page__profil-content {
    padding: var(--sp-space-5) var(--sp-space-3);
    gap: var(--sp-space-2);
  }
}


/* ════════════════════════════════════════════
   SP — Contact Page Widget
   ════════════════════════════════════════════ */

.sp-contact-page__wrap {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

/* ── Intro ── */
.sp-contact-page__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-space-7);
  align-items: start;
  padding-bottom: var(--sp-space-8);
}

.sp-contact-page__eyebrow {
  display: block;
  margin-bottom: var(--sp-space-2);
}

.sp-contact-page__title {
  font-family: var(--sp-font);
  font-size: clamp(1.75rem, 3vw, var(--sp-text-3xl));
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}

.sp-contact-page__intro-right {
  padding-top: var(--sp-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-3);
}

.sp-contact-page__intro-body p {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

.sp-contact-page__confidential {
  display: flex;
  align-items: center;
  gap: var(--sp-space-1);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-muted);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  margin: 0;
}

.sp-contact-page__lock-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--sp-concrete);
}

/* ── Separator ── */
.sp-contact-page__sep {
  height: 1px;
  background-color: var(--sp-border);
}

/* ── Main grid: form + info ── */
.sp-contact-page__main {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: var(--sp-space-9);
  align-items: start;
  padding-top: var(--sp-space-8);
}

/* ── Form column ── */
.sp-contact-page__form-placeholder {
  padding: var(--sp-space-6);
  border: 1px dashed var(--sp-border);
  color: var(--sp-text-muted);
  font-size: var(--sp-text-sm);
}

/* Forminator field overrides */
.sp-contact-page__form-col .forminator-field input,
.sp-contact-page__form-col .forminator-field textarea,
.sp-contact-page__form-col .forminator-field select {
  font-family: var(--sp-font) !important;
  font-size: var(--sp-text-sm) !important;
  color: var(--sp-text-body) !important;
  background-color: var(--sp-bg-page) !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  transition: border-color 0.2s ease !important;
  box-shadow: none !important;
  width: 100% !important;
}

.sp-contact-page__form-col .forminator-field input:focus,
.sp-contact-page__form-col .forminator-field textarea:focus,
.sp-contact-page__form-col .forminator-field select:focus {
  border-color: var(--sp-burgundy) !important;
  outline: none !important;
}

.sp-contact-page__form-col .forminator-field label,
.sp-contact-page__form-col .forminator-label {
  font-family: var(--sp-font) !important;
  font-size: var(--sp-text-xs) !important;
  font-weight: var(--sp-weight-medium) !important;
  color: var(--sp-text-primary) !important;
  letter-spacing: var(--sp-tracking-wide) !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.sp-contact-page__form-col .forminator-button-submit,
.sp-contact-page__form-col button[type="submit"] {
  font-family: var(--sp-font) !important;
  font-size: var(--sp-text-xs) !important;
  font-weight: var(--sp-weight-medium) !important;
  letter-spacing: var(--sp-tracking-wider) !important;
  text-transform: uppercase !important;
  background-color: var(--sp-burgundy) !important;
  color: var(--sp-text-on-dark) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 40px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  box-shadow: none !important;
}

.sp-contact-page__form-col .forminator-button-submit:hover,
.sp-contact-page__form-col button[type="submit"]:hover {
  background-color: var(--sp-burgundy-mid) !important;
}

/* ── Info column ── */
.sp-contact-page__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-4);
  padding: var(--sp-space-5);
  border: 1px solid var(--sp-border);
  position: sticky;
  top: var(--sp-space-5);
}

.sp-contact-page__info-brand {
  font-family: var(--sp-font);
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  margin: 0;
}

.sp-contact-page__info-desc {
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

.sp-contact-page__info-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-2);
  padding-top: var(--sp-space-3);
  border-top: 1px solid var(--sp-border);
}

.sp-contact-page__info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-space-2);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-normal);
}

.sp-contact-page__info-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--sp-burgundy);
  margin-top: 1px;
}

.sp-contact-page__info-email {
  color: var(--sp-text-body);
  transition: color 0.2s ease;
}

.sp-contact-page__info-email:hover {
  color: var(--sp-burgundy);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .sp-contact-page__wrap {
    padding-top: var(--sp-space-7);
    padding-bottom: var(--sp-space-7);
  }

  .sp-contact-page__intro {
    grid-template-columns: 1fr;
    gap: var(--sp-space-4);
    padding-bottom: var(--sp-space-5);
  }

  .sp-contact-page__intro-right {
    padding-top: 0;
  }

  .sp-contact-page__main {
    grid-template-columns: 1fr;
    gap: var(--sp-space-6);
  }

  .sp-contact-page__info {
    position: static;
  }
}


/* ── Phases Widget ── */
.sp-phases {
  background-color: var(--sp-bg-section-alt);
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

.sp-phases__inner {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-6);
}

/* Stacked header */
.sp-phases__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-2);
  max-width: 720px;
}

.sp-phases__title {
  font-family: var(--sp-font-display);
  font-size: clamp(2.25rem, 4vw, 3.125rem);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.01em;
  margin: 0;
}

.sp-phases__title span {
  font-style: italic;
  color: var(--sp-gold);
}

.sp-phases__description {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-body);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

/* 3-col grid — same border system as Intro */
.sp-phases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sp-phases__item {
  padding: var(--sp-space-7) var(--sp-space-7);
  border-right: 1px solid var(--sp-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-space-3);
}

.sp-phases__item:first-child { padding-left: var(--sp-space-7); }
.sp-phases__item:last-child  { border-right: none; }

.sp-phases__number {
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-gold);
  letter-spacing: var(--sp-tracking-wider);
}

.sp-phases__label {
  font-family: var(--sp-font-display);
  font-size: var(--sp-text-xl);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-body);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  margin: 0;
}

.sp-phases__detail {
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-muted);
  line-height: var(--sp-leading-loose);
  margin: 0;
}

/* Centred CTA */
.sp-phases__cta {
  display: flex;
  justify-content: center;
}

.sp-phases__btn {
  display: inline-block;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-bold);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sp-burgundy);
  border: 1px solid var(--sp-burgundy);
  padding: 14px 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sp-phases__btn:hover {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
}

@media (max-width: 768px) {
  .sp-phases__grid {
    grid-template-columns: 1fr;
  }
  .sp-phases__item {
    border-right: none;
    border-bottom: 1px solid var(--sp-border);
    padding-left: 0;
  }
  .sp-phases__item:last-child { border-bottom: none; }
}


/* ── CTA Band Widget ── */
.sp-cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.sp-cta-band__overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.25;
  pointer-events: none;
}

.sp-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--sp-space-9) var(--sp-space-4);
  text-align: left;
}

.sp-cta-band__quote {
  font-family: var(--sp-font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-style: italic;
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-on-dark);
  line-height: var(--sp-leading-snug);
  margin: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .sp-cta-band {
    background-attachment: scroll;
  }
  .sp-cta-band__quote {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}


/* ── CTA Section Widget ── */
.sp-cta-section {
  padding-top: var(--sp-section-padding-y);
  padding-bottom: var(--sp-section-padding-y);
}

.sp-cta-section--light { background-color: var(--sp-bg-section-alt); }
.sp-cta-section--white { background-color: var(--sp-bg-page); }
.sp-cta-section--dark  { background-color: var(--sp-bg-dark); }

.sp-cta-section__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--sp-space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-space-3);
}

.sp-cta-section__eyebrow {
  color: var(--sp-text-muted);
}
.sp-cta-section--dark .sp-cta-section__eyebrow {
  color: rgba(251, 250, 248, 0.5);
}

.sp-cta-section__title {
  font-family: var(--sp-font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: var(--sp-weight-medium);
  color: var(--sp-text-primary);
  line-height: var(--sp-leading-snug);
  letter-spacing: -0.02em;
  margin: 0;
}
.sp-cta-section--dark .sp-cta-section__title {
  color: var(--sp-text-on-dark);
}

.sp-cta-section__title span {
  font-style: italic;
  color: var(--sp-gold);
}

.sp-cta-section__description {
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-muted);
  line-height: var(--sp-leading-loose);
  margin: 0;
  max-width: 640px;
}
.sp-cta-section--dark .sp-cta-section__description {
  color: rgba(251, 250, 248, 0.7);
}

.sp-cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-space-2);
  margin-top: var(--sp-space-2);
}

.sp-cta-section__btn {
  display: inline-block;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-bold);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Primary — solid dark */
.sp-cta-section__btn--primary {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
  border: 1px solid var(--sp-burgundy);
}
.sp-cta-section__btn--primary:hover {
  background-color: var(--sp-burgundy-mid);
  border-color: var(--sp-burgundy-mid);
}

/* Ghost — bordered */
.sp-cta-section__btn--ghost {
  background-color: transparent;
  color: var(--sp-text-primary);
  border: 1px solid var(--sp-text-primary);
}
.sp-cta-section__btn--ghost:hover {
  background-color: var(--sp-text-primary);
  color: var(--sp-text-on-dark);
}

/* Dark bg variants */
.sp-cta-section--dark .sp-cta-section__btn--primary {
  background-color: var(--sp-bg-page);
  color: var(--sp-burgundy);
  border-color: var(--sp-bg-page);
}
.sp-cta-section--dark .sp-cta-section__btn--primary:hover {
  background-color: transparent;
  color: var(--sp-text-on-dark);
  border-color: var(--sp-text-on-dark);
}
.sp-cta-section--dark .sp-cta-section__btn--ghost {
  color: var(--sp-text-on-dark);
  border-color: rgba(251, 250, 248, 0.5);
}
.sp-cta-section--dark .sp-cta-section__btn--ghost:hover {
  background-color: var(--sp-text-on-dark);
  color: var(--sp-burgundy);
  border-color: var(--sp-text-on-dark);
}

@media (max-width: 768px) {
  .sp-cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
  .sp-cta-section__btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}


/* ── Header ── */

/* Pushes page content below fixed header */
#sp-content-wrap {
  padding-top: 0; /* hero goes full bleed under transparent header */
}

.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background-color: transparent;

  /* smooth bg + shadow transitions on sticky */
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    height 0.4s ease;
}

/* Sticky state — triggered by JS adding .is-sticky */
.sp-header.is-sticky {
  background-color: var(--sp-bg-page);
  box-shadow: 0 1px 0 var(--sp-border);
  height: 68px;
}

.sp-header__inner {
  max-width: var(--sp-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-space-2);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-space-4);
}

/* ── Logo ── */
.sp-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Both logo images stack in same space */
.sp-header__logo-light,
.sp-header__logo-dark {
  max-height: 40px;
  width: auto;
  transition: opacity 0.4s ease;
  position: absolute;
}

/* Default: light logo visible, dark hidden */
.sp-header__logo-light { opacity: 1; }
.sp-header__logo-dark  { opacity: 0; }

/* After scroll: swap logos */
.sp-header.is-sticky .sp-header__logo-light { opacity: 0; }
.sp-header.is-sticky .sp-header__logo-dark  { opacity: 1; }

/* Logo wrapper needs relative positioning for the absolute imgs */
.sp-header__logo {
  position: relative;
  /* match tallest logo so wrapper doesn't collapse */
  min-width: 160px;
  min-height: 40px;
}

/* Fallback text logo */
.sp-header__logo-text {
  font-family: var(--sp-font);
  font-size: var(--sp-text-md);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  color: var(--sp-text-on-dark);
  transition: color 0.4s ease;
}
.sp-header.is-sticky .sp-header__logo-text {
  color: var(--sp-text-primary);
}

/* ── Nav ── */
.sp-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sp-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-space-5);
}

.sp-nav__list li { margin: 0; }

.sp-nav__list a {
  font-family: var(--sp-font);
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  color: var(--sp-text-on-dark);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.4s ease;
}

/* Underline reveal on hover */
.sp-nav__list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.sp-nav__list a:hover::after,
.sp-nav__list .current-menu-item > a::after {
  width: 100%;
}

/* After scroll: nav links go dark */
.sp-header.is-sticky .sp-nav__list a {
  color: var(--sp-text-primary);
}

/* ── CTA Button ── */
.sp-header__cta--mobile { display: none; }

.sp-header__cta {
  flex-shrink: 0;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sp-text-on-dark);
  border: 1px solid rgba(251, 250, 248, 0.5);
  padding: 10px 24px;
  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background-color 0.3s ease;
}
.sp-header__cta:hover {
  background-color: rgba(251, 250, 248, 0.12);
}

/* After scroll: CTA becomes solid burgundy */
.sp-header.is-sticky .sp-header__cta {
  background-color: var(--sp-burgundy);
  color: var(--sp-text-on-dark);
  border-color: var(--sp-burgundy);
}
.sp-header.is-sticky .sp-header__cta:hover {
  background-color: var(--sp-burgundy-mid);
  border-color: var(--sp-burgundy-mid);
}

/* ── Mobile Burger ── */
.sp-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.sp-header__burger span {
  display: block;
  height: 1px;
  background-color: var(--sp-text-on-dark);
  transition: background-color 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}
.sp-header.is-sticky .sp-header__burger span {
  background-color: var(--sp-text-primary);
}

/* Burger → X animation */
.sp-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.sp-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.sp-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile Nav ── */
@media (max-width: 900px) {
  /* Logo + burger fill the bar edge-to-edge */
  .sp-header__inner {
    justify-content: space-between;
  }

  .sp-header__burger { display: flex; }

  /* Desktop CTA hidden — shown inside the modal instead */
  .sp-header__cta { display: none; }

  /* Fullscreen overlay */
  .sp-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--sp-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-space-5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: -1;
  }
  .sp-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sp-nav__list {
    flex-direction: column;
    gap: var(--sp-space-4);
    text-align: center;
  }
  .sp-nav__list a {
    font-size: var(--sp-text-xl);
    font-weight: var(--sp-weight-light);
    letter-spacing: 0.05em;
  }

  /* CTA inside the mobile modal */
  .sp-header__cta--mobile {
    display: inline-block;
    font-family: var(--sp-font);
    font-size: var(--sp-text-sm);
    font-weight: var(--sp-weight-medium);
    letter-spacing: var(--sp-tracking-wider);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sp-text-on-dark);
    border: 1px solid rgba(251, 250, 248, 0.5);
    padding: 14px 40px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  .sp-header__cta--mobile:hover {
    background-color: rgba(251, 250, 248, 0.12);
  }
}


/* ── Footer ── */
.sp-footer {
  background-color: #0a0304;
}

.sp-footer__main {
  padding: var(--sp-space-9) 0 var(--sp-space-7);
}

.sp-footer__inner {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-space-4);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: var(--sp-space-6);
  align-items: start;
}

/* Brand col */
.sp-footer__logo-link {
  display: inline-block;
  margin-bottom: var(--sp-space-3);
}

.sp-footer__logo {
  max-height: 60px;
  width: 160px !important;
}

.sp-footer__brand-name {
  font-family: var(--sp-font-display);
  font-size: var(--sp-text-2xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-on-dark);
  letter-spacing: -0.01em;
}

.sp-footer__tagline {
  font-size: var(--sp-text-sm);
  font-weight: var(--sp-weight-light);
  color: rgba(251, 250, 248, 0.5);
  line-height: var(--sp-leading-loose);
  margin: 0;
  max-width: 380px;
}

/* Column labels */
.sp-footer__col-label {
  display: block;
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  color: rgba(251, 250, 248, 0.35);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--sp-space-3);
}

/* Footer nav */
.sp-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-2);
}

.sp-footer__nav li { margin: 0; }

.sp-footer__nav a {
  font-family: var(--sp-font);
  font-size: var(--sp-text-base);
  font-weight: var(--sp-weight-light);
  color: rgba(251, 250, 248, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}
.sp-footer__nav a:hover {
  color: var(--sp-text-on-dark);
}

/* Contact col */
.sp-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-space-2);
}

.sp-footer__contact-list a {
  font-size: var(--sp-text-sm);
  color: rgba(251, 250, 248, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}
.sp-footer__contact-list a:hover {
  color: var(--sp-text-on-dark);
}

.sp-footer__location {
  font-size: var(--sp-text-sm);
  color: rgba(251, 250, 248, 0.45);
}

/* Bottom bar */
.sp-footer__bottom {
  border-top: 1px solid rgba(251, 250, 248, 0.1);
}

.sp-footer__bottom-inner {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: var(--sp-space-3) var(--sp-space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-space-3);
}

.sp-footer__copyright,
.sp-footer__baseline {
  font-family: var(--sp-font);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wider);
  text-transform: uppercase;
  color: rgba(251, 250, 248, 0.3);
}

@media (max-width: 900px) {
  .sp-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .sp-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .sp-footer__inner {
    grid-template-columns: 1fr;
  }
  .sp-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ── Admin bar offset ── */
.admin-bar .sp-header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .sp-header { top: 46px; }
}


/* ── Scroll Reveal Animation ── */
[data-sp-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-sp-reveal].sp-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-sp-reveal="d1"] { transition-delay: 0.1s; }
[data-sp-reveal="d2"] { transition-delay: 0.2s; }
[data-sp-reveal="d3"] { transition-delay: 0.3s; }
[data-sp-reveal="d4"] { transition-delay: 0.4s; }


/* ════════════════════════════════════════════
   SP — Page Hero (title + breadcrumb + bg)
   ════════════════════════════════════════════ */

.sp-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-color: var(--sp-bg-dark);
  overflow: hidden;
}

.sp-page-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp-page-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--sp-space-8);
  padding-bottom: var(--sp-space-6);
}

.sp-page-hero__eyebrow {
  color: var(--sp-concrete);
  margin-bottom: var(--sp-space-2);
}

/* when a bg image is set the eyebrow reads on dark */
.sp-page-hero[style*="background-image"] .sp-page-hero__eyebrow {
  color: rgba(251, 250, 248, 0.6);
}

.sp-page-hero__title {
  font-family: var(--sp-font);
  font-size: var(--sp-text-3xl);
  font-weight: var(--sp-weight-light);
  color: var(--sp-text-on-dark);
  line-height: var(--sp-leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-space-3);
}

.sp-page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-space-2);
  font-size: var(--sp-text-xs);
  font-weight: var(--sp-weight-medium);
  letter-spacing: var(--sp-tracking-wide);
  text-transform: uppercase;
  color: rgba(251, 250, 248, 0.55);
}

.sp-page-hero__breadcrumb a {
  color: inherit;
  transition: color 0.2s ease;
}

.sp-page-hero__breadcrumb a:hover {
  color: var(--sp-text-on-dark);
}

.sp-page-hero__bc-sep {
  color: var(--sp-concrete);
  font-weight: var(--sp-weight-light);
}

.sp-page-hero__bc-current {
  color: var(--sp-text-on-dark);
}

/* no-image variant: dark bg, lighter title */
.sp-page-hero:not([style*="background-image"]) .sp-page-hero__title {
  color: var(--sp-text-on-dark);
}

/* bottom accent line */
.sp-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sp-burgundy-mid) 0%, transparent 60%);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sp-page-hero__title {
    font-size: var(--sp-text-2xl);
  }

  .sp-page-hero__inner {
    padding-top: var(--sp-space-6);
    padding-bottom: var(--sp-space-5);
  }
}
