/* Accueil — styles externes compatibles avec la politique de sécurité de production. */
.hero {
  min-height: 620px;
  padding-top: 20px !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .8fr);
  gap: 46px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(62px, 6vw, 82px);
  line-height: 1.05 !important;
  overflow: visible;
}

.hero h1 span,
.hero h1 em {
  display: block;
  white-space: normal;
  overflow: visible;
}

.hero h1 span { margin-bottom: 10px !important; }
.hero h1 em { padding-bottom: 12px; }

.hero-preview {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  transform: none;
}

.home-concept-grid {
  position: relative;
  gap: 20px;
}

.home-concept-grid::before {
  content: "";
  position: absolute;
  top: 61px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #397ee8 18%, #7259f0 50%, #397ee8 82%, transparent);
  opacity: .72;
}

.home-concept-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}

.home-concept-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  top: -118px;
  right: -82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 111, 242, .28), transparent 68%);
}

.home-concept-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.home-concept-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #86b8ff;
  border: 1px solid #3768aa;
  border-radius: 20px;
  background: linear-gradient(145deg, #15366c, #0a1930);
  box-shadow: inset 0 0 24px rgba(69, 135, 255, .12), 0 16px 35px rgba(0, 0, 0, .28);
}

.home-concept-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-concept-card .card-index {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: #fff;
  border: 1px solid rgba(126, 169, 255, .55);
  border-radius: 50%;
  background: linear-gradient(135deg, #1e65ec, #5934da);
  box-shadow: 0 10px 25px rgba(43, 92, 223, .32);
}

.home-concept-card h3 {
  margin: 0 0 12px;
  font-size: 27px;
  letter-spacing: -.025em;
}

.home-concept-card p { margin: 0; }

.home-concept-caption {
  display: block;
  margin-bottom: 8px;
  color: #69b7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-concept-cta {
  display: grid;
  justify-items: center;
  gap: 13px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 30px clamp(22px, 5vw, 52px);
  border: 1px solid rgba(83, 137, 239, .46);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(18, 43, 84, .82), rgba(13, 21, 43, .94));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .24), inset 0 0 42px rgba(56, 116, 235, .08);
  text-align: center;
}

.home-concept-cta h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1;
  letter-spacing: -.04em;
}

.home-concept-cta p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
}

.home-concept-cta .button {
  min-width: min(320px, 100%);
  padding-block: 15px;
  font-size: 17px;
}

.home-extension-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: stretch;
}

.home-extension-section .feature-list {
  height: 100%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-extension-section .feature-chip {
  min-height: 0;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 13px;
  padding: 10px 16px;
  border-radius: 18px;
}

.home-extension-section .feature-chip h3 { margin: 0; font-size: 18px; }
.home-extension-section .feature-chip p { margin: 5px 0 0; line-height: 1.4; }

.home-extension-section .virtual-editor-feature-icon,
.home-extension-section .history-product-icon,
.home-extension-section .apple-feature-mark {
  width: 48px;
  height: 48px;
}

.home-extension-title span { display: block; }

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-preview {
    max-width: 620px;
    justify-self: center;
  }

  .home-extension-section {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-extension-section > .home-extension-copy {
    order: 1;
    width: 100%;
  }

  .home-extension-section > .feature-list {
    order: 2;
    width: 100%;
    height: auto;
    grid-template-rows: none;
  }
}

@media (max-width: 800px) {
  .home-extension-section > .home-extension-copy { order: 1; }
  .home-extension-section > .feature-list { order: 2; }
  .home-extension-section .feature-list { height: auto; grid-template-rows: none; }
  .home-concept-grid::before { display: none; }
  .home-concept-card { min-height: 0; }

  .home-concept-top {
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .home-concept-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .home-concept-icon svg { width: 27px; height: 27px; }
  .home-concept-card .card-index { width: 34px; height: 34px; font-size: 13px; }
}
