/* Home v5 — luxury editorial (white → green → orange → black) */

:root{
  --h5-black: #0b0d12;
  --h5-ink: rgba(11,13,18,.96);
  --h5-muted: rgba(11,13,18,.70);
  --h5-line: rgba(11,13,18,.14);
  --h5-green: #2f8f3a;
  --h5-orange: #f08a1a;
}

body.home5{
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(47,143,58,.10), transparent 62%),
    radial-gradient(900px 520px at 88% 14%, rgba(240,138,26,.09), transparent 62%),
    linear-gradient(180deg, #ffffff, rgba(255,255,255,.00) 35%, rgba(242,244,247,.92));
}

.home5{
  padding-top: clamp(14px, 2vw, 22px);
}

.home5-section{
  padding: clamp(22px, 4vw, 44px) 0;
}

.home5-head{
  max-width: 74ch;
}

/* Titre au-dessus : la photo s’aligne sur la 1re phrase, pas sur le kicker/titre */
.home5-presentIntro{
  margin-bottom: clamp(.85rem, 1.8vw, 1.35rem);
  max-width: min(52rem, 100%);
}
.home5-intro-kicker{
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(11,13,18,.58);
  font-weight: 850;
  margin: 0;
}
.home5-intro-title{
  margin: .5rem 0 .3rem;
  font-family: "Oswald","Inter",sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  line-height: 1.02;
  font-size: clamp(2rem, 5vw, 3.35rem);
  color: var(--h5-ink);
}
.home5-intro-title::after{
  content: "";
  display: block;
  height: 4px;
  width: min(200px, 48%);
  margin-top: .55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--h5-green), var(--h5-orange));
}
.home5-intro-tag{
  margin: 0;
  font-size: clamp(.88rem, 1.35vw, 1.02rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(11,13,18,.62);
}
/* Présentation : texte calé sur la hauteur de la photo (desktop) */
.home5-presentRow{
  min-height: 0;
}
.home5-presentCol{
  min-height: 0;
}
/* Hauteur = paragraphes uniquement : photo du même haut que 1re → dernière phrase */
.home5-presentCol .home5-presentScroll{
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
  margin-top: 0;
  padding-right: .35rem;
  max-width: 100%;
}
.home5-presentScroll{
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-top: .5rem;
  padding-right: .35rem;
  max-width: 100%;
  scrollbar-width: thin;
}
.home5-presentScroll::-webkit-scrollbar{
  width: 6px;
}
.home5-presentScroll::-webkit-scrollbar-thumb{
  background: rgba(11,13,18,.18);
  border-radius: 999px;
}
.home5-presentScroll .home5-sub + .home5-sub{
  margin-top: .75rem;
}
.home5-presentCta{
  margin-top: .85rem;
  flex-shrink: 0;
}
.home5-presentCol .home5-links{
  margin-top: .5rem;
}

.home5-presentCol .home5-presentCta{
  margin-top: clamp(.85rem, 1.6vw, 1.1rem);
}

.home5-presentPhotoCol{
  gap: clamp(.75rem, 1.6vw, 1.15rem);
  min-height: 0;
}
.home5-presentPhotoCol .home5-heroImage-present{
  flex: 1 1 auto;
  min-height: 0;
}
.home5-heroImage-present{
  margin-top: 0;
  min-height: 0;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(11, 13, 18, .12);
}
.home5-presentRow .home5-photo-present{
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 30px;
}

.home5-kicker{
  margin: 0;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(11,13,18,.60);
  font-weight: 850;
}

.home5-title{
  margin: .6rem 0 .4rem;
  font-family: "Oswald","Inter",sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  line-height: 1.02;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  color: var(--h5-ink);
}
.home5-title::after{
  content:"";
  display:block;
  height: 4px;
  width: min(240px, 65%);
  margin-top: .55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--h5-green), var(--h5-orange), rgba(11,13,18,.30));
}

.home5-sub{
  margin: 0;
  color: var(--h5-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.home5-rule{
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(47,143,58,.35), rgba(240,138,26,.28), rgba(11,13,18,.16), rgba(255,255,255,0));
  opacity: .9;
}

.home5-heroImage{
  margin-top: clamp(14px, 2.2vw, 22px);
}
.home5-photo{
  width: 100%;
  height: clamp(340px, 36vw, 560px);
  object-fit: cover;
  object-position: center 30%;
  border-radius: 30px;
  display:block;
}

/* Cadrage : remplit le cadre (cover), point focal légèrement haut */
.home5-photo-present{
  object-position: center 38%;
}

/* Métriques sous la photo — cartes premium */
.home5-metrics--present{
  margin: 0;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem .4rem;
}
.home5-metrics--present .home5-metric{
  position: relative;
  padding: .72rem .4rem .75rem;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,255,255,.99), rgba(242,245,249,.93));
  border: 1px solid rgba(11,13,18,.09);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 12px 32px rgba(11,13,18,.07);
  overflow: hidden;
}
.home5-metrics--present .home5-metric::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--h5-green), var(--h5-orange));
}
.home5-metrics--present .home5-metric b{
  display: block;
  font-family: "Oswald","Inter",sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .45px;
  line-height: 1.12;
  color: var(--h5-ink);
  margin: 0;
}
.home5-metrics--present .home5-metric span{
  display: block;
  margin: .38rem 0 0;
  font-size: clamp(.58rem, 1.1vw, .68rem);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.3;
  color: rgba(11,13,18,.54);
}

