/* Accueil Komkombox adapte du frame Figma 2147225187 */

.figma-home {
  --figma-ink: #172b38;
  --figma-muted: #617083;
  --figma-orange: #ff9700;
  --figma-dark: #152c38;
  --figma-card: #fff9ef;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--figma-ink);
  background: linear-gradient(165deg, #eaf6df 0%, #eef2df 42%, #f1ead7 70%, #e9ece7 100%);
}

.figma-home *,
.figma-home *::before,
.figma-home *::after {
  box-sizing: border-box;
  font-family: "Open Sans", system-ui, sans-serif;
  letter-spacing: 0;
}

/* Marges latérales proportionnelles au design : contenu ~86.5% (marge ~6.75%),
   barre de nav ~92.8% (marge ~3.6%), plafonnées sur très grands écrans. */
.figma-home .wrap {
  width: min(1390px, 86.5%);
  max-width: none;
  /* padding: 0; */
  margin-inline: auto;
}

.figma-home .nav {
  height: 72px;
  padding: 0;
  background: transparent;
}

.figma-home .nav__row {
  width: min(1488px, 92.8%);
  min-height: 50px;
  padding: 9px 30px;
  background: rgba(255, 255, 255, .9);
  border-radius: 42px;
  box-shadow: 0 6px 20px rgba(45, 52, 54, .07);
}

.figma-home .nav__logo {
  height: 22px;
}

.figma-home .nav__links {
  gap: 29px;
}

.figma-home .nav__links a {
  color: #5d6879;
  font-size: 12px;
  font-weight: 700;
}

.figma-home .nav__links a.is-on {
  color: var(--figma-orange);
}

.figma-home .btn {
  height: 40px;
  border-radius: 11px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 800;
}

.figma-home .btn--primary {
  background: var(--figma-orange);
  color: #fff;
}

.figma-home .btn--outline {
  background: transparent;
  border: 1.5px solid var(--figma-ink);
  color: var(--figma-ink);
}

.hero-figma {
  padding: 62px 0 72px;
}

.hero-figma__grid {
  display: grid;
  grid-template-columns: 548px 1fr;
  gap: 130px;
  align-items: start;
}

.hero-figma__copy {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero-figma h1 {
  color: var(--figma-ink);
  font-size: 67px;
  line-height: 1.16;
  font-weight: 800;
}

.hero-figma p {
  max-width: 536px;
  color: var(--figma-muted);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 500;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  color: #5b6677;
  font-size: 12px;
  font-weight: 800;
}

.hero-pills svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 16px;
}

.hero-actions .btn {
  min-width: 0;
}

.hero-actions .btn--primary {
  width: 276px;
}

.hero-actions .btn--outline {
  width: 226px;
}

.store-row {
  margin-top: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--figma-dark);
  color: #efeddb;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(21, 44, 56, .22);
}

.store-badge svg {
  flex: none;
  display: block;
}

.store-badge__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.store-badge__txt small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

.store-badge__txt strong {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}

.hero-figma__visual {
  position: relative;
  padding-top: 0;
}

.hero-figma__visual > img {
  width: 510px;
  height: 520px;
  margin-left: auto;
  object-fit: cover;
  border-radius: 43px;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 239px;
  min-height: 83px;
  padding: 16px 22px;
  border-radius: 24px;
  background: #fff;
  color: var(--figma-ink);
}

.floating-badge--badges {
  top: 77px;
  left: 0;
  min-width: 276px;
  min-height: 85px;
}

.floating-badge--income {
  right: -50px;
  bottom: 40px;
  background: #fff5e6;
}

.badge-icon {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}

.floating-badge b {
  display: block;
  color: #17202e;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.floating-badge small {
  display: block;
  color: #364153;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.floating-badge--income b {
  color: var(--figma-orange);
  font-size: 28px;
}

.programs-section {
  padding: 0 0 86px;
}

.section-title {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title h2 {
  color: var(--figma-ink);
  font-size: 39px;
  line-height: 1.25;
  font-weight: 800;
}

.section-title p {
  margin-top: 18px;
  color: var(--figma-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.featured-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.program-card {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.program-card--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px;
  margin-top: 28px;
}

.partners-row article {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-radius: 24px;
  background: #fff;
}

.partner__logo {
  height: 42px;
  width: auto;
  max-width: 130px;
  flex: none;
  object-fit: contain;
}

.partner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 22px;
  padding-left: 22px;
  border-left: 1.5px solid #e7e9e1;
}

.partner__text strong {
  color: var(--figma-ink);
  font-size: 14px;
  font-weight: 800;
}

.partner__text span {
  color: var(--figma-muted);
  font-size: 13px;
  font-weight: 500;
}

.stats-band {
  min-height: 148px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  border: 1.5px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
}

.stats-band div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.stats-band div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 37px;
  bottom: 37px;
  width: 1px;
  background: rgba(255, 255, 255, .95);
}

.stats-band b {
  color: var(--figma-orange);
  font-size: 60px;
  line-height: 1;
  font-weight: 800;
}

.stats-band span {
  max-width: 150px;
  color: var(--figma-muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.device-section,
.mentor-section {
  width: min(1390px, 86.5%);
  margin: 0 auto;
  padding: 66px 0;
  border-radius: 18px;
  background: var(--figma-dark);
  color: #fff;
}

/* À l'intérieur des blocs sombres, le .wrap occupe toute la largeur du bloc
   (l'inset latéral est déjà porté par le bloc lui-même). */
.device-section > .wrap,
.mentor-section > .wrap {
  width: 100%;
}

.section-title--light h2 {
  max-width: 653px;
  margin: 0 auto;
  color: #fff;
}

.section-title--light p {
  max-width: 498px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.68);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
  margin: 44px auto 0;
  max-width: 1000px;
}

.device-card {
  min-height: 365px;
  padding: 34px 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fdf8f0 0%, #f0eadf 100%);
  border: 1px solid #ece5d8;
  color: var(--figma-ink);
}

.device-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--figma-ink);
}

