@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

.image-box{
  height:350px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

h1,h2,h3{
  color: #4c363c;
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.visually-hidden-important {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Для заданного вами формата чекбокса */
.form-group.checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  }
.form-group.checkbox-group input[type="checkbox"] {
  margin-top: .3rem;
}


/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* ===== Hero FinoraProf ===== */
#hero-finoraprof.hero-finora {
  /* Можно заменить фон на изображение через переменную или inline-style */
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(255,255,255,0.08), transparent 60%);
  isolation: isolate; /* чтобы overlay не стекался снаружи */
}

.hero-finora .container {
  /* мягче отступы на больших экранах */
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.hero-finora__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* тонкий диагональный градиент в фирменных тонах Bootstrap */
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(900px 400px at 10% 110%, rgba(255,255,255,0.06), transparent 70%);
}

.hero-finora__title {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  /* масштабируемый размер заголовка */
  font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
}

.hero-finora__lead {
  max-width: 68ch;
}

.hero-finora__sublead {
  max-width: 72ch;
  color: rgba(var(--bs-white-rgb), 0.85);
}

/* Визуальный блок справа (под макет/скрин): можно заменить на background-image */
.hero-finora__visual {
  position: relative;
  height: clamp(260px, 48vh, 520px);
  background:
    linear-gradient(180deg, rgba(var(--bs-secondary-rgb),0.08), rgba(var(--bs-secondary-rgb),0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* Контрастные кнопки на тёмном фоне — микро-акценты */
#hero-finoraprof .btn-outline-light:hover,
#hero-finoraprof .btn-outline-light:focus {
  color: var(--bs-dark);
  background-color: var(--bs-white);
  border-color: var(--bs-white);
}

/* Вертикальная метка (vr) чуть мягче на тёмном фоне */
#hero-finoraprof .vr {
  opacity: .35;
  border-left: 1px solid rgba(255,255,255,.25);
  height: 1rem;
}

/* Доступность: увеличиваем фокус */
#hero-finoraprof .btn:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .75);
  outline-offset: 2px;
}

/* Уменьшаем высоту на очень маленьких экранах */
@media (max-width: 575.98px) {
  .hero-finora .row {
    min-height: 65vh;
  }
}

/* ===== FinoraProf: Solutions sur mesure ===== */
#solutions-finoraprof.solutions-finora {
  position: relative;
}

.solutions-finora .container {
  /* вертикальные отступы уже заданы утилитами, оставим лишь базовую настройку */
  max-width: 1160px;
}

.solutions-finora h2 {
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.solutions-finora__card {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}

.solutions-finora__card .card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.solutions-finora__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.solutions-finora__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.25);
}

.solutions-finora__bullets .badge {
  font-weight: 600;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.08);
}

/* Тёмная тема (если секция будет на тёмном фоне) */
.bg-dark .solutions-finora h2,
.bg-dark .solutions-finora p {
  color: var(--bs-white);
}
.bg-dark .solutions-finora .text-secondary {
  color: rgba(var(--bs-white-rgb), 0.8) !important;
}
.bg-dark .solutions-finora__card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.bg-dark .solutions-finora__card:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.bg-dark .solutions-finora__bullets .badge {
  border-color: rgba(255,255,255,0.18);
}

/* Мелкие адаптивные штрихи */
@media (max-width: 575.98px) {
  .solutions-finora .lead {
    font-size: 1rem;
  }
  .solutions-finora__icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ===== FinoraProf: Notre mission ===== */
#mission-finoraprof.mission-finora {
  isolation: isolate;
  background-image:
    radial-gradient(900px 420px at 90% -10%, rgba(255,255,255,0.08), transparent 60%);
}

.mission-finora__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(700px 300px at 8% 105%, rgba(255,255,255,0.06), transparent 70%);
}

.mission-finora h2 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.5rem);
}

.mission-finora .lead {
  max-width: 78ch;
  margin-inline: auto;
}

.mission-finora__item {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(3px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.mission-finora__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.055);
}

.mission-finora__badge {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(var(--bs-primary-rgb), 0.25);
}

/* CTA */
.mission-finora__cta .btn-outline-light:hover,
.mission-finora__cta .btn-outline-light:focus {
  color: var(--bs-dark);
  background-color: var(--bs-white);
  border-color: var(--bs-white);
}

/* Доступность: фокус на кнопках */
#mission-finoraprof .btn:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .8);
  outline-offset: 2px;
}

/* Мобильные штрихи */
@media (max-width: 575.98px) {
  .mission-finora .lead { font-size: 1rem; }
  .mission-finora__badge { width: 2rem; height: 2rem; }
}


/* ===== FinoraProf: Pourquoi (light) ===== */
#pourquoi-finoraprof.pourquoi-finora {
  position: relative;
}

