/* Page de résultats */
.meteo-results-main {
    width: 100%;
    padding: var(--spacing-xl);
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin: 6rem auto 0;
    text-align: center;
}

@media (max-width: 767px) {
  .meteo-results-main {
    max-width: 100%;
  }
}
 
.meteo-results-h2 {
  text-align: center;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}

.meteo-results-city {
    width:100%;
    text-align: center;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 50px;
}
 
.meteo-results-title {
    color: var(--color-white); 
    width:100%;
    text-align: center;
    margin-bottom: var(--spacing-xl); 
    padding-bottom: var(--spacing-xl); 
}
 
/* Skeleton réaliste avec plusieurs lignes pour le titre */
.meteo-results-title.skeleton::before,
.meteo-results-title.skeleton::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  height: 32px;
  background: inherit;
  border-radius: var(--radius-sm); 
  animation: inherit;
}
 
.meteo-results-title.skeleton::before {
  top: 20px;
  width: 75%; 
}
 
.meteo-results-title.skeleton::after {
  top: 68px;
  width: 55%; 
}
 
 
.meteo-h2-localisation, .meteo-h2-temperature {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 40px;
}
 
.meteo-h2-temperature {
  position: relative;
  font-size: 80px;
}
 
 
.meteo-h2-date {
  font-size: 16px;
  font-weight: 400;
}
 
.meteo-h2-weather {
  font-size: 18px;
  font-weight: 400;
}

.meteo-h2-weather-icon {
  display: block;
  margin: 0 auto;
}
 
.meteo-results-details {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--color-white); 
    border-radius: var(--radius-lg);
    color: #8B6BC8;
}
 
.meteo-results-details h2 {
    padding: var(--spacing-md); 
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    border-bottom: 1px solid #8B6BC8;
}

.meteo-results-details h4 {
  margin-bottom:  var(--spacing-xl);
}
 
.meteo-results-details-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap:  var(--spacing-lg); 
}
 
/* Fallback navigateur : si CSS Grid non supporté, retour en Flexbox */
@supports not (display: grid) {
  .meteo-results-details-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
  }
}
 
 
.meteo-results-details-item {
    display: flex;
    gap: 12px;
}
 
.meteo-results-details-item.skeleton::before {
  content: '';
  position: absolute;
  left: 60px; 
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 24px;
  background: inherit;
  border-radius: var(--radius-sm);
  animation: inherit;
}
 
.meteo-results-item-infos {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    text-align: left;
}
 
/* Shimmer de base (garde ce que tu as déjà) */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@-webkit-keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
 
.skeleton {
  background: linear-gradient(90deg,
    #a0c4ff 25%, 
    #ffffff 37.5%,
    #ffffff 50%,
    #ffffff 62.5%,
    #a0c4ff 75%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
  -webkit-animation: shimmer 3s infinite linear;
  border-radius: var(--radius-md); 
  position: relative;
  overflow: hidden;
}
 
.skeleton * {
  visibility: hidden !important;
}