.device-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-card h3 {
  color: var(--figma-orange);
  font-size: 21px;
  font-weight: 800;
}

.device-card p {
  margin-top: 12px;
  color: #3a4650;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.device-card ul {
  margin: 22px 0 0;
  padding-left: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-card li {
  color: var(--figma-ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.device-card li::marker {
  color: var(--figma-ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.tag-row span {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #d9d2c5;
  color: #6b6258;
  font-size: 12px;
  font-weight: 700;
}

.families-section {
  padding: 86px 0 70px;
}

.section-head-left h2 {
  color: var(--figma-ink);
  font-size: 39px;
  line-height: 1.22;
  font-weight: 800;
}

.section-head-left h2 span {
  color: #8a97a3;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.family-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.family-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 45, 58, .04), rgba(20, 45, 58, .82));
}

.family-card > * {
  position: relative;
  z-index: 1;
}

.family-card__badge {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--figma-ink);
  font-size: 12px;
  font-weight: 800;
}

.family-card__badge img {
  width: 17px;
  height: 14px;
  display: block;
}

.family-card__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.family-card h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.family-card small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--figma-orange);
  font-size: 13px;
  font-weight: 800;
}

.family-card small img {
  width: 18px;
  height: 15px;
  display: block;
}

.download-section {
  padding: 30px 0 70px;
}

.download-card {
  min-height: 542px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: center;
  padding: 56px 62px;
  border-radius: 18px;
  background: #fff8ee;
}

.download-card h2,
.mentor-section h2,
.deployment-section h2 {
  color: var(--figma-ink);
  font-size: 44px;
  line-height: 1.32;
  font-weight: 800;
}

.download-card p,
.deployment-section p {
  max-width: 520px;
  margin-top: 24px;
  color: var(--figma-muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.phone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-shot {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

.mentor-section {
  padding: 76px 0;
  margin-top: 14px;
}

.mentor-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.mentor-section h2 {
  color: #fff;
}

.mentor-section p {
  max-width: 596px;
  margin-top: 24px;
  color: rgba(255,255,255,.67);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.mentor-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.mentor-list div {
  padding-left: 94px;
  position: relative;
  min-height: 73px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mentor-ic {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 73px;
  height: 73px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1e2b36;
}

.mentor-ic svg {
  width: 32px;
  height: 32px;
}

.mentor-list b,
.mentor-list span {
  display: block;
}

.mentor-list b {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.mentor-list span {
  margin-top: 5px;
  color: rgba(255,255,255,.56);
  font-size: 13px;
  line-height: 1.55;
}

.chat-card {
  width: 365px;
  min-height: 566px;
  margin-left: auto;
  padding: 20px 24px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff2df 0%, #fff8ec 38%, #fffaf3 100%);
  display: flex;
  flex-direction: column;
}

.chat-input {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-input span {
  color: #9a9387;
  font-size: 13px;
  font-weight: 600;
}

.chat-send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 12px;
  background: var(--figma-orange);
  cursor: pointer;
}

.chat-send svg {
  width: 18px;
  height: 18px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -20px -24px 24px;
  padding: 20px 24px 18px;
  background: #fff;
}

.chat-head img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-head__meta {
  min-width: 0;
}

.chat-head strong {
  display: block;
  color: var(--figma-ink);
  font-size: 15px;
  font-weight: 800;
}

.chat-head small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: #36aa5d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.chat-head small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #36aa5d;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: #1a2b37;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 2px 10px rgba(26, 43, 55, .05);
}

.bubble--me {
  margin-left: auto;
  background: var(--figma-dark);
  color: #fff;
  box-shadow: none;
}

.dashboard-section {
  padding: 74px 0 60px;
}

.dashboard-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 32px;
}

.dashboard-bar i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e84c3d;
}

.dashboard-bar i:nth-child(2) {
  background: #f5a623;
}

.dashboard-bar i:nth-child(3) {
  background: #7cb342;
}

.dashboard-bar span {
  margin-left: 12px;
  color: #6b757a;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 1.75fr;
  gap: 20px;
}

.kpi,
.skills-chart {
  border-radius: 14px;
  background: #faf5ee;
}

.kpi {
  min-height: 132px;
  padding: 28px 32px;
}

.kpi b {
  display: block;
  color: var(--figma-ink);
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
}

.kpi span {
  display: block;
  margin-top: 10px;
  color: #64726e;
  font-size: 13px;
  font-weight: 800;
}

.skills-chart {
  grid-row: span 2;
  padding: 32px;
}

.skills-chart h3 {
  color: #9aa2a4;
  font-size: 12px;
  font-weight: 800;
}

.bar-line {
  display: grid;
  grid-template-columns: 47px 1fr 40px;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.bar-line span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1ea;
  color: #65726f;
  font-size: 12px;
  font-weight: 800;
}

.bar-line__main {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bar-line em {
  font-style: normal;
  color: #5b6b67;
  font-size: 13px;
  font-weight: 700;
}

.bar-line i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eee4d4;
  overflow: hidden;
}

.bar-line b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--figma-orange);
}

.bar-line small {
  color: var(--figma-orange);
  font-size: 12px;
  font-weight: 800;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 26px;
}

.report-grid article {
  min-height: 126px;
  padding: 28px 30px;
  border-radius: 14px;
  background: #fff;
}

.report-grid b,
.report-grid span {
  display: block;
}

.report-grid b {
  color: var(--figma-ink);
  font-size: 14px;
  font-weight: 800;
}

.report-grid span {
  margin-top: 8px;
  color: var(--figma-muted);
  font-size: 13px;
  line-height: 1.5;
}

.deployment-section {
  padding: 74px 0 112px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.deploy-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 619px;
  min-height: 123px;
  margin-top: 35px;
  padding: 20px 28px;
  border: 1px solid rgba(20,45,58,.12);
  border-radius: 14px;
  text-align: center;
}

.deploy-numbers b {
  color: var(--figma-orange);
  font-size: 36px;
  font-weight: 800;
}

.deploy-numbers span {
  display: block;
  margin-top: 8px;
  color: var(--figma-muted);
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  min-height: 122px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 38px;
  align-items: center;
  padding: 24px 42px;
  border-radius: 14px;
  background: #fff;
}

.timeline span {
  color: var(--figma-orange);
  font-size: 12px;
  font-weight: 800;
}

.timeline b {
  display: block;
  color: var(--figma-ink);
  font-size: 16px;
  font-weight: 800;
}

.timeline p {
  grid-column: 2;
  margin: -26px 0 0;
  color: var(--figma-muted);
  font-size: 13px;
  line-height: 1.55;
}

.figma-home .footer {
  background: #1a2b37;
  color: rgba(255, 255, 255, .62);
  padding: 64px 0 32px;
}

.figma-home .footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.figma-home .footer__brand {
  max-width: 300px;
}

.figma-home .footer__brand img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}

.figma-home .footer__brand p {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.figma-home .footer__col h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}

.figma-home .footer__col a {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 11px;
  transition: color .15s ease;
}

.figma-home .footer__col a:hover {
  color: #fff;
}

.figma-home .footer__bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.figma-home .footer__bot span {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  font-weight: 600;
}

@media (min-width: 760px) {
  .figma-home .footer__top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1180px) {
  .hero-figma__grid,
  .featured-programs,
  .device-grid,
  .download-card,
  .mentor-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

  .hero-figma__grid {
    gap: 56px;
  }

  .hero-figma__visual > img {
    margin: 0 auto;
  }

  .floating-badge--badges {
    left: 12%;
  }

  .floating-badge--income {
    right: 10%;
  }

  .partners-row,
  .family-grid,
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-card {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .figma-home .nav {
    height: 92px;
    padding: 0 12px;
  }

  .figma-home .nav__row {
    min-height: 64px;
    padding: 12px 18px;
  }

  .hero-figma {
    padding-top: 28px;
  }

  .hero-figma__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-figma h1,
  .download-card h2,
  .mentor-section h2,
  .deployment-section h2 {
    font-size: 38px;
  }

  .hero-actions .btn {
    max-width: 278px;
    min-width: 0;
  }

  .hero-figma__visual > img {
    width: 100%;
    height: 380px;
    border-radius: 30px;
  }

  .floating-badge {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .floating-badge--badges {
    top: 20px;
    left: 14px;
  }

  .floating-badge--income {
    right: 14px;
    bottom: 22px;
  }

  .section-title h2,
  .section-head-left h2 {
    font-size: 30px;
  }

  .partners-row,
  .family-grid,
  .stats-band,
  .dashboard-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    min-height: 118px;
  }

  .stats-band div + div::before {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
  }

  .device-section,
  .mentor-section {
    width: calc(100% - 28px);
  }

  .download-card {
    padding: 34px 24px;
  }

  .phone-shot {
    max-width: 340px;
  }

  .chat-card {
    width: 100%;
  }

  .skills-chart {
    grid-row: auto;
  }

  .deploy-numbers,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .timeline p {
    grid-column: auto;
    margin: 0;
  }
}
