/* ==========================================================================
   SoluPres Jardinage — Landing page
   Maquette Figma « Moderniser landing page jardinage » (node 3463:3)
   ========================================================================== */

:root {
  --sp-cream: #f4efe6;
  --sp-sand: #ede5d5;
  --sp-forest: #1a3328;
  --sp-pine: #2d5a3d;
  --sp-green: #015239; /* vert du logo */
  --sp-mint: #7bbf8a;
  --sp-gold: #c9a84c;
  --sp-gold-light: #e2c97e;
  --sp-text: #5a7065;
  --sp-sage: #94b8a0;
  --sp-sage-dark: #7a9e88;
  --sp-mist: #c8dece;
  --sp-night: #111e18;
  --sp-night-text: #6a8878;

  --sp-serif: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif; /* proche du lettrage du logo */
  --sp-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

.sp-body {
  margin: 0;
  background: var(--sp-cream);
  color: var(--sp-forest);
  font-family: var(--sp-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Reset à spécificité nulle : les classes des composants gardent la main */
:where(.sp-body) img { display: block; max-width: 100%; }
:where(.sp-body) a { color: inherit; text-decoration: none; }
:where(.sp-body) :where(h1, h2, h3, h4, p, ul, figure, blockquote) { margin: 0; padding: 0; }
:where(.sp-body) ul { list-style: none; }

.sp-hero__title, .sp-title, .sp-card-title, .sp-about__title, .sp-about__badge strong,
.sp-stat__value, .sp-plan__price, .sp-cta__title {
  font-family: var(--sp-serif);
  letter-spacing: .2px;
}

.sp-container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 32px; }
.sp-section { padding-block: 100px; }
.sp-section--cream { background: var(--sp-cream); }
.sp-section--sand { background: var(--sp-sand); }

/* Tons d'accent (cartes) */
.sp-tone--pine  { --sp-accent: var(--sp-pine);  --sp-accent-rgb: 45, 90, 61; }
.sp-tone--green { --sp-accent: var(--sp-green); --sp-accent-rgb: 1, 82, 57; }
.sp-tone--gold  { --sp-accent: var(--sp-gold);  --sp-accent-rgb: 201, 168, 76; }

/* ---------- Typo commune ---------- */
.sp-eyebrow {
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sp-green);
}
.sp-title {
  margin-top: 12px;
  font-size: 45.72px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--sp-forest);
}
.sp-lead {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--sp-text);
}
.sp-lead--narrow { max-width: 640px; }
.sp-head { margin-bottom: 48px; }
.sp-card-title {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--sp-forest);
}

/* ---------- Boutons ---------- */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn img { width: 20px; height: 20px; }
.sp-btn--green {
  background: linear-gradient(161.5deg, var(--sp-green) 0%, var(--sp-mint) 100%);
  color: #fff;
  box-shadow: 0 8px 15px rgba(1, 82, 57, .5);
}
.sp-btn--glass {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--sp-cream);
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sp-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.sp-btn--gold {
  background: linear-gradient(163.7deg, var(--sp-gold) 0%, var(--sp-gold-light) 100%);
  color: var(--sp-forest);
  font-weight: 700;
  box-shadow: 0 8px 15px rgba(201, 168, 76, .4);
}

/* ---------- Header ---------- */
.sp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.sp-header.is-scrolled,
.sp-header.is-open {
  background: rgba(26, 51, 40, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .15);
}
.sp-header__inner {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Pastille claire : le logo vert foncé reste lisible sur le hero et le header sombre */
.sp-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
.sp-logo img { width: auto; height: 48px; }

.sp-nav { display: flex; align-items: center; gap: 32px; }
.sp-nav__link {
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: .5px;
  color: #d4e8d8;
  white-space: nowrap;
  transition: color .2s ease;
}
.sp-nav__link:hover { color: #fff; }
.sp-nav__cta {
  padding: 10px 24px;
  font-size: 14px;
  line-height: 21px;
  box-shadow: 0 4px 7.5px rgba(1, 82, 57, .4);
}

.sp-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.sp-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--sp-cream);
  transition: transform .25s ease, opacity .25s ease;
}
.sp-header.is-open .sp-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sp-header.is-open .sp-burger span:nth-child(2) { opacity: 0; }
.sp-header.is-open .sp-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.sp-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sp-forest);
}
.sp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 16, .6) 0%, rgba(10, 22, 16, .35) 45%, rgba(10, 22, 16, 0) 75%),
    radial-gradient(ellipse 1293px 724px at 20% 80%, rgba(1, 82, 57, .15) 0%, rgba(1, 82, 57, 0) 60%),
    linear-gradient(168.5deg, rgba(26, 51, 40, .85) 8.5%, rgba(26, 51, 40, .6) 50%, rgba(26, 51, 40, .8) 91.5%);
}
.sp-hero__content { position: relative; z-index: 1; padding-block: 96px 72px; }
.sp-hero__inner { max-width: 700px; }

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px 18px;
  border: 1px solid rgba(123, 191, 138, .4);
  border-radius: 100px;
  background: rgba(1, 82, 57, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8d5a2;
}
.sp-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sp-mint); }