.home5-links{
  margin-top: 1rem;
  display:flex;
  flex-wrap: wrap;
  gap: .9rem 1.1rem;
}
.home5-link{
  text-decoration: none;
  color: rgba(11,13,18,.90);
  font-weight: 650;
  display:inline-flex;
  align-items:center;
  gap: .5rem;
  position: relative;
  padding-bottom: .15rem;
}
.home5-link::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--h5-green), var(--h5-orange));
  transition: transform .25s ease;
  opacity: .9;
}
.home5-link:hover::after{ transform: scaleX(1); }

.home5-newsMeta{
  margin-top: .8rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(11,13,18,.58);
  font-weight: 850;
}
.home5-newsTitle{
  margin-top: .35rem;
  font-family: "Oswald","Inter",sans-serif;
  text-transform: uppercase;
  letter-spacing: .7px;
  line-height: 1.12;
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  color: var(--h5-ink);
}

.home5-list{
  margin-top: .15rem;
  display:flex;
  flex-direction: column;
  gap: .85rem;
}
.home5-item{
  display:grid;
  grid-template-columns: 92px 1fr;
  gap: .85rem;
  align-items:center;
  text-decoration:none;
  color: inherit;
}
.home5-item img{
  width: 92px;
  height: 66px;
  border-radius: 16px;
  object-fit: cover;
  display:block;
}
.home5-item .m{
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(11,13,18,.56);
  font-weight: 850;
}
.home5-item .t{
  margin-top: .25rem;
  color: rgba(11,13,18,.92);
  font-weight: 720;
  line-height: 1.35;
}
.home5-item:hover .t{
  text-decoration: underline;
}

/* Home actualités (v2) — lead + strip */
.home5-newsGrid{
  margin-top: 1rem;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.home5-leadNews{
  text-decoration: none;
  color: inherit;
  display:block;
}
.home5-leadNews img{
  width: 100%;
  height: clamp(220px, 20vw, 300px);
  object-fit: cover;
  object-position: center 28%;
  border-radius: 30px;
  display:block;
}
.home5-leadNews .meta{
  margin-top: .85rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(11,13,18,.58);
  font-weight: 850;
}
.home5-leadNews .title{
  margin-top: .35rem;
  font-family: "Oswald","Inter",sans-serif;
  text-transform: uppercase;
  letter-spacing: .7px;
  line-height: 1.12;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  color: var(--h5-ink);
}
.home5-leadNews .excerpt{
  margin-top: .45rem;
  color: var(--h5-muted);
  line-height: 1.75;
  max-width: 62ch;
}
.home5-leadNews:hover .title{
  text-decoration: underline;
  text-decoration-color: rgba(240,138,26,.35);
}

.home5-strip{
  position: relative;
  padding-left: 14px;
}
.home5-strip::before{
  content:"";
  position:absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--h5-green), var(--h5-orange), rgba(11,13,18,.25));
  opacity: .9;
}
.home5-chip{
  display:grid;
  grid-template-columns: 78px 1fr;
  gap: .8rem;
  align-items:center;
  text-decoration:none;
  color: inherit;
  padding: .65rem 0;
  border-bottom: 1px dashed rgba(11,13,18,.14);
}
.home5-chip:last-of-type{ border-bottom: 0; }
.home5-chip img{
  width: 78px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  display:block;
}
.home5-chip .m{
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(11,13,18,.56);
  font-weight: 850;
}
.home5-chip .t{
  margin-top: .25rem;
  color: rgba(11,13,18,.92);
  font-weight: 720;
  line-height: 1.35;
}
.home5-chip:hover .t{
  text-decoration: underline;
}

@media (max-width: 992px){
  .home5-newsGrid{ grid-template-columns: 1fr; }
  .home5-leadNews img{ height: 240px; }
  .home5-strip{ padding-left: 0; margin-top: .7rem; }
  .home5-strip::before{ display:none; }
}

