.neo-page {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--neo-text);
  display: grid;
  gap: 20px;
}

.neo-page__hero,
.neo-card {
  background: #fff;
  border: 1px solid var(--neo-border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(12, 35, 52, .08);
}

.neo-page__hero {
  padding: 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #79cbff 0%, #dff4ff 62%, #ffffff 100%);
}

.neo-page__hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(154, 224, 140, .06) 0%, rgba(96, 180, 89, .62) 100%);
  opacity: .78;
  pointer-events: none;
}

.neo-page__hero > * {
  position: relative;
  z-index: 1;
}

.neo-page__mascot-wrap {
  min-height: 260px;
  max-width: 280px;
  display: grid;
  place-items: end center;
  position: relative;
}
.neo-page__mascot-wrap::before {
  content: '';
  position: absolute;
  inset: 18px 12px 20px 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.20) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 22px 36px rgba(11, 106, 167, .10);
  backdrop-filter: blur(2px);
}

.neo-page__mascot-image {
  width: 100%;
  max-width: 320px;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 28px rgba(12, 35, 52, .18));
}

.neo-page__eyebrow {
  color: #0b6aa7;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.neo-page__title {
  margin: 4px 0 8px;
  font-size: clamp(24px, 4vw, 36px);
}

.neo-page__lead {
  margin: 0;
  color: var(--neo-muted);
  font-size: 16px;
  line-height: 1.55;
}

.neo-page__search {
  display: flex;
  gap: 10px;
}

.neo-page__input {
  flex: 1;
  min-height: 54px;
  border: 1px solid var(--neo-border);
  border-radius: 18px;
  padding: 0 16px;
  font-size: 15px;
}

.neo-page__button {
  min-width: 190px;
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  background: var(--neo-accent, #0b6aa7);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.neo-page__examples {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.neo-page__result {
  min-height: 220px;
}

.neo-page__placeholder {
  padding: 22px;
  background: #fff;
  border: 1px dashed var(--neo-border);
  border-radius: 24px;
  color: var(--neo-muted);
}

.neo-analysis {
  display: grid;
  gap: 18px;
}

.neo-grid {
  display: grid;
  gap: 16px;
}

.neo-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neo-card {
  padding: 20px;
}

.neo-card__eyebrow {
  color: #0b6aa7;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.neo-card__title {
  margin: 6px 0 8px;
  font-size: 22px;
}

.neo-card--recommendation {
  position: relative;
  overflow: hidden;
}

.neo-card--recommendation::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.neo-card--recommendation::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  pointer-events: none;
}