.sp-hero__title {
  font-size: 80px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sp-cream);
}
.sp-hero__title em { display: block; font-style: normal; color: var(--sp-green); }
.sp-hero__text {
  max-width: 520px;
  margin-top: 24px;
  font-size: 19.2px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--sp-mist);
}
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.sp-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 1px;
  height: 48px;
  opacity: .6;
  background: linear-gradient(to bottom, rgba(123, 191, 138, 0), var(--sp-mint));
}

/* ---------- Grilles ---------- */
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sp-grid-3--tight { gap: 24px; }

/* ---------- Services ---------- */
.sp-services { align-items: start; }
.sp-service {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26, 51, 40, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sp-service:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26, 51, 40, .14); }
.sp-service__media { position: relative; height: 240px; overflow: hidden; }
.sp-service__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sp-service:hover .sp-service__img { transform: scale(1.05); }
.sp-service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--sp-accent-rgb), .8) 0%, rgba(var(--sp-accent-rgb), 0) 100%);
}
.sp-service__icon {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.sp-service__icon img { width: 28px; height: 28px; }
.sp-service__body { padding: 28px 28px 32px; }
.sp-service__text { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--sp-text); }
.sp-link-arrow {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  color: var(--sp-green);
  transition: letter-spacing .2s ease;
}
.sp-link-arrow:hover { letter-spacing: .3px; }

/* ---------- Qui sommes-nous ---------- */
.sp-about {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
  background: var(--sp-forest);
}
.sp-about::before,
.sp-about::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.sp-about::before { top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(1, 82, 57, .08); }
.sp-about::after { bottom: -80px; left: -80px; width: 300px; height: 300px; background: rgba(201, 168, 76, .06); }

.sp-about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: center;
}
.sp-about__media { position: relative; }
.sp-about__img { width: 100%; height: 560px; object-fit: cover; border-radius: 24px; }
.sp-about__badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(146deg, var(--sp-gold) 0%, var(--sp-gold-light) 100%);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .3);
  color: var(--sp-forest);
}
.sp-about__badge strong { display: block; font-size: 40px; line-height: 1; font-weight: 700; }
.sp-about__badge span { display: block; margin-top: 4px; font-size: 13px; line-height: 19.5px; font-weight: 600; white-space: nowrap; }

.sp-about .sp-eyebrow { color: var(--sp-mint); }
.sp-about__title { margin-top: 12px; font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--sp-cream); }
.sp-about__text { margin-top: 24px; font-size: 16px; line-height: 1.8; color: var(--sp-sage); }

.sp-pillars { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.sp-pillar { display: flex; align-items: flex-start; gap: 18px; }
.sp-pillar__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(1, 82, 57, .3);
  border-radius: 14px;
  background: rgba(1, 82, 57, .2);
}
.sp-pillar__icon img { width: 24px; height: 24px; }
.sp-pillar h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--sp-cream); }
.sp-pillar p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--sp-sage-dark); }

/* ---------- Pourquoi nous choisir ---------- */
.sp-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px;
  border: 1px solid rgba(26, 51, 40, .06);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(26, 51, 40, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sp-feature:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26, 51, 40, .12); }
.sp-feature__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(var(--sp-accent-rgb), .19);
  border-radius: 18px;
  background: rgba(var(--sp-accent-rgb), .09);
}
.sp-feature__icon img { width: 28px; height: 28px; }
.sp-feature .sp-card-title { margin-top: 24px; }
.sp-feature__text { flex-grow: 1; margin: 14px 0 24px; font-size: 15px; line-height: 1.7; color: var(--sp-text); }
.sp-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(var(--sp-accent-rgb), .19);
  border-radius: 100px;
  background: rgba(var(--sp-accent-rgb), .08);
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 600;
  color: var(--sp-accent);
  transition: background-color .2s ease;
}
.sp-pill-link:hover { background: rgba(var(--sp-accent-rgb), .16); }

/* ---------- Galerie ---------- */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, 220px);
  gap: 16px;
}
.sp-gallery__item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(26, 51, 40, .12);
}
.sp-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sp-gallery__item:hover img { transform: scale(1.05); }
.sp-gallery__item:nth-child(1) { grid-area: 1 / 1; }
.sp-gallery__item:nth-child(2) { grid-area: 1 / 2 / 3 / 3; }
.sp-gallery__item:nth-child(3) { grid-area: 1 / 3; }
.sp-gallery__item:nth-child(4) { grid-area: 3 / 1; }
.sp-gallery__item:nth-child(5) { grid-area: 3 / 2; }
.sp-gallery__item:nth-child(6) { grid-area: 3 / 3; }