.home5-actions{
  margin-top: .6rem;
  display:flex;
  flex-direction: column;
  gap: .55rem;
}
.home5-action{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  text-decoration:none;
  color: rgba(11,13,18,.92);
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(11,13,18,.14);
}
.home5-action:last-child{ border-bottom: 0; }
.home5-action span{
  color: rgba(11,13,18,.62);
  font-weight: 500;
  margin-left: .8rem;
}
.home5-action i{
  color: rgba(11,13,18,.55);
}
.home5-action:hover{
  color: rgba(11,13,18,.98);
}
.home5-action:hover i{
  color: rgba(240,138,26,.72);
}

@media (max-width: 992px){
  .home5-photo{ height: 360px; }
  .home5-presentScroll{
    overflow: visible;
    flex: none;
    min-height: 0;
  }
  .home5-presentPhotoCol .home5-heroImage-present{
    flex: 0 0 auto;
    min-height: min(52vw, 360px);
    height: min(52vw, 360px);
  }
  .home5-presentRow .home5-photo-present{
    min-height: 0;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }
  .home5-action{
    flex-direction: column;
    align-items:flex-start;
    gap: .25rem;
  }
  .home5-action span{ margin-left: 0; }
}

/* Calendrier (home) — tableau premium */
.home5-tableWrap{
  margin-top: .9rem;
}
.home5-table{
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-border-color: rgba(11,13,18,.10);
  border-top: 1px solid rgba(11,13,18,.14);
}
.home5-table thead th{
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(11,13,18,.60);
  font-weight: 900;
  padding-top: .9rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(11,13,18,.14);
}
.home5-table tbody td{
  padding-top: .95rem;
  padding-bottom: .95rem;
  border-bottom: 1px dashed rgba(11,13,18,.14);
  color: rgba(11,13,18,.86);
}
.home5-table tbody tr:last-child td{
  border-bottom: 0;
}
.home5-date{
  width: 96px;
  white-space: nowrap;
}
.home5-date b{
  display:block;
  font-family: "Oswald","Inter",sans-serif;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 1.08rem;
  color: rgba(11,13,18,.96);
  line-height: 1.05;
}
.home5-date span{
  display:block;
  margin-top: .15rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(11,13,18,.56);
  font-weight: 900;
}
.home5-comp{
  font-weight: 760;
  color: rgba(11,13,18,.92);
}
.home5-pill{
  display:inline-flex;
  align-items:center;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(11,13,18,.12);
  background: rgba(255,255,255,.38);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  color: rgba(11,13,18,.70);
}
.home5-pill.is-green{
  border-color: rgba(47,143,58,.22);
  background: rgba(47,143,58,.08);
  color: rgba(47,143,58,.90);
}
.home5-pill.is-orange,
.home5-pill.is-red{
  border-color: rgba(240,138,26,.24);
  background: rgba(240,138,26,.08);
  color: rgba(180,85,10,.92);
}

.home5-infoNote{
  color: rgba(11,13,18,.62);
  font-weight: 600;
  white-space: nowrap;
}

/* Accueil refonte — hero titré, accès rapide, en-têtes de section */
.home-hero{
  position: relative;
}
.home-hero .hero-video{
  z-index: 0;
}
.home-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,8,11,.2) 0%, rgba(7,8,11,.45) 45%, rgba(7,8,11,.82) 100%);
}
.home-hero-content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-bottom: clamp(2.25rem, 6vw, 4rem);
  padding-top: 2rem;
  text-align: left;
}
.home-hero-kicker{
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.78);
  font-weight: 850;
  margin: 0;
}
.home-hero-title{
  margin: .55rem 0 .35rem;
  font-family: "Oswald","Inter",sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  line-height: 1.02;
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,.35);
}
.home-hero-title::after{
  content: "";
  display: block;
  height: 4px;
  width: min(220px, 55%);
  margin-top: .65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--h5-green), var(--h5-orange), rgba(255,255,255,.35));
}
.home-hero-tag{
  margin: 0;
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.home-quick{
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(11,13,18,.1);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(11,13,18,.06);
}
.home-quick-list{
  list-style: none;
  margin: 0;
  padding: .55rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem;
}
.home-quick-link{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem .6rem;
  text-decoration: none;
  color: var(--h5-ink);
  font-weight: 650;
  font-size: .86rem;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease;
}
.home-quick-link:hover{
  background: rgba(47,143,58,.1);
  color: var(--h5-ink);
}
.home-quick-link i{
  font-size: 1.05rem;
  color: var(--h5-green);
}

.home5-sectionHead{
  margin-bottom: clamp(.85rem, 2vw, 1.25rem);
}
.home5-sectionHead + .home5-newsGrid,
.home5-sectionHead + .home5-tableWrap{
  margin-top: 0;
}
.home5-sectionLead{
  margin: .4rem 0 0;
  max-width: 52ch;
  color: var(--h5-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 768px){
  .home-quick-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

