@charset "UTF-8";
/* ==========================================================================
   BASE
   ========================================================================== */

.home-page {
  font-family: var(--font-article);
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 2.5rem;
  border-radius: 14px;
}

/* ==========================================================================
   HERO IMMERSIF
   ========================================================================== */
.hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 40px max(24px, (100vw - 1200px) / 2);
  background: linear-gradient(90deg, rgba(0, 21, 65, 0.95) 0%, rgba(0, 31, 86, 0.3) 70%), url("/assets/images/accueil/hero-radio-vinci-autoroutes.jpg");
  background-size: cover;
  background-position: right center;
}

.hero h1 {
  font-family: var(--font-vinci);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
}

.hero p {
  margin: 24px 0;
  max-width: 520px;
}

.hero__button {
  text-decoration: none;
}

/* ==========================================================================
   MODULES STRUCTURE
   ========================================================================== */

.home-modules {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 2rem;
  align-items: start;
}

/* Tous les enfants directs prennent toute la largeur par défaut */
.home-modules > * {
  grid-column: 1/-1;
}

/* Module texte sur la colonne principale */
.home-modules > .module-news--text {
  grid-column: 1;
}

/* Pub sur la colonne de droite */
.home-modules > .pub {
  grid-column: 2;
  width: 100%;
  max-width: 400px;
  justify-self: end;
}


/* ==========================================================================
   HEADER MODULES
   ========================================================================== */
.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.module-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0d3a63;
}

.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 0.35rem 0.7rem;
  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;

  color: #0567f1;
  background: rgba(5, 103, 241, 0.08);

  transition: all 0.2s ease;
}

.module-link::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Hover “classe” */
.module-link:hover {
  background: #0567f1;
  color: #fff;
  transform: translateY(-1px);
}

.module-link:hover::after {
  transform: translateX(2px);
}

/* Option : version plus discrète */
.module-link--ghost {
  background: transparent;
  border: 1px solid rgba(5, 103, 241, 0.3);
}
.module-link--ghost:hover {
  background: #0567f1;
  border-color: #0567f1;
}

/* ==========================================================================
   NEWS BASE
   ========================================================================== */
.news {
  display: block;
}

.news-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-item:hover {
  transform: translateY(-3px);
}

.news-link {
  text-decoration: none;
  color: inherit;
}

.news-img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.news-content {
  z-index: 2;
  padding: 1rem;
}

.news-title {
  display: grid;
  grid-template-columns: auto 1fr;
  -moz-column-gap: 6px;
       column-gap: 6px;
  font-weight: 800;
  line-height: 1.3;
}

.news-title-text {
  display: block;
}

.news-resume {
  font-size: 0.9rem;
}

.news-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #abacad;
}

.news-time::before {
  content: "⏱";
  font-size: 0.9rem;
  transform: translateY(-1px);
}

/* ==========================================================================
   ROAD BADGE
   ========================================================================== */
.road-badge {
  grid-row: 1;
  align-self: start;
  min-width: 50px;
  max-width: 100px;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  background: #0d3a63;
  color: #fff;
}

/* ==========================================================================
   VARIANTE 1 : COVER - À LA UNE
   ========================================================================== */