/* ---------- Chiffres ---------- */
.sp-stats {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
  background: linear-gradient(165.6deg, var(--sp-pine) 0%, var(--sp-forest) 100%);
}
.sp-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 870px at 25% 50%, rgba(123, 191, 138, .1) 0%, rgba(123, 191, 138, 0) 60%),
    radial-gradient(circle 870px at 75% 50%, rgba(201, 168, 76, .08) 0%, rgba(201, 168, 76, 0) 60%);
}
.sp-stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  text-align: center;
}
.sp-stat img { width: 36px; height: 36px; margin: 0 auto; }
.sp-stat__value { margin-top: 12px; font-size: 56px; line-height: 1; font-weight: 700; color: var(--sp-cream); white-space: nowrap; }
.sp-stat__label { margin-top: 8px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--sp-sage); }

/* ---------- Tarifs ---------- */
.sp-plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border: 1px solid rgba(26, 51, 40, .06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26, 51, 40, .07);
}
.sp-plan__icon { width: 32px; height: 32px; }
.sp-plan__name {
  margin-top: 16px;
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sp-green);
}
.sp-plan__price { margin-top: 8px; font-size: 44.8px; line-height: 1.1; font-weight: 700; color: var(--sp-forest); white-space: nowrap; }
.sp-plan__period { margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--sp-green); }
.sp-plan__features { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.sp-plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 21px; color: var(--sp-text); }
.sp-plan__features img { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2.5px; }
.sp-plan__cta {
  display: block;
  margin-top: 36px;
  padding: 14px 24px;
  border: 2px solid var(--sp-green);
  border-radius: 100px;
  text-align: center;
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  color: var(--sp-green);
  transition: background-color .25s ease, color .25s ease;
}
.sp-plan__cta:hover { background: var(--sp-green); color: #fff; }

.sp-plan--featured {
  border-color: transparent;
  background: linear-gradient(145.5deg, var(--sp-pine) 8.5%, var(--sp-forest) 91.5%);
  box-shadow: 0 20px 60px rgba(26, 51, 40, .25);
}
.sp-plan--featured .sp-plan__name { color: var(--sp-sage); }
.sp-plan--featured .sp-plan__price { color: var(--sp-cream); }
.sp-plan--featured .sp-plan__period { color: var(--sp-mint); }
.sp-plan--featured .sp-plan__features li { color: var(--sp-mist); }
.sp-plan--featured .sp-plan__cta {
  border-color: transparent;
  background: linear-gradient(170deg, var(--sp-gold) 0%, var(--sp-gold-light) 100%);
  color: var(--sp-forest);
}
.sp-plan--featured .sp-plan__cta:hover { filter: brightness(1.05); }
.sp-plan__ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  padding: 4px 40px;
  background: var(--sp-gold);
  transform: rotate(45deg);
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sp-forest);
}

/* ---------- Partenaires ---------- */
.sp-partners {
  padding-block: 70px;
  border-top: 1px solid rgba(26, 51, 40, .08);
  background: #fff;
  text-align: center;
}
.sp-partners .sp-eyebrow { color: var(--sp-sage); }
.sp-partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 36px;
}
.sp-partner {
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid rgba(1, 82, 57, .15);
  border-radius: 12px;
  background: var(--sp-cream);
}
.sp-partner img { width: auto; max-width: 96px; height: 26px; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Contact (CTA) ---------- */
.sp-cta {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
  background: linear-gradient(157.2deg, var(--sp-green) 0%, var(--sp-pine) 50%, var(--sp-forest) 100%);
  text-align: center;
}
.sp-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; }
.sp-cta__inner { position: relative; max-width: 744px; }
.sp-cta__title { font-size: 56px; line-height: 1.1; font-weight: 700; color: var(--sp-cream); }
.sp-cta__text { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--sp-sage); }
.sp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.sp-cta .sp-btn { padding: 18px 40px; font-size: 16px; line-height: 24px; }
.sp-cta .sp-btn--glass { background: rgba(255, 255, 255, .12); font-weight: 600; }

