/* =========================================================
   PAGE: POUR INVESTIR V2
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.investir-v2-hero {
  position: relative;
  overflow: hidden;
}

.investir-v2-hero--dark {
  padding: 108px 0 92px;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 18, 45, 0.88) 0%,
      rgba(4, 18, 45, 0.76) 34%,
      rgba(4, 18, 45, 0.42) 58%,
      rgba(4, 18, 45, 0.14) 100%
    ),
    url('/img/investir/investir-hero-dark.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.investir-v2-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.4;
}

.investir-v2-breadcrumb--light,
.investir-v2-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.72);
}

.investir-v2-hero__content--dark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.investir-v2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #1fc4d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investir-v2-hero__title--dark {
  max-width: 680px;
  margin: 0;
  color: #ffffff;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.investir-v2-hero__lead--dark {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 17px;
  line-height: 1.7;
}

.investir-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 991px) {
  .investir-v2-hero--dark {
    padding: 76px 0 68px;
    background-position: 68% center;
  }

  .investir-v2-hero__title--dark {
    max-width: 100%;
    font-size: 40px;
  }

  .investir-v2-hero__lead--dark {
    max-width: 100%;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .investir-v2-hero--dark {
    padding: 52px 0 48px;
    background-position: 74% center;
    background-image:
      linear-gradient(
        180deg,
        rgba(4, 18, 45, 0.88) 0%,
        rgba(4, 18, 45, 0.78) 45%,
        rgba(4, 18, 45, 0.62) 100%
      ),
      url('/img/investir/investir-hero-dark.png');
  }

  .investir-v2-breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .investir-v2-hero__eyebrow {
    font-size: 12px;
  }

  .investir-v2-hero__title--dark {
    font-size: 34px;
  }

  .investir-v2-hero__lead--dark {
    font-size: 16px;
    line-height: 1.65;
  }

  .investir-v2-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .investir-v2-hero__actions .ui-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.investir-v2-highlights {
  padding: 34px 0 30px;
  background: #ffffff;
}

.investir-v2-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 100%;
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.investir-v2-highlight-card__icon {
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #1a7f95;
  background: #ecf8f6;
  font-size: 26px;
}

.investir-v2-highlight-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 100%;
}

.investir-v2-highlight-card__title {
  margin: 0 0 16px;
  color: var(--color-heading);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
}

.investir-v2-highlight-card__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.investir-v2-highlight-card__list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
}

.investir-v2-highlight-card__list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #1ea8b2;
  border-radius: 50%;
  background: #ffffff;
}

.investir-v2-highlight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .investir-v2-highlights {
    padding: 28px 0 24px;
  }

  .investir-v2-highlight-card {
    padding: 24px 22px;
  }

  .investir-v2-highlight-card__title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .investir-v2-highlights {
    padding: 24px 0 20px;
  }

  .investir-v2-highlight-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .investir-v2-highlight-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .investir-v2-highlight-card__title {
    font-size: 22px;
  }

  .investir-v2-highlight-card__list li,
  .investir-v2-highlight-card__link {
    font-size: 14px;
  }
}

/* =========================================================
   AVANTAGES
   ========================================================= */

.investir-v2-avantages {
  padding: 30px 0 42px;
  background: #ffffff;
}

.investir-v2-avantages__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}

.investir-v2-avantages__head-main {
  max-width: 760px;
}

.investir-v2-avantages__title {
  margin: 0 0 10px;
  max-width: none;
}

