/* ===== Composant : bandeau final (components/bandeau.html) =====
   Carte en dégradé bleu : texte à gauche, boutons à droite, garanties en dessous. */
.cta {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}
.cta * {
  box-sizing: border-box;
}
.cta h2,
.cta p,
.cta ul {
  margin: 0;
}
.cta-w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 48px;
  padding: 48px 56px;
  border-radius: 28px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(90, 219, 203, 0.28), transparent 70%),
    linear-gradient(135deg, #063b5c 0%, #087ea4 100%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(6, 59, 92, 0.7);
}
.cta-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-tag {
  font-size: 13px;
  font-weight: 700;
  color: #063b5c;
  padding: 5px 12px;
  border-radius: 999px;
  background: #5adbcb;
}
.cta-txt h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
/* plus précis que les titres des pages qui intègrent le bandeau (.tf h2, .mk h2…) */
.cta .cta-txt h2 {
  color: #fff;
}
.cta-txt p {
  font-size: 18px;
  line-height: 1.55;
  color: #dcebf3;
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s;
}
.cta-btn-main {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}
.cta-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.55);
}
.cta-btn-main svg {
  transition: transform 0.2s;
}
.cta-btn-main:hover svg {
  transform: translateX(3px);
}
.cta-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.cta-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.cta-assure {
  grid-column: 1 / -1;
  list-style: none;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 15px;
  color: #dcebf3;
}
.cta-assure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-assure li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063b5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    #5adbcb;
}

@media (max-width: 860px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cta-txt h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .cta-w {
    padding: 48px 16px;
  }
  .cta-box {
    padding: 28px 20px 24px;
    border-radius: 22px;
    gap: 22px;
  }
  .cta-txt h2 {
    font-size: 26px;
  }
  .cta-txt p {
    font-size: 16px;
  }
  .cta-row {
    flex-direction: column;
  }
  .cta-btn {
    width: 100%;
  }
  .cta-assure {
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
  }
}
