/* Page Tarifs — premium moderne */

@keyframes st-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

html:has(body.st-page) { scroll-behavior: smooth; }

body.st-page {
  background: #F5F8F1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.st-page .grain { display: none; }
body.st-page ::selection {
  background: #C9E6BE;
  color: #0E4429;
}

.st-prices {
  --st-font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --st-font-body: 'Manrope', system-ui, sans-serif;
  --st-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --st-dur: 0.85s;
  font-family: var(--st-font-body);
  color: #13231A;
  overflow-x: hidden;
}

.st-prices input::placeholder { color: #9DAE97; }

.st-prices .sc-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #f4faf1 0%, #e8f3e4 100%);
  border: 1px solid rgba(28, 124, 74, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #1C7C4A;
}
.st-prices .sc-icon-wrap--xs { width: 32px; height: 32px; border-radius: 9px; }
.st-prices .sc-icon-wrap--md { width: 48px; height: 48px; border-radius: 13px; }
.st-prices .sc-icon-wrap .sc-icon { width: 55%; height: 55%; display: block; }

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

.st-prices [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--st-dur) var(--st-ease), transform var(--st-dur) var(--st-ease);
}
.st-prices [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .st-prices [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Hero */
.st-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(44px, 6vw, 72px)) clamp(18px, 5vw, 32px) clamp(20px, 3vw, 28px);
}
.st-hero__inner > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.st-hero__copy {
  max-width: none;
  text-align: center;
}
.st-badge {
  justify-content: center;
}

.st-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8A998D;
  margin-bottom: 22px;
}
.st-breadcrumb a { text-decoration: none; color: inherit; transition: color 0.2s; }
.st-breadcrumb a:hover { color: #1C7C4A; }
.st-breadcrumb__current { color: #1C7C4A; font-weight: 700; }

.st-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #E6F1E2;
  color: #1C7C4A;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.st-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #1C7C4A;
  animation: st-pulse 2s ease-in-out infinite;
}
.st-hero__title {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.st-hero__title em { font-style: normal; color: #1C7C4A; }
.st-hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: #5C6B60;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 500;
}

/* Controls */
.st-controls {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px) clamp(18px, 5vw, 32px) clamp(28px, 4vw, 40px);
}
.st-controls__panel {
  background: #fff;
  border: 1px solid #E3EADE;
  border-radius: 22px;
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: 0 24px 48px -44px rgba(15, 68, 41, 0.4);
}
.st-controls__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.st-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  display: block;
}
.st-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.st-search__icon .sc-icon-wrap {
  width: 28px;
  height: 28px;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.st-search__input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid #DCE6D6;
  border-radius: 12px;
  font-family: var(--st-font-body);
  font-size: 15px;
  color: #13231A;
  background: #FBFCF9;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.st-search__input:focus {
  border-color: #1C7C4A;
  background: #fff;
}
.st-select {
  padding: 13px 16px;
  border: 1px solid #DCE6D6;
  border-radius: 12px;
  font-family: var(--st-font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #13231A;
  background: #FBFCF9;
  outline: none;
  cursor: pointer;
}
.st-select:focus { border-color: #1C7C4A; }

.st-seg {
  display: flex;
  background: #EEF4E9;
  border-radius: 12px;
  padding: 4px;
  gap: 3px;
}
.st-seg__btn {
  font-family: var(--st-font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  letter-spacing: -0.01em;
  background: transparent;
  color: #6E8068;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.st-seg__btn.is-active {
  background: #fff;
  color: #1C7C4A;
  box-shadow: 0 2px 6px -2px rgba(15, 68, 41, 0.25);
}

.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.st-chip {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
  background: #fff;
  color: #3A4A3E;
  border: 1px solid #DCE6D6;
  transition: all 0.18s ease;
}
.st-chip.is-active,
.st-chip:hover {
  background: #1C7C4A;
  color: #fff;
  border-color: #1C7C4A;
}

.st-controls__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F1F5EE;
}
.st-controls__count {
  font-size: 13.5px;
  color: #8A998D;
  font-weight: 600;
  margin: 0;
}

/* Grid */
.st-grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px) clamp(48px, 6vw, 72px);
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.st-card {
  background: #fff;
  border: 1px solid #E3EADE;
  border-radius: 20px;
  padding: 0 0 24px;
  box-shadow: 0 22px 44px -42px rgba(15, 68, 41, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform 0.3s var(--st-ease), box-shadow 0.3s;
}
.st-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 52px -38px rgba(15, 68, 41, 0.48);
}
.st-card__name {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 18.5px;
  letter-spacing: -0.015em;
  margin: 0 0 3px;
}
.st-card__latin {
  font-size: 12.5px;
  color: #9DAE97;
  font-weight: 500;
  font-style: italic;
}
.st-card__body-click {
  padding: 20px 22px 0;
  cursor: pointer;
}
.st-card__foot {
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 0;
}
.st-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 0;
}
.st-card__page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid #DCE6D6;
  background: #F8FAF6;
  color: #1C7C4A;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.st-card__page-btn:hover {
  background: #EEF5E8;
  border-color: #B8D4A8;
}
.st-card__price-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9DAE97;
  margin-bottom: 2px;
}
.st-card__price-val {
  font-family: var(--st-font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.st-card__trend {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
  background: #F4F6F1;
  color: #9DAE97;
}
.st-card__trend--up {
  background: #E6F1E2;
  color: #1C7C4A;
}

.st-empty {
  text-align: center;
  padding: 64px 20px;
}
.st-empty__icon .sc-icon-wrap { margin: 0 auto 14px; }
.st-empty__title {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
}
.st-empty__text {
  font-size: 15px;
  color: #8A998D;
  font-weight: 500;
  margin: 0;
}
.st-disclaimer {
  text-align: center;
  font-size: 13.5px;
  color: #9DAE97;
  font-weight: 500;
  margin: 40px auto 0;
  max-width: 680px;
  line-height: 1.6;
}

/* CTA */
.st-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px) clamp(56px, 8vw, 96px);
}
.st-cta__panel {
  background: linear-gradient(135deg, #1C7C4A 0%, #0E4429 100%);
  border-radius: 32px;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(15, 68, 41, 0.7);
}
.st-cta__deco {
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: 200px;
  opacity: 0.08;
  line-height: 1;
  font-family: var(--st-font-display);
  font-weight: 800;
  pointer-events: none;
}
.st-cta__title {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #fff;
  position: relative;
  text-wrap: balance;
}
.st-cta__text {
  font-size: 18px;
  line-height: 1.5;
  color: #CFE8C5;
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
}
.st-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--st-ease);
  border: 1px solid transparent;
}
.st-btn--white { background: #fff; color: #0E4429; }
.st-btn--white:hover { transform: translateY(-2px); }
.st-btn--cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.st-btn--cart .sc-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #E6F1E2;
  border: none;
  box-shadow: none;
  color: #1C7C4A;
}
.st-btn--cart .sc-icon-wrap .sc-icon { width: 55%; height: 55%; display: block; }
.st-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.st-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .st-hero__copy {
    text-align: center;
  }
  .st-hero__inner > * {
    margin-left: auto;
    margin-right: auto;
  }
  .st-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .st-badge {
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.35;
  }
  .st-chips {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .st-hero__inner {
    padding: calc(var(--nav-h) + 28px) 20px 20px;
  }
  .st-badge {
    font-size: 11.5px;
    padding: 6px 12px;
    margin-bottom: 18px;
    max-width: min(100%, 360px);
  }
  .st-hero__title {
    font-size: clamp(32px, 8.5vw, 44px);
    margin-bottom: 16px;
  }
  .st-hero__lead {
    font-size: 16px;
    line-height: 1.55;
    max-width: 36ch;
  }

  .st-controls {
    padding: 8px 20px 28px;
  }
  .st-controls__panel {
    padding: 16px;
    border-radius: 18px;
  }
  .st-controls__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .st-search {
    min-width: 0;
    width: 100%;
  }
  .st-select {
    width: 100%;
  }
  .st-seg {
    width: 100%;
    justify-content: center;
  }
  .st-chips {
    gap: 8px;
    margin-top: 14px;
  }
  .st-chip {
    font-size: 12.5px;
    padding: 8px 12px;
  }
  .st-controls__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .st-seg--bio {
    width: 100%;
    justify-content: center;
  }
  .st-controls__count {
    text-align: center;
  }

  .st-grid-section {
    padding: 0 20px 48px;
  }
  .st-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .st-disclaimer {
    font-size: 13px;
    margin-top: 28px;
  }

  .st-cta {
    padding: 0 20px 48px;
  }
  .st-cta__panel {
    border-radius: 20px;
    padding: 32px 24px;
  }
  .st-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .st-cta__actions .st-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .st-hero__title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .st-hero__lead {
    max-width: none;
  }
  .st-badge {
    font-size: 10.5px;
    letter-spacing: -0.01em;
  }
  .st-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .st-chip {
    width: 100%;
    font-size: 12px;
    padding: 9px 10px;
  }
}