.module-news--cover .news {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.module-news--cover .news-item {
  position: relative;
}

.module-news--cover .news-item:first-child {
  grid-row: span 2;
}

.module-news--cover .news-img {
  height: 100%;
  min-height: 180px;
}

.module-news--cover .news-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.module-news--cover .news-content {
  position: absolute;
  bottom: 0;
  color: #fff;
}

.module-news--cover .news-item:first-child .news-title {
  font-size: 1.6rem;
}

.module-news--cover .news-item:first-child .news-resume {
  display: block;
}

.module-news--cover .news-resume {
  display: none;
}

/* ==========================================================================
   VARIANTE 2 : GRID - TRAFIC
   ========================================================================== */
.module-news--grid .news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.module-news--grid .news-item:last-child:nth-child(odd) {
  grid-column: span 2;
}

.module-news--grid .news-item {
  position: relative;
  box-shadow: none;
}

.module-news--grid .news-img {
  height: 160px;
}

.module-news--grid .news-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.module-news--grid .news-content {
  position: absolute;
  bottom: 0;
  color: #fff;
}

.module-news--grid .news-title {
  font-size: 0.9rem;
}

.module-news--grid .news-resume {
  display: none;
}

/* ==========================================================================
   VARIANTE 3 : TEXT - TRAVAUX
   ========================================================================== */
.module-news--text .news {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.6rem;
}

.module-news--text .news-item {
  background: #f6f9fc;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
}

.module-news--text .news-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-news--text .news-title {
  font-size: 0.85rem;
  color: #0d3a63;
}

.module-news--text .news-link::after {
  content: "›";
  color: #9aa8b5;
  margin-right: 4px;
}

.module-news--text .news-img,
.module-news--text .news-resume {
  display: none;
}

.module-news--text .news-badge {
  display: none;
}

/* ==========================================================================
   VARIANTE 4 : SLIDER - MOBILE / PODCAST / BONUS
   ========================================================================== */
.module-news--slider .news {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-mask-image: linear-gradient(to right, black 98%, transparent);
  mask-image: linear-gradient(to right, black 98%, transparent);
}

.module-news--slider .news::-webkit-scrollbar {
  display: none;
}

.module-news--slider .news-item {
  flex: 0 0 29%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #f6f9fc;
  border-radius: 14px;
  border: 1px solid #e3e7ee;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.module-news--slider .news-item:hover {
  transform: translateY(-4px);
}

.module-news--slider .news-img {
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.module-news--slider .news-item::after {
  display: none;
}

.module-news--slider .news-content {
  position: relative;
  padding: 1rem;
}

.module-news--slider .news-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0d3a63;
  line-height: 1.3;
}

.module-news--slider .news-resume {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

.slider-wrapper {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.slider-btn--prev {
  left: -10px;
}

.slider-btn--next {
  right: -10px;
}

.slider-btn:hover {
  background: #0567f1;
}

/* ==========================================================================
   VIDEO
   ========================================================================== */
.module-video .video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  background-color: #172f4b;
  padding: 10px;
}

.video-item {
  border-radius: 10px;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.video-baseline {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   PUB
   ========================================================================== */
.pub {
  width: 100%;
  max-width: 400px;
  background: #f5f5f5;
  text-align: center;
  border-radius: 14px;
  overflow: hidden

}

.pub img {
  width: 100%;
  height: auto;
  display: block;
}

.pub__footer {
  font-size: 12px;
  padding: 6px;
}

.pub__footer a {
  text-decoration: none;
  color: #666;
}

/* ==========================================================================
   PLAYLIST
   ========================================================================== */
.playlist {
  display: block;
  text-decoration: none;
  color: inherit;
}

.playlist__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #bbb;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.playlist__partner img {
  height: 16px;
  vertical-align: middle;
}

.playlist__item {
  display: flex;
  align-items: center;
  height: 60px;
  margin-top: 6px;
  background: #f0f0f0;
}

.playlist__item img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
}

.playlist__text {
  padding: 0 10px;
  overflow: hidden;
}

.playlist__artist {
  font-size: 13px;
  font-weight: bold;
}

.playlist__title {
  font-size: 12px;
  color: #555;
}

/* ==========================================================================
   BADGE / STICKER VINCI
   ========================================================================== */
.news-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 4;
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #e10600);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Couleurs par catégorie */
.news-badge--météo,
.news-badge--meteo {
  background: linear-gradient(135deg, #ff3b30, #c40000);
}

.news-badge--travaux {
  background: linear-gradient(135deg, #0567f1, #003c9e);
}

.news-badge--actualite {
  background: linear-gradient(135deg, #ff8a00, #d65a00);
}

.news-badge--cin-ma,
.news-badge--play-replay,
.news-badge--actu-litt-raire,
.news-badge--replay {
  background: linear-gradient(135deg, #7b61ff, #3f2dbb);
}

.news-badge--l-autoroute,
.news-badge--default {
  background: linear-gradient(135deg, #6b7280, #374151);
}

/* Intégration par mode */
.module-news--cover .news-badge {
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
}

.module-news--grid .news-badge {
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.65rem;
}

.module-news--slider .news-badge {
  top: 0.6rem;
  left: 0.6rem;
}

/* ==========================================================================
   METEO ALERT ULTRA VISIBLE
   ========================================================================== */
.meteo-alert {
  display: block;
  text-decoration: none;
  color: inherit;
}

.meteo-alert__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 14px;
  color: #fff;
}

.meteo-alert--4 {
  background: radial-gradient(circle at left, rgba(255, 255, 255, 0.15), transparent 60%), linear-gradient(135deg, #ec4b4b, #c53030);
}

.meteo-alert--3 {
  background: radial-gradient(circle at left, rgba(255, 255, 255, 0.15), transparent 60%), linear-gradient(135deg, #eea36d, #fb923c);
}

.meteo-alert__media {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  overflow: hidden;
}

.meteo-alert__media img {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(1.2);
  transform-origin: center;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.65));
}

.meteo-alert__content {
  flex: 1;
}

.meteo-alert__title {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1;
}

.meteo-alert__message {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.meteo-alert__cta {
  font-size: 1.6rem;
  font-weight: 800;
  opacity: 0.9;
}

.meteo-alert:hover .meteo-alert__inner {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* ==========================================================================
   CONCOURS CARD PREMIUM
   ========================================================================== */
.concours-card {
  display: block;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-vinci), Arial, sans-serif;
}

.concours-card__inner {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.concours-card:hover .concours-card__inner {
  transform: translateY(-2px);
}

.concours-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.concours-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}

.concours-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: #fff;
  color: #0d3a63;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.concours-card__content {
  padding: 1rem;
  color: #fff;
}

.concours-card__title {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.3;
}

.concours-card__button {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: #0d3a63;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

.concours-card__button:hover {
  background: #0d3a63;
  color: #fff;
}
.module-news--cover .news-item::after,
.module-news--grid .news-item::after {
    pointer-events: none;
}
/* ==========================================================================
   RESPONSIVE TABLETTE
   ========================================================================== */
@media (max-width: 900px) {
  /*
     À partir de 900px, la pub repasse sous les autres modules.
     Ça évite une colonne droite trop étroite.
  */
  .home-modules {
    grid-template-columns: 1fr;
  }
  .home-modules > *,
  .home-modules > .module-news--text,
  .home-modules > .pub {
    grid-column: 1/-1;
  }
  .home-modules > .pub {
    max-width: 400px;
    justify-self: center;
  }
  .module-news--slider .news-item {
    flex: 0 0 45%;
  }
}
/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 700px) {
  .home-page {
    padding: 1rem;
    border-radius: 0;
  }
  .home-modules {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .home-modules > .pub {
    width: 100%;
    max-width: none;
  }
  .hero {
    min-height: 350px;
    align-items: flex-end;
  }
  /* Météo */
  .meteo-alert__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .meteo-alert__media {
    justify-content: flex-start;
  }
  .meteo-alert__media img {
    width: 45%;
    height: auto;
  }
  .meteo-alert__cta {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .meteo-alert__message {
    font-size: 1.05rem;
  }
  /* Cover devient slider */
  
  .module-news--cover .news {
    display: flex;
    overflow-x: auto;
    margin: 0 -10px;
    gap: 1rem;
    scroll-snap-type: x mandatory;
  }
  .module-news--cover .news::-webkit-scrollbar {
    display: none;
  }
  .module-news--cover .news-item {
    flex: 0 0 85%;
    min-height: 350px;
    scroll-snap-align: start;
  }
  .module-news--cover .news-resume {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
  }
  /* Grid trafic en une colonne */
  .module-news--grid {
    width: 100%;
  }
  .module-news--grid .news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* ✅ enlève tous les spans desktop */
  .module-news--grid .news-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  /* Text en une colonne */
  .module-news--text .news {
    grid-template-columns: 1fr;
  }
  /* Slider */
.module-news--slider {
  width: 100%;
  min-width: 0;
}

.module-news--slider .news {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -1rem;  
    scroll-padding-left: 1rem;
    -webkit-mask-image: none;
    mask-image: none;

}

.module-news--slider .news::before {
  content: "";
  flex: 0 0 1rem; 
}

.module-news--slider .news-item {
  flex: 0 0 80%;
  max-width: 80%;
  scroll-snap-align: start;
}
  .slider-btn--prev,
  .slider-btn--next {
    display: none;
  }
  /* Vidéo en slider */
  .module-video .video-list {
    display: flex;
    gap: 0.8rem;
    margin: 0 -1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .module-video .video-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
    border-radius: 12px;
    padding: 1rem;
  }
  .module-video .video-list::-webkit-scrollbar {
    display: none;
  }
  /* Concours */
  .concours-card__media {
    height: 170px;
  }
  .concours-card__title {
    font-size: 1rem;
  }
}/*# sourceMappingURL=home.css.map */