.pourquoi-finora h2 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pourquoi-finora__card {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.pourquoi-finora__card .card-body { padding: 1.5rem 1.5rem 1.75rem; }

.pourquoi-finora__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,0.12);
}

.pourquoi-finora__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  box-shadow: 0 8px 18px rgba(var(--bs-primary-rgb), .18);
}

.pourquoi-finora__stat .display-5 {
  line-height: 1;
}
.pourquoi-finora__stat .small {
  margin-top: .25rem;
}

/* Quote card */
.pourquoi-finora__quote {
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.0)),
    #fff;
}
.pourquoi-finora__quote .blockquote p {
  font-size: clamp(1.05rem, .6vw + 1rem, 1.25rem);
}
.pourquoi-finora__quote .blockquote-footer {
  color: var(--bs-secondary);
}

/* Subtle badge on light bg (Bootstrap 5.3+) fallback */
.bg-primary-subtle { background-color: rgba(var(--bs-primary-rgb), .12) !important; }
.text-primary { color: var(--bs-primary) !important; }

/* Mobile tweaks */
@media (max-width: 575.98px) {
  .pourquoi-finora .badge { font-size: .85rem; }
  .pourquoi-finora__icon { width: 2.5rem; height: 2.5rem; }
}

/* ===== Utilities (subtle) ===== */
.bg-primary-subtle { background-color: rgba(var(--bs-primary-rgb), .12) !important; }
.text-primary { color: var(--bs-primary) !important; }

/* ===== Section 1: Hero ===== */
#about-hero.about-hero .about-hero__visual {
  height: clamp(260px, 48vh, 520px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 12px);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

/* ===== Section 2: Values (dark) ===== */
#valeurs.about-values { isolation: isolate; }
.about-values__overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,0) 60%),
    radial-gradient(700px 300px at 8% 110%, rgba(255,255,255,.06), transparent 70%);
}
.about-values__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s;
}
.about-values__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.065);
}
.about-values__icon {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: .75rem;
  box-shadow: 0 8px 22px rgba(var(--bs-primary-rgb), .28);
}

/* ===== Section 3: Team ===== */
.about-team__card { border-radius: 1rem; }
.about-team__photo {
  height: 180px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0)),
    url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22400%22 height=%22240%22><rect width=%22400%22 height=%22240%22 fill=%22%23f3f4f6%22/><text x=%2250%25%22 y=%2250%25%22 dominant-baseline=%22middle%22 text-anchor=%22middle%22 font-family=%22Arial%22 font-size=%2220%22 fill=%22%23888%22>Photo</text></svg>') center/cover no-repeat;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ===== Section 4: History & Trust ===== */
.about-history__timeline { position: relative; padding-left: 1.5rem; }
.about-history__timeline::before {
  content: ""; position: absolute; left: .5rem; top: .25rem; bottom: .25rem;
  width: 2px; background: rgba(0,0,0,.08);
}
.about-history__item { position: relative; margin-bottom: 1.25rem; }
.about-history__dot {
  position: absolute; left: 0; top: .3rem; width: .75rem; height: .75rem;
  border-radius: 50%; box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .15);
}
.about-history__content { padding-left: 1rem; }

.about-trust__card { border-radius: 1rem; background: #fff; }
.about-trust__badge {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem;
  font-weight: 700; box-shadow: 0 8px 18px rgba(var(--bs-primary-rgb), .22);
}

/* ===== A11y focus on buttons ===== */
section .btn:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .75);
  outline-offset: 2px;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 575.98px) {
  #about-hero .lead { font-size: 1rem; }
  .about-values__icon { width: 2.5rem; height: 2.5rem; }
}

/* ===== FinoraProf: Tarifs (Suisse) ===== */
#tarifs-finoraprof.tarifs-finora { position: relative; }

/* Subtle badge (fallback if BS 5.3 vars not present) */
.bg-primary-subtle { background-color: rgba(var(--bs-primary-rgb), .12) !important; }
.text-primary { color: var(--bs-primary) !important; }

/* Cards */
.tarifs-finora__card {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.tarifs-finora__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
}

/* Featured */
.tarifs-finora__card--featured {
  position: relative;
  outline: 2px solid rgba(var(--bs-primary-rgb), .25);
  box-shadow: 0 20px 52px rgba(0,0,0,.12);
}
.tarifs-finora__card--featured::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 1rem;
  pointer-events: none;
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .12) inset;
}

/* Price */
.tarifs-finora__price-amount {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  color: var(--bs-dark);
}
.tarifs-finora__price-period {
  margin-left: .35rem;
}

/* Addons */
.tarifs-finora__addons {
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.tarifs-finora__addons .table th,
.tarifs-finora__addons .table td {
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.tarifs-finora__addons .table thead th {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Buttons focus visible */
#tarifs-finoraprof .btn:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .75);
  outline-offset: 2px;
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
  #tarifs-finoraprof .badge { font-size: .85rem; }
}