/* ---------- Footer ---------- */
.sp-footer { padding-block: 64px 32px; background: var(--sp-night); }
.sp-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
/* Logo du footer passé en blanc (le PNG est transparent) */
.sp-brand { display: inline-flex; }
.sp-brand img { width: auto; height: 56px; filter: brightness(0) invert(1); }
.sp-footer__about { max-width: 320px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: var(--sp-night-text); }
.sp-socials { display: flex; gap: 12px; margin-top: 24px; }
.sp-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(1, 82, 57, .2);
  border-radius: 50%;
  background: rgba(1, 82, 57, .15);
  transition: background-color .2s ease;
}
.sp-social:hover { background: rgba(1, 82, 57, .35); }
.sp-social img { width: 18px; height: 18px; }
.sp-footer__heading { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--sp-cream); }
.sp-footer__links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sp-footer__links a { font-size: 14px; line-height: 21px; color: var(--sp-night-text); transition: color .2s ease; }
.sp-footer__links a:hover { color: var(--sp-mint); }
.sp-footer__contact { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.sp-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 21px; color: #8aaa96; overflow-wrap: anywhere; }
.sp-footer__contact img { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.sp-footer__contact a:hover { color: var(--sp-mint); }
.sp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  line-height: 19.5px;
  color: var(--sp-night-text);
}
.sp-footer__made { color: var(--sp-night-text); }
.sp-footer__made a { font-weight: 600; color: var(--sp-mint); transition: color .2s ease; }
.sp-footer__made a:hover { color: #fff; text-decoration: underline; }

/* ---------- Apparition au défilement ----------
   .sp-js est posée sur <html> par le layout ; main.js ajoute .is-revealing
   à l'entrée dans l'écran, puis .is-revealed une fois l'animation finie
   (les transitions de survol des cartes reprennent alors la main). */
.sp-js :is(.sp-hero__inner > *, .sp-head, .sp-service, .sp-about__media, .sp-about__content, .sp-feature,
  .sp-gallery__item, .sp-stat, .sp-plan, .sp-partners .sp-eyebrow, .sp-partner, .sp-cta__inner, .sp-footer__grid > *):not(.is-revealed) {
  opacity: 0;
  translate: 0 32px;
}
.sp-js :is(.sp-hero__inner > *, .sp-head, .sp-service, .sp-about__media, .sp-about__content, .sp-feature,
  .sp-gallery__item, .sp-stat, .sp-plan, .sp-partners .sp-eyebrow, .sp-partner, .sp-cta__inner, .sp-footer__grid > *).is-revealing {
  opacity: 1;
  translate: none;
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1) var(--sp-delay, 0s),
    translate .8s cubic-bezier(.22, 1, .36, 1) var(--sp-delay, 0s);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1139px) {
  .sp-burger { display: flex; }
  .sp-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(26, 51, 40, .98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  }
  .sp-header.is-open .sp-nav { display: flex; }
  .sp-nav__link { padding: 12px 8px; font-size: 16px; }
  .sp-nav__cta { margin-top: 8px; padding: 14px 24px; }
}

@media (max-width: 1024px) {
  .sp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-about__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .sp-about__img { height: 460px; }
  .sp-about__badge { right: 16px; }
  .sp-gallery { grid-template-rows: repeat(3, 180px); }
  .sp-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .sp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .sp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .sp-container { padding-inline: 20px; }
  .sp-section, .sp-about, .sp-cta { padding-block: 72px; }
  .sp-title { font-size: 34px; line-height: 1.25; }
  .sp-lead { font-size: 16px; }
  .sp-head { margin-bottom: 32px; }
  .sp-logo { padding: 3px 10px; border-radius: 12px; }
  .sp-logo img { height: 40px; }

  .sp-hero { min-height: 600px; }
  .sp-hero__title { font-size: 52px; }
  .sp-hero__text { font-size: 17px; }
  .sp-badge { font-size: 11px; letter-spacing: .5px; padding-inline: 14px; }

  .sp-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sp-about__title { font-size: 32px; }
  .sp-about__img { height: 380px; }
  .sp-about__badge { right: 12px; bottom: -20px; padding: 18px 22px; }
  .sp-about__badge strong { font-size: 32px; }

  .sp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 160px; gap: 12px; }
  .sp-gallery__item:nth-child(n) { grid-area: auto; }
  .sp-gallery__item:nth-child(2) { grid-row: span 2; }

  .sp-stats { padding-block: 64px; }
  .sp-stats__grid { gap: 40px 16px; }
  .sp-stat__value { font-size: 42px; }

  .sp-plan__price { font-size: 40px; }
  .sp-partners__list { gap: 12px; }
  .sp-partner { padding-inline: 20px; }

  .sp-cta__title { font-size: 38px; }
  .sp-cta__text { font-size: 16px; }
  .sp-cta .sp-btn { width: 100%; max-width: 320px; }

  .sp-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sp-footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .sp-hero__title { font-size: 44px; }
  .sp-stat__value { font-size: 36px; }
  .sp-hero__actions .sp-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sp-body *, .sp-body *::before, .sp-body *::after { transition: none; animation: none; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *


 */