.neo-card--happy {
  background: linear-gradient(180deg, #79cbff 0%, #dff4ff 62%, #ffffff 100%);
}

.neo-card--happy::before {
  background:
    radial-gradient(circle at 79% 16%, rgba(255, 225, 104, .92) 0 7%, rgba(255, 225, 104, .24) 8% 12%, rgba(255,225,104,0) 13%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 42%);
}

.neo-card--happy::after {
  background: linear-gradient(180deg, rgba(154, 224, 140, .08) 0%, rgba(108, 186, 92, .68) 100%);
}

.neo-card--sad {
  background:
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #7088a5 0%, #bfcbd8 48%, #eef3f8 100%);
}

.neo-card--sad::before {
  background:
    repeating-linear-gradient(100deg,
      rgba(255,255,255,.18) 0 2px,
      rgba(255,255,255,0) 2px 16px
    );
  opacity: .42;
}

.neo-card--sad::after {
  background:
    radial-gradient(circle at 18% 86%, rgba(61, 81, 107, .36) 0%, rgba(61,81,107,0) 18%),
    radial-gradient(circle at 74% 82%, rgba(61, 81, 107, .28) 0%, rgba(61,81,107,0) 18%),
    linear-gradient(180deg, rgba(46, 64, 89, .06) 0%, rgba(46, 64, 89, .44) 100%);
}

.neo-card--worried {
  background:
    radial-gradient(circle at 83% 18%, rgba(255, 223, 117, .22) 0%, rgba(255,223,117,0) 14%),
    linear-gradient(180deg, #4c648b 0%, #869cc0 40%, #dce6f3 100%);
}

.neo-card--worried::before {
  background:
    repeating-linear-gradient(100deg,
      rgba(255,255,255,.24) 0 2px,
      rgba(255,255,255,0) 2px 15px
    ),
    radial-gradient(circle at 82% 18%, rgba(255, 215, 102, .22) 0%, rgba(255,215,102,0) 14%);
  opacity: .5;
}

.neo-card--worried::after {
  background:
    linear-gradient(180deg, rgba(32, 44, 67, 0) 0%, rgba(32, 44, 67, .18) 35%, rgba(32, 44, 67, .56) 100%);
}
.neo-reco {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: center;
  z-index: 1;
}

.neo-reco__media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.neo-reco__mascot,
.neo-reco__placeholder {
  width: min(100%, 280px);
  max-height: 360px;
  border-radius: 24px;
  object-fit: contain;
}

.neo-reco__mascot {
  display: block;
  background: transparent;
  box-shadow: none;
}

.neo-reco__mascot--happy,
.neo-reco__mascot--sad,
.neo-reco__mascot--worried { background: transparent; }

.neo-reco__placeholder {
  min-height: 200px;
  display: grid;
  place-items: center;
  font-size: 72px;
  background: #f4f8fb;
}


.neo-reco__content p {
  margin: 12px 0 0;
}

.neo-reco__text {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
}

.neo-reco__note {
  color: var(--neo-muted);
}

.neo-kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.neo-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3f7fa;
  font-size: 13px;
  color: #234;
}

.neo-decision {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.neo-decision--favorable {
  background: #ebf8ef;
  color: #1d6b34;
}

.neo-decision--acceptable {
  background: #eef6fb;
  color: #0b6aa7;
}

.neo-decision--a_surveiller {
  background: #fff6e8;
  color: #b36d00;
}

.neo-decision--deconseille {
  background: #fff0ef;
  color: #b42318;
}

.neo-slots {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neo-slot {
  background: #f9fbfd;
  border: 1px solid var(--neo-border);
  border-radius: 18px;
  padding: 16px;
}

.neo-slot__title {
  font-size: 13px;
  color: var(--neo-muted);
  margin-bottom: 6px;
}

.neo-slot__value {
  font-size: 18px;
  font-weight: 800;
}

.neo-hours {
  display: grid;
  gap: 10px;
}

.neo-hour {
  display: grid;
  grid-template-columns: 74px 1fr 72px 72px 72px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--neo-border);
  border-radius: 16px;
}

.neo-hour__time {
  font-weight: 700;
}

.neo-hour__meta {
  color: var(--neo-muted);
  font-size: 13px;
}

.neo-insights {
  margin: 0;
  padding-left: 18px;
}

.neo-insights li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .neo-grid--3,
  .neo-slots,
  .neo-reco {
    grid-template-columns: 1fr;
  }

  .neo-reco__media {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .neo-page__hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .neo-page__search {
    flex-direction: column;
  }

  .neo-page__button {
    min-height: 52px;
  }

  .neo-hour {
    grid-template-columns: 1fr 1fr;
  }
}


.neo-card--sad .neo-card__eyebrow,
.neo-card--worried .neo-card__eyebrow,
.neo-card--sad .neo-card__title,
.neo-card--worried .neo-card__title,
.neo-card--sad .neo-reco__text,
.neo-card--worried .neo-reco__text,
.neo-card--sad .neo-reco__note,
.neo-card--worried .neo-reco__note {
  color: #f7fbff;
  text-shadow: 0 1px 2px rgba(12, 35, 52, .22);
}

.neo-card--sad .neo-pill,
.neo-card--worried .neo-pill {
  background: rgba(255,255,255,.82);
}

.neo-route-map {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #dbeafe;
}

.neo-hours--route .neo-hour {
  grid-template-columns: 90px 1.4fr repeat(3, minmax(80px, 110px));
}

.neo-analysis--route .neo-card__title {
  max-width: 880px;
}

.neo-hour__icon{font-size:1.8rem;line-height:1;display:flex;align-items:center;justify-content:center;min-width:72px;min-height:72px;background:transparent;}
.neo-weather-svg{display:block;width:clamp(52px,3vw,68px);height:clamp(52px,3vw,68px);object-fit:contain;}
.neo-hour--route .neo-weather-svg{width:clamp(46px,2.6vw,58px);height:clamp(46px,2.6vw,58px);} 

.neo-hour{align-items:center;}
.neo-hour strong{font-size:1rem;}
.neo-hour__meta{font-size:.88rem;}