.investir-v2-avantages__lead {
  max-width: 760px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.investir-v2-avantages__head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.investir-v2-avantages__list {
  display: grid;
  gap: 0;
}

.investir-v2-avantage-feature {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid #dce7f2;
}

.investir-v2-avantage-feature:first-child {
  border-top: 0;
  padding-top: 0;
}

.investir-v2-avantage-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #1c5c92;
  background: linear-gradient(135deg, #eff8f8 0%, #eef4fb 100%);
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(32, 79, 132, 0.06);
}

.investir-v2-avantage-feature__title {
  margin: 0 0 8px;
  color: var(--color-heading);
  font-size: 26px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.investir-v2-avantage-feature__text {
  max-width: 44ch;
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.72;
}

.investir-v2-avantages__visual {
  padding: 12px;
  border: 1px solid #dce7f2;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(16, 36, 73, 0.05);
  overflow: hidden;
}

.investir-v2-avantages__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .investir-v2-avantages {
    padding: 26px 0 36px;
  }

  .investir-v2-avantages__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .investir-v2-avantages__head-main,
  .investir-v2-avantages__lead {
    max-width: 100%;
  }

  .investir-v2-avantage-feature__title {
    font-size: 22px;
  }

  .investir-v2-avantages__visual {
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
  .investir-v2-avantages {
    padding: 22px 0 30px;
  }

  .investir-v2-avantages__lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .investir-v2-avantage-feature {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .investir-v2-avantage-feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 22px;
  }

  .investir-v2-avantage-feature__title {
    font-size: 20px;
  }

  .investir-v2-avantage-feature__text {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.65;
  }

  .investir-v2-avantages__visual {
    padding: 10px;
    border-radius: 20px;
  }

  .investir-v2-avantages__image {
    border-radius: 14px;
  }
}

/* =========================================================
   PARCOURS
   ========================================================= */

.investir-v2-parcours {
  padding: 34px 0 46px;
  background: #f9fbfe;
}

.investir-v2-parcours__head {
  max-width: 760px;
  margin: 0 0 28px;
}

.investir-v2-parcours__title {
  margin: 0 0 10px;
}

.investir-v2-parcours__lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.investir-v2-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 22px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 36, 73, 0.04);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.investir-v2-step:hover {
  transform: translateY(-2px);
  border-color: #d4e1ec;
  box-shadow: 0 18px 34px rgba(16, 36, 73, 0.06);
}

.investir-v2-step__topline {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1fa6b3 0%, #204f84 100%);
}

.investir-v2-step__number {
  margin: 0 0 16px;
  color: #d1dbe7;
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.investir-v2-step__title {
  margin: 0 0 12px;
  color: var(--color-heading);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.investir-v2-step__text {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 767px) {
  .investir-v2-parcours {
    padding: 22px 0 30px;
  }

  .investir-v2-parcours__head {
    margin-bottom: 22px;
  }

  .investir-v2-parcours__lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .investir-v2-step {
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .investir-v2-step__number {
    margin-bottom: 14px;
    font-size: 30px;
  }

  .investir-v2-step__title {
    font-size: 20px;
  }

  .investir-v2-step__text {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* =========================================================
   CTA
   ========================================================= */

.investir-v2-cta {
  padding: 28px 0 56px;
  background: #ffffff;
}

.investir-v2-cta__band {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 173, 197, 0.18), transparent 26%),
    linear-gradient(135deg, #0a2d67 0%, #123f86 52%, #123874 100%);
  box-shadow: 0 18px 40px rgba(11, 42, 95, 0.18);
  overflow: hidden;
}

.investir-v2-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 26px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 42px;
}

.investir-v2-cta__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.investir-v2-cta__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
}

.investir-v2-cta__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.investir-v2-cta__actions .ui-btn {
  min-width: 180px;
  justify-content: center;
}

@media (max-width: 1199px) {
  .investir-v2-cta__band {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }

  .investir-v2-cta__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 110px;
  }

  .investir-v2-cta__icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    font-size: 34px;
  }

  .investir-v2-cta__title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .investir-v2-cta {
    padding: 22px 0 40px;
  }

  .investir-v2-cta__band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .investir-v2-cta__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 28px;
  }

  .investir-v2-cta__title {
    font-size: 26px;
  }

  .investir-v2-cta__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .investir-v2-cta__actions {
    justify-content: flex-start;
    padding-left: 0;
  }

  .investir-v2-cta__actions .ui-btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   CARNETS
   ========================================================= */

.investir-v2-carnets {
  padding: 30px 0 48px;
  background: #ffffff;
}

.investir-v2-carnets__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.investir-v2-carnets__head-main {
  max-width: 760px;
}

.investir-v2-carnets__title {
  margin: 0 0 10px;
}

.investir-v2-carnets__lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.investir-v2-carnets__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.investir-v2-carnet-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 36, 73, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.investir-v2-carnet-card:hover {
  transform: translateY(-2px);
  border-color: #d4e1ec;
  box-shadow: 0 18px 34px rgba(16, 36, 73, 0.06);
}

.investir-v2-carnet-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.investir-v2-carnet-card__logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 96px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fbfdff;
  overflow: hidden;
}

.investir-v2-carnet-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.investir-v2-carnet-card__title {
  margin: 0 0 8px;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.investir-v2-carnet-card__meta {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 18px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.investir-v2-carnet-card__details {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.investir-v2-carnet-card__details li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
}

.investir-v2-carnet-card__details li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #234f84;
  border-radius: 50%;
  background: #d8e8f7;
}

.investir-v2-carnet-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .investir-v2-carnets__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .investir-v2-carnets__lead {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .investir-v2-carnets {
    padding: 20px 0 32px;
  }

  .investir-v2-carnet-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .investir-v2-carnet-card__logo-box {
    width: 124px;
    height: 80px;
    border-radius: 16px;
  }

  .investir-v2-carnet-card__meta {
    min-height: auto;
    font-size: 14px;
  }
}

/* =========================================================
   FAQ TEASER
   ========================================================= */

.investir-v2-faq {
  padding: 28px 0 48px;
  background: #ffffff;
}

.investir-v2-faq__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.investir-v2-faq__head-main {
  max-width: 760px;
}

.investir-v2-faq__title {
  margin: 0 0 10px;
}

.investir-v2-faq__lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.investir-v2-faq__head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.investir-v2-faq__panel {
  border-top: 1px solid #dce7f2;
  border-bottom: 1px solid #dce7f2;
}

.investir-v2-faq__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 0 8px 0 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #dce7f2;
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.investir-v2-faq__item:last-child {
  border-bottom: 0;
}

.investir-v2-faq__item:hover {
  padding-left: 6px;
  background: #fbfdff;
}

.investir-v2-faq__number {
  color: #cfd8e3;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.investir-v2-faq__question {
  color: var(--color-heading);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.investir-v2-faq__arrow {
  color: var(--color-primary);
  font-size: 18px;
  text-align: right;
  opacity: 0.72;
}

@media (max-width: 991px) {
  .investir-v2-faq__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .investir-v2-faq__lead {
    font-size: 16px;
  }

  .investir-v2-faq__item {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 14px;
    min-height: 76px;
  }

  .investir-v2-faq__question {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .investir-v2-faq {
    padding: 20px 0 32px;
  }

  .investir-v2-faq__lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .investir-v2-faq__item {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 68px;
  }

  .investir-v2-faq__number {
    font-size: 22px;
  }

  .investir-v2-faq__question {
    font-size: 16px;
  }
}