/* ============================================================
   Accueil v171 — refonte
   Palette : bleu nuit (assorti à la photo), ardoise du bandeau, sable, bleu du sceau IBRE.
   Typographie : Literata (titres, textes) + Lexend (interface).
   Principe : sobre, aucune ombre, rien ne bouge au survol (la couleur s'éclaircit à peine).
   ============================================================ */
.hp{
  --nuit:#082c44; --nuit-2:#0a3a57; --nuit-3:#0b4a6d;
  --ciel:#3E76B0; --ciel-2:#5F8FC1; --brume:#9FC3DE;
  --sceau:#1F2D6E;
  --ard:#3B4148; --ard-2:#444B53;
  --sable:#F3ECDF; --papier:#FFFCF6; --encre:#22262B; --doux:#565C66; --ligne:rgba(34,38,43,.14);
  --serif:'Literata', Georgia, 'Times New Roman', serif;
  --sans:'Lexend','Segoe UI',Roboto,Arial,sans-serif;
  font-family:var(--sans); color:var(--encre); background:var(--papier);
}
.hp *{ box-sizing:border-box; }
.hp .wrap{ max-width:1240px; margin:0 auto; padding:0 28px; }
.hp h1,.hp h2,.hp h3{ font-family:var(--serif); font-weight:600; letter-spacing:-.012em; margin:0; }
.hp p{ margin:0; }

/* ---------- Boutons ---------- */
.hp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font:500 .95rem/1 var(--sans);
  padding:15px 26px; border-radius:4px; border:1px solid transparent; cursor:pointer; text-decoration:none;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease; }
.hp-btn-main{ background:var(--ciel); color:#fff; }
.hp-btn-main:hover{ background:var(--ciel-2); }
.hp-btn-ghost{ border-color:rgba(255,255,255,.4); color:#fff; background:transparent; }
.hp-btn-ghost:hover{ background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.6); }
.hp-btn-line{ border-color:var(--ligne); color:var(--encre); background:transparent; }
.hp-btn-line:hover{ background:rgba(34,38,43,.05); }
.hp-link{ font:500 .92rem/1.3 var(--sans); color:var(--sceau); text-decoration:none; border-bottom:1px solid rgba(31,45,110,.3); padding-bottom:2px; transition:border-color .2s, color .2s; }
.hp-link:hover{ color:var(--ciel); border-color:var(--ciel); }
.hp-on-dark .hp-link, .hp-link.on-dark{ color:#cfe3f3; border-color:rgba(207,227,243,.4); }
.hp-link.on-dark:hover{ color:#fff; border-color:#fff; }

/* ---------- Ouverture : texte du jour + portrait ---------- */
.hp-hero{ background:linear-gradient(100deg,var(--nuit) 0%, var(--nuit-2) 52%, var(--nuit-3) 100%); color:#fff; overflow:hidden; }
.hp-hero-in{ display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); align-items:stretch; min-height:clamp(500px,64vh,660px); }
.hp-daily{ align-self:center; padding:clamp(48px,7vw,92px) clamp(0px,3vw,40px) clamp(48px,7vw,92px) 0; max-width:640px; }
.hp-daily-date{ font:400 .92rem/1.4 var(--sans); color:var(--brume); }
.hp-daily-book{ font:400 .92rem/1.4 var(--sans); color:rgba(255,255,255,.62); margin-top:2px; }
.hp .hp-daily-title{ font-size:clamp(1.9rem,3.5vw,3rem); line-height:1.14; margin:26px 0 24px; text-wrap:balance; color:#fff; font-weight:600; }
.hp-daily-excerpt{ font:400 1.1rem/1.7 var(--serif); color:rgba(255,255,255,.82); max-width:56ch;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.hp-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.hp-portrait{ position:relative; margin:0; align-self:end; justify-self:end; width:100%; max-width:560px; height:100%; min-height:420px; display:flex; align-items:flex-end; }
.hp-portrait img{ width:100%; height:100%; max-height:660px; object-fit:cover; object-position:50% 12%; display:block;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 34%),linear-gradient(to left,transparent 0,#000 14%),linear-gradient(to top,transparent 0,#000 20%),linear-gradient(to bottom,transparent 0,#000 7%);
  -webkit-mask-composite:source-in,source-in,source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 34%),linear-gradient(to left,transparent 0,#000 14%),linear-gradient(to top,transparent 0,#000 20%),linear-gradient(to bottom,transparent 0,#000 7%); mask-composite:intersect; }
.hp-portrait figcaption{ position:absolute; left:34%; bottom:26px; font:500 1rem/1.3 var(--serif); color:#fff; }
.hp-portrait figcaption span{ display:block; font:400 .85rem/1.4 var(--sans); color:rgba(255,255,255,.7); margin-top:3px; }

/* ---------- À la une : dernière prédication ---------- */
.hp-now{ background:var(--ard); color:#fff; }
.hp-now-in{ display:grid; grid-template-columns:minmax(220px,380px) minmax(0,1fr) auto; gap:clamp(20px,3vw,44px); align-items:center; padding-top:30px; padding-bottom:30px; }
.hp-now-thumb{ position:relative; aspect-ratio:16/9; background:#2c3238; overflow:hidden; border-radius:4px; display:block; }
.hp-now-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hp-now-label{ font:400 .85rem/1.3 var(--sans); color:#b9c6d3; }
.hp-now h2{ font-size:clamp(1.35rem,2.2vw,1.9rem); line-height:1.2; margin:8px 0 6px; }
.hp-now h2 a{ color:inherit; text-decoration:none; }
.hp-now h2 a:hover{ color:#cfe3f3; }
.hp-now-meta{ font:400 .9rem/1.4 var(--sans); color:#b9c6d3; }
.hp-player{ display:flex; align-items:center; gap:16px; margin-top:18px; max-width:520px; }
.hp-play{ flex:none; width:50px; height:50px; border-radius:50%; border:0; background:var(--ciel); color:#fff; cursor:pointer; display:grid; place-items:center; transition:background-color .2s; }
.hp-play:hover{ background:var(--ciel-2); }
.hp-play svg{ width:20px; height:20px; }
.hp-play .i-pause{ display:none; } .hp-play.is-playing .i-play{ display:none; } .hp-play.is-playing .i-pause{ display:block; }
.hp-track{ flex:1; min-width:0; }
.hp-track input[type=range]{ --p:0%; -webkit-appearance:none; appearance:none; width:100%; height:5px; border-radius:3px; margin:0; cursor:pointer;
  background:linear-gradient(to right,var(--brume) var(--p),rgba(255,255,255,.22) var(--p)); }
.hp-track input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; width:13px; height:13px; border-radius:50%; background:#fff; border:0; }
.hp-track input[type=range]::-moz-range-thumb{ width:13px; height:13px; border-radius:50%; background:#fff; border:0; }
.hp-time{ display:flex; justify-content:space-between; font:400 .78rem/1 var(--sans); color:#b9c6d3; margin-top:8px; }
.hp-now-side{ align-self:center; }
.hp-now-empty{ color:#b9c6d3; padding:8px 0; }

/* ---------- Têtes de section ---------- */
.hp-sec{ padding:clamp(56px,7vw,92px) 0; }
.hp-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:clamp(26px,3vw,40px); }
.hp-head h2{ font-size:clamp(1.6rem,2.8vw,2.3rem); line-height:1.15; max-width:24ch; text-wrap:balance; }
.hp-head p{ font:400 1rem/1.65 var(--sans); color:var(--doux); max-width:52ch; margin-top:10px; }

/* ---------- Rangées d'enseignements ---------- */
.hp-teach{ background:var(--papier); }
.hp-row-block + .hp-row-block{ margin-top:clamp(36px,4.5vw,56px); }
.hp-row-top{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:16px; }
.hp-row-top h3{ font-size:1.25rem; }
.hp-row-wrap{ position:relative; }
.hp-row{ display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x proximity; padding:2px 28px 8px; margin:0 -28px; scroll-padding:0 28px; scrollbar-width:none; }
.hp-row::-webkit-scrollbar{ display:none; }
.hp-arrow{ position:absolute; top:calc(50% - 40px); z-index:2; width:42px; height:42px; border-radius:50%; border:1px solid var(--ligne); background:var(--papier); color:var(--encre); font-size:1.3rem; line-height:1; cursor:pointer; transition:background-color .2s; display:none; }
.hp-arrow:hover{ background:var(--sable); }
.hp-arrow-prev{ left:-16px; } .hp-arrow-next{ right:-16px; }
@media (hover:hover) and (min-width:900px){ .hp-arrow{ display:block; } }
.hp-card{ flex:none; scroll-snap-align:start; text-decoration:none; color:inherit; display:block; }
.hp-card-v{ width:300px; }
.hp-card-a{ width:210px; }
.hp-thumb{ position:relative; aspect-ratio:16/9; border-radius:4px; overflow:hidden; background:var(--ard); }
.hp-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hp-card-a .hp-thumb{ aspect-ratio:1/1; }
.hp-cover{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:18px; color:#fff; }
.hp-cover b{ font:600 1.05rem/1.25 var(--serif); }
.hp-cover i{ font:400 .78rem/1.3 var(--sans); font-style:normal; color:rgba(255,255,255,.72); margin-top:6px; }
.hp-badge{ position:absolute; left:10px; bottom:10px; background:rgba(8,44,68,.82); color:#fff; font:400 .74rem/1 var(--sans); padding:6px 9px; border-radius:3px; }
.hp-card-a .hp-badge{ top:10px; bottom:auto; }
.hp-pl{ position:absolute; right:10px; bottom:10px; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--nuit); display:grid; place-items:center; transition:background-color .2s; }
.hp-pl svg{ width:16px; height:16px; margin-left:2px; }
.hp-card:hover .hp-pl{ background:#fff; }
.hp-card:hover .hp-thumb{ opacity:.93; }
.hp-card h4{ font:600 1rem/1.35 var(--serif); margin:12px 0 4px; letter-spacing:-.005em; }
.hp-card p{ font:400 .84rem/1.4 var(--sans); color:var(--doux); }
.hp-empty{ color:var(--doux); padding:10px 0; }

/* ---------- Formation IBRE ---------- */
.hp-ibre{ background:var(--sceau); color:#fff; }
.hp-ibre-in{ display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:clamp(28px,6vw,84px); align-items:center; padding-top:clamp(52px,6vw,84px); padding-bottom:clamp(52px,6vw,84px); }
.hp-seal{ background:#fff; border-radius:6px; padding:28px; display:grid; place-items:center; aspect-ratio:1/1; }
.hp-seal img{ width:100%; max-width:240px; height:auto; display:block; }
.hp-ibre h2{ font-size:clamp(1.7rem,3.2vw,2.6rem); line-height:1.15; max-width:22ch; text-wrap:balance; }
.hp-ibre p{ font:400 1.05rem/1.7 var(--sans); color:rgba(255,255,255,.82); max-width:54ch; margin-top:16px; }
.hp-ibre-facts{ display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:22px; font:400 .95rem/1.4 var(--sans); color:#cfe3f3; }
.hp-ibre-facts li{ list-style:none; }
.hp-ibre-facts{ padding:0; }
.hp-ibre .hp-actions{ margin-top:30px; }

/* ---------- Livres ---------- */
.hp-books{ background:var(--sable); }
.hp-shelf{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(14px,2vw,26px); }
.hp-book{ display:block; text-decoration:none; color:inherit; }
.hp-book img,.hp-book-ph{ width:100%; aspect-ratio:148/210; object-fit:contain; background:#fff; border:1px solid var(--ligne); display:block; transition:opacity .2s; }
.hp-book-ph{ display:grid; place-items:center; padding:12px; text-align:center; font:500 .85rem/1.3 var(--serif); color:var(--doux); }
.hp-book:hover img,.hp-book:hover .hp-book-ph{ opacity:.9; }
.hp-book span{ display:block; font:500 .88rem/1.35 var(--serif); margin-top:10px; }
.hp-books-foot{ display:flex; flex-wrap:wrap; gap:12px 26px; align-items:center; margin-top:32px; }

/* ---------- Évangélisations ---------- */
.hp-evang{ background:var(--ard); color:#fff; }
.hp-evang-in{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(28px,5vw,72px); align-items:center; padding-top:clamp(52px,6vw,84px); padding-bottom:clamp(52px,6vw,84px); }
.hp-evang h2{ font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.15; max-width:20ch; text-wrap:balance; }
.hp-evang p{ font:400 1.05rem/1.7 var(--sans); color:rgba(255,255,255,.8); max-width:50ch; margin-top:16px; }
.hp-evang .hp-actions{ margin-top:28px; }
.hp-evang-grid{ display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:1fr 1fr; gap:12px; aspect-ratio:16/10; }
.hp-evang-grid[hidden]{ display:none; }
.hp-evang-in:has(.hp-evang-grid[hidden]){ grid-template-columns:1fr; }
.hp-evang-grid a{ position:relative; display:block; overflow:hidden; border-radius:4px; background:#2c3238; }
.hp-evang-grid a:first-child{ grid-row:1 / span 2; }
.hp-evang-grid img{ width:100%; height:100%; object-fit:cover; display:block; transition:opacity .2s; }
.hp-evang-grid a:hover img{ opacity:.88; }
.hp-evang-grid .hp-pl{ right:12px; bottom:12px; }

/* ---------- Nous sommes là : prière, question, témoignage ---------- */
.hp-care{ background:var(--papier); }
.hp-care-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.hp-care-card{ display:flex; flex-direction:column; gap:10px; padding:30px; border:1px solid var(--ligne); border-radius:4px; background:var(--sable); text-decoration:none; color:inherit; transition:background-color .2s; }
.hp-care-card:hover{ background:#F8F2E7; }
.hp-care-card h3{ font-size:1.25rem; }
.hp-care-card p{ font:400 .96rem/1.65 var(--sans); color:var(--doux); flex:1; }
.hp-care-card span{ font:500 .92rem/1.3 var(--sans); color:var(--sceau); margin-top:6px; }

/* ---------- Lecteur du texte du jour ---------- */
.hp-reader{ border:0; padding:0; margin:auto; background:var(--papier); color:var(--encre); width:min(760px,calc(100vw - 24px)); max-height:calc(100vh - 24px); border-radius:6px; overflow:hidden; }
.hp-reader::backdrop{ background:rgba(8,28,42,.72); }
.hp-reader-in{ display:flex; flex-direction:column; max-height:calc(100vh - 24px); }
.hp-reader-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 22px; background:var(--nuit); color:#fff; font:400 .9rem/1.4 var(--sans); }
.hp-reader-top b{ font-weight:500; }
.hp-reader-x{ background:transparent; border:1px solid rgba(255,255,255,.35); color:#fff; border-radius:4px; width:36px; height:36px; font-size:1.2rem; line-height:1; cursor:pointer; transition:background-color .2s; }
.hp-reader-x:hover{ background:rgba(255,255,255,.12); }
.hp-reader-body{ overflow:auto; padding:clamp(26px,5vw,48px); }
.hp-reader-body h2{ font-size:clamp(1.6rem,3.4vw,2.2rem); line-height:1.18; margin-bottom:22px; text-wrap:balance; }
.hp-reader-text{ font:400 1.1rem/1.8 var(--serif); }
.hp-reader-text p{ margin:0 0 1.15em; max-width:62ch; }
.hp-reader-text blockquote{ margin:1.4em 0; padding:4px 0 4px 20px; border-left:3px solid var(--ciel); font-size:1.04rem; line-height:1.75; max-width:62ch; }
.hp-reader-text blockquote strong{ font:600 .92rem/1.4 var(--sans); }
.hp-reader-next{ font:italic 400 1rem/1.6 var(--serif); color:var(--doux); margin-top:8px; }
.hp-reader-sign{ font:600 1.05rem/1.4 var(--serif); margin-top:22px; }
.hp-reader-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px 22px; border-top:1px solid var(--ligne); background:var(--sable); }
.hp-reader-foot .hp-btn{ padding:11px 18px; font-size:.88rem; }
.hp-btn-wa{ background:#2F8A57; color:#fff; } .hp-btn-wa:hover{ background:#4C9671; }

/* ---------- Adaptation tablette / mobile ---------- */
@media (max-width:980px){
  .hp-hero-in{ grid-template-columns:1fr; min-height:0; }
  .hp-daily{ padding:44px 0 8px; max-width:none; }
  .hp-portrait{ justify-self:center; max-width:460px; min-height:0; height:340px; margin-top:8px; }
  .hp-portrait img{ -webkit-mask-image:linear-gradient(to top,transparent 0,#000 24%); mask-image:linear-gradient(to top,transparent 0,#000 24%); object-position:50% 10%; }
  .hp-portrait figcaption{ left:20px; }
  .hp-now-in{ grid-template-columns:minmax(0,1fr); }
  .hp-ibre-in,.hp-evang-in{ grid-template-columns:1fr; }
  .hp-seal{ max-width:240px; aspect-ratio:auto; }
  .hp-shelf{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hp-care-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .hp .wrap{ padding:0 20px; }
  .hp-row{ padding-left:20px; padding-right:20px; margin:0 -20px; scroll-padding:0 20px; gap:14px; }
  .hp-card-v{ width:252px; } .hp-card-a{ width:176px; }
  .hp-shelf{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp-actions .hp-btn{ width:100%; }
  .hp-reader-foot{ flex-direction:column; align-items:stretch; }
  .hp-evang-grid{ aspect-ratio:auto; grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .hp-evang-grid a:first-child{ grid-row:auto; grid-column:1 / span 2; aspect-ratio:16/9; }
  .hp-evang-grid a{ aspect-ratio:16/10; }
}

/* ---------- Corrections de contraste et d'état ---------- */
.hp [hidden]{ display:none !important; }
.hp .hp-hero h1, .hp .hp-now h2, .hp .hp-ibre h2, .hp .hp-evang h2{ color:#fff; }
.hp .hp-now h2 a{ color:#fff; }
.hp .hp-ibre h2 strong{ font-weight:700; }
.hp-arrow.is-off{ display:none !important; }

/* ============================================================
   v172 — calendrier, thème du jour, verset encadré, vidéo de la semaine, icône audio, logo IBRE détouré
   ============================================================ */
/* Le calendrier + « À la une » */
.hp-daily-top{ display:flex; align-items:center; gap:22px; }
.hp-cal{ --mois:#1E78BE; flex:none; width:104px; background:#fff; border-radius:14px; overflow:hidden; text-align:center; position:relative;
  box-shadow:0 10px 26px rgba(2,18,32,.38); }
.hp-cal-m{ display:block; background:var(--mois); color:#fff; font:700 .82rem/1 var(--sans); letter-spacing:.09em; text-transform:uppercase; padding:17px 4px 10px; }
.hp-cal::before, .hp-cal::after{ content:''; position:absolute; top:5px; width:9px; height:9px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 2px rgba(0,0,0,.28); }
.hp-cal::before{ left:26px; } .hp-cal::after{ right:26px; }
.hp-cal-d{ display:block; font:700 2.9rem/1 var(--sans); color:#0B2A45; padding:9px 0 1px; font-variant-numeric:lining-nums; }
.hp-cal-y{ display:block; font:600 .86rem/1 var(--sans); color:var(--mois); padding:3px 0 12px; letter-spacing:.05em; }
.hp-daily-info{ min-width:0; }
.hp-daily-date{ font-size:1rem; }
.hp-daily-date::first-letter{ text-transform:uppercase; }
.hp-daily-book{ font:400 clamp(1.2rem,1.8vw,1.5rem)/1.3 var(--sans); color:var(--brume); margin-top:6px; }
.hp-daily-book b{ font-weight:600; color:#fff; }
.hp-daily-num{ font:400 .92rem/1.4 var(--sans); color:rgba(255,255,255,.62); margin-top:6px; }
.hp .hp-daily-title{ margin-top:30px; }
.hp-daily-excerpt{ display:block; -webkit-line-clamp:unset; overflow:visible; }
.hp-more{ all:unset; cursor:pointer; color:#fff; font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1.5px; white-space:nowrap; }
.hp-more:hover{ color:var(--brume); }
.hp-more:focus-visible{ outline:2px solid #fff; outline-offset:3px; border-radius:2px; }

/* Colonne de droite : le verset du jour encadré, puis la photo */
.hp-hero-in{ min-height:clamp(560px,72vh,740px); }
.hp-side{ display:flex; flex-direction:column; justify-self:end; width:100%; max-width:540px; padding-top:clamp(30px,4.5vw,56px); }
.hp-verse{ position:relative; z-index:1; margin:0 0 0 clamp(0px,3vw,36px); padding:24px 28px 22px; border:1.5px solid rgba(159,195,222,.75); border-radius:10px;
  background:rgba(4,30,48,.5); outline:1px solid rgba(159,195,222,.32); outline-offset:-8px; }
.hp-verse-label{ font:600 .9rem/1.3 var(--sans); color:var(--brume); margin-bottom:10px !important; }
.hp-verse blockquote{ margin:0; font:italic 400 1.2rem/1.55 var(--serif); color:#fff; text-wrap:pretty; }
.hp-verse.is-long blockquote{ font-size:1.02rem; line-height:1.55; }
.hp-verse-ref{ font:600 .98rem/1.3 var(--sans); color:#fff; margin-top:12px !important; }
.hp-side .hp-portrait{ flex:1 1 300px; min-height:300px; height:auto; max-width:none; margin-top:-6px; align-self:stretch; }
.hp-side .hp-portrait img{ position:absolute; inset:0; width:100%; height:100%; max-height:none; object-position:50% 14%; }
.hp-portrait figcaption span{ display:block; }
.hp-portrait figcaption .hp-portrait-name{ font:500 1rem/1.3 var(--serif); color:#fff; margin:0; }

/* La vidéo de la semaine */
.hp-now-label{ font:500 1.05rem/1.35 var(--sans); color:#cfe3f3; }
.hp-now-thumb .hp-pl{ right:auto; bottom:auto; left:50%; top:50%; width:58px; height:58px; margin:-29px 0 0 -29px; }
.hp-now-thumb .hp-pl svg{ width:24px; height:24px; margin-left:3px; }

/* Les audios : on voit tout de suite que ça s'écoute */
.hp-snd{ flex:1 1 auto; min-height:0; display:grid; place-items:center; padding-top:30px; margin-right:-38px; color:rgba(255,255,255,.9); }
.hp-snd svg{ width:56px; height:56px; }
.hp-badge{ display:inline-flex; align-items:center; gap:5px; }
.hp-badge svg{ width:14px; height:14px; }
.hp-card-a .hp-cover{ padding-right:56px; }
.hp-card-a .hp-cover b{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Logo IBRE détouré, posé directement sur le bleu */
.hp-seal{ background:none; padding:0; border-radius:0; aspect-ratio:auto; }
.hp-seal img{ max-width:300px; filter:drop-shadow(0 12px 24px rgba(4,10,40,.45)); }

/* La fenêtre « sur ce thème » */
.hp-theme h3{ font:600 1.05rem/1.3 var(--sans); color:#22262B; margin:26px 0 8px; letter-spacing:0; }
.hp-theme h3:first-child{ margin-top:0; }
.hp-theme h3 span{ font-weight:400; color:#565C66; }
.hp-theme-player{ position:sticky; top:-1px; z-index:1; background:#F3ECDF; border-radius:8px; padding:12px 14px; margin:0 0 20px; }
.hp-theme-player p{ font:600 .95rem/1.35 var(--sans); margin-bottom:8px; }
.hp-theme-player audio{ width:100%; display:block; height:40px; }
.hp-trow{ all:unset; box-sizing:border-box; cursor:pointer; display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:center; width:100%; padding:11px 8px; border-bottom:1px solid rgba(34,38,43,.12); color:#22262B; }
.hp-trow:hover{ background:rgba(65,122,181,.09); }
.hp-trow:focus-visible{ outline:2px solid #3E76B0; outline-offset:-2px; }
.hp-trow-ic{ width:40px; height:40px; border-radius:50%; background:#0a3a57; color:#fff; display:grid; place-items:center; }
.hp-trow-ic svg{ width:19px; height:19px; }
.hp-trow b{ display:block; font:500 1rem/1.35 var(--sans); }
.hp-trow small{ display:block; font:400 .84rem/1.4 var(--sans); color:#565C66; margin-top:2px; }
.hp-trow.is-on{ background:rgba(65,122,181,.16); }
.hp-trow.is-on .hp-trow-ic{ background:#3E76B0; }

@media (max-width:980px){
  .hp-side{ max-width:none; padding-top:26px; }
  .hp-verse{ margin-left:0; }
  .hp-side .hp-portrait{ flex:none; height:340px; max-width:460px; align-self:center; width:100%; }
}
@media (max-width:560px){
  .hp-daily-top{ gap:16px; }
  .hp-cal{ width:88px; }
  .hp-cal-d{ font-size:2.5rem; }
  .hp-verse{ padding:20px 20px 18px; }
}

/* Les marges haut/bas de ces bandeaux étaient annulées par la règle générale « .wrap » : on les rétablit */
.hp .hp-now-in{ padding-top:30px; padding-bottom:30px; }
.hp .hp-ibre-in{ padding-top:clamp(52px,6vw,84px); padding-bottom:clamp(52px,6vw,84px); }
@media (max-width:560px){
  .hp-snd{ padding-top:26px; } .hp-snd svg{ width:42px; height:42px; }
  .hp-card-a .hp-cover{ padding:14px 50px 14px 14px; }
  .hp-card-a .hp-cover b{ -webkit-line-clamp:2; font-size:.95rem; }
  .hp-card-a .hp-cover i{ display:none; }
}

.hp .hp-evang-in{ padding-top:clamp(52px,6vw,84px); padding-bottom:clamp(52px,6vw,84px); }

/* v173 — la photo en médaillon rond, avec le nom à côté (à la place de la grande photo) */
.hp-hero-in{ min-height:clamp(540px,66vh,680px); }
.hp-side{ justify-content:center; padding-top:clamp(36px,5vw,64px); padding-bottom:clamp(36px,5vw,64px); }
.hp-side .hp-portrait{ flex:none; min-height:0; height:auto; margin:clamp(30px,4vw,48px) 0 0 clamp(0px,3vw,36px); display:flex; align-items:center; gap:clamp(20px,2.4vw,32px); }
.hp-side .hp-portrait img{ position:static; flex:none; width:clamp(170px,17vw,236px); height:clamp(170px,17vw,236px); max-height:none; border-radius:50%; object-fit:cover; object-position:50% 16%;
  -webkit-mask-image:none; mask-image:none; box-shadow:0 0 0 4px rgba(159,195,222,.55), 0 16px 34px rgba(2,18,32,.45); }
.hp-side .hp-portrait figcaption{ position:static; left:auto; bottom:auto; min-width:0; }
.hp-side .hp-portrait figcaption .hp-portrait-name{ font:600 clamp(1.45rem,2.1vw,1.95rem)/1.2 var(--serif); color:#fff; }
.hp-side .hp-portrait figcaption span + span{ font:400 clamp(1rem,1.25vw,1.15rem)/1.45 var(--sans); color:var(--brume); margin-top:8px; }
@media (max-width:980px){
  .hp-side{ padding-top:26px; padding-bottom:40px; }
  .hp-side .hp-portrait{ height:auto; max-width:none; align-self:stretch; margin-left:0; }
  .hp-side .hp-portrait img{ -webkit-mask-image:none; mask-image:none; }
}
@media (max-width:560px){
  .hp-side .hp-portrait img{ width:124px; height:124px; }
  .hp-side .hp-portrait{ gap:18px; }
}

/* v174 — essai : la photo en arche (haut arrondi) au lieu du rond */
.hp-side .hp-portrait img{ width:clamp(190px,19vw,256px); height:auto; aspect-ratio:4/5; border-radius:999px 999px 16px 16px; object-position:50% 8%; }
@media (max-width:560px){ .hp-side .hp-portrait img{ width:132px; height:auto; } }

/* v175 — bas de page : la photo en arche + trois grandes lignes cliquables (repris de la version B) */
.hp-care-in{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(32px,5vw,80px); align-items:center; }
.hp-care-photo{ margin:0; }
.hp-care-photo img{ display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:50% 0; border-radius:999px 999px 16px 16px; }
.hp-care-photo figcaption{ margin-top:16px; text-align:center; }
.hp-care-photo figcaption b{ display:block; font:600 1.2rem/1.3 var(--serif); color:var(--encre); }
.hp-care-photo figcaption span{ display:block; font:400 .98rem/1.4 var(--sans); color:var(--doux); margin-top:2px; }
.hp-care h2{ font-size:clamp(1.7rem,3vw,2.5rem); line-height:1.15; text-wrap:balance; }
.hp-care-list{ list-style:none; margin:clamp(22px,3vw,34px) 0 0; padding:0; border-top:1px solid var(--ligne); }
.hp-care-list li{ margin:0; padding:0; }
.hp-care-list a{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 24px; align-items:center; padding:24px 4px; border-bottom:1px solid var(--ligne); text-decoration:none; color:inherit; transition:background-color .15s, padding .18s; }
.hp-care-list a:hover{ background:var(--sable); padding-left:18px; padding-right:18px; }
.hp .hp-care-list h3{ font-size:clamp(1.25rem,1.8vw,1.55rem); font-weight:600; color:var(--encre); }
.hp-care-list p{ font:400 1rem/1.6 var(--sans); color:var(--doux); grid-column:1; }
.hp-care-list span{ grid-column:2; grid-row:1 / 3; font:600 1rem/1.3 var(--sans); color:var(--sceau); white-space:nowrap; display:inline-flex; align-items:center; gap:8px; }
.hp-care-list span::after{ content:''; width:10px; height:10px; border-right:2px solid currentColor; border-top:2px solid currentColor; transform:rotate(45deg); }
@media (max-width:980px){
  .hp-care-in{ grid-template-columns:minmax(0,1fr); }
  .hp-care-photo{ max-width:300px; margin:0 auto; }
}
@media (max-width:560px){
  .hp-care-list a{ grid-template-columns:minmax(0,1fr); }
  .hp-care-list span{ grid-column:1; grid-row:auto; margin-top:6px; white-space:normal; }
}
@media (prefers-reduced-motion: reduce){ .hp-care-list a{ transition:none; } }

/* v176 — partage du texte du jour sur les réseaux */
.hp-share{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; flex:1 1 100%; padding-top:12px; border-top:1px solid var(--ligne); }
.hp-share-label{ font:600 .9rem/1.3 var(--sans); color:var(--encre); margin-right:4px; }
.hp-sh{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; min-height:38px; padding:0 15px; border-radius:999px; border:1.5px solid rgba(34,38,43,.28);
  font:500 .88rem/1 var(--sans); color:var(--encre); background:#fff; transition:background-color .15s, color .15s, border-color .15s; }
.hp-sh:hover{ background:var(--encre); color:#fff; border-color:var(--encre); }
.hp-sh:focus-visible{ outline:2px solid #3E76B0; outline-offset:2px; }
.hp-sh-wa{ background:#1E8E4E; border-color:#1E8E4E; color:#fff; } .hp-sh-wa:hover{ background:#17753F; border-color:#17753F; }
.hp-sh-fb{ background:#1877F2; border-color:#1877F2; color:#fff; } .hp-sh-fb:hover{ background:#0F5FCC; border-color:#0F5FCC; }
.hp-sh-x{ background:#14171A; border-color:#14171A; color:#fff; }
.hp-sh-tg{ background:#1C8ED0; border-color:#1C8ED0; color:#fff; } .hp-sh-tg:hover{ background:#1576AE; border-color:#1576AE; }
@media (max-width:980px){ .hp-reader-foot > span{ display:flex; gap:8px; } .hp-reader-foot > span .hp-btn{ flex:1; } }

/* v177 — les livres en carrousel : on les voit tous en faisant défiler (6 visibles à la fois sur ordinateur) */
.hp-shelf{ display:flex; gap:clamp(14px,2vw,26px); }
.hp-shelf .hp-book{ --g:clamp(14px,2vw,26px); flex:0 0 calc((100% - 56px - 5 * var(--g)) / 6); scroll-snap-align:start; min-width:0; }
.hp-books .hp-arrow{ top:calc(50% - 46px); }
@media (max-width:980px){ .hp-shelf{ display:flex; } .hp-shelf .hp-book{ flex-basis:calc((100% - 40px - 2 * var(--g)) / 3.3); } }
@media (max-width:560px){ .hp-shelf{ display:flex; } .hp-shelf .hp-book{ flex-basis:calc((100% - 40px - var(--g)) / 2.25); } }

/* v178 — page resserrée : moins de vide entre les rubriques, même respiration partout */
.hp-hero-in{ min-height:clamp(440px,54vh,560px); }
.hp-daily{ padding-top:clamp(32px,3.6vw,48px); padding-bottom:clamp(32px,3.6vw,48px); }
.hp .hp-daily-title{ margin-top:22px; }
.hp-side{ padding-top:clamp(28px,3vw,40px); padding-bottom:clamp(28px,3vw,40px); }
.hp-side .hp-portrait{ margin-top:clamp(20px,2.4vw,30px); }
.hp .hp-now-in{ padding-top:22px; padding-bottom:22px; }
.hp-sec{ padding:clamp(36px,4vw,56px) 0; }
.hp-head{ margin-bottom:clamp(18px,2vw,26px); }
.hp-row-block + .hp-row-block{ margin-top:clamp(22px,2.6vw,34px); }
.hp-row-top{ margin-bottom:12px; }
.hp .hp-ibre-in, .hp .hp-evang-in{ padding-top:clamp(36px,4vw,52px); padding-bottom:clamp(36px,4vw,52px); }
.hp-books-foot{ margin-top:22px; }
.hp-care-list{ margin-top:clamp(16px,2vw,24px); }
.hp-care-list a{ padding-top:18px; padding-bottom:18px; }
@media (max-width:980px){
  .hp-hero-in{ min-height:0; }
  .hp-daily{ padding-top:32px; padding-bottom:4px; }
  .hp-side{ padding-top:22px; padding-bottom:32px; }
}

/* v179 — retouches d'espacement */
.hp-row-block + .hp-row-block{ margin-top:clamp(12px,1.4vw,18px); }          /* vidéo → audio : plus proches */
.hp-teach{ padding-bottom:clamp(20px,2.2vw,30px); }                           /* audio → bandeau IBRE : plus proches */
.hp-evang-in{ align-items:start; }                                            /* le texte commence au niveau du haut des photos */
.hp .hp-daily-title{ margin-top:clamp(34px,3.4vw,46px); }                     /* plus d'air entre le calendrier et le titre */
.hp-daily{ padding-top:clamp(22px,2.4vw,32px); }                              /* le calendrier remonte un peu */
@media (max-width:980px){ .hp .hp-daily-title{ margin-top:28px; } .hp-daily{ padding-top:28px; } }

/* v180 — phrase de bienvenue au-dessus du calendrier */
.hp .hp-welcome{ font:italic 500 clamp(1.2rem,1.7vw,1.5rem)/1.3 var(--serif); color:#fff; margin:0 0 clamp(16px,1.8vw,22px); }

/* v181 — bienvenue plus grande et plus haute, avec la signature manuscrite « Pasteur Olivier » */
@font-face{ font-family:'Great Vibes'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/great-vibes-latin-400-normal.woff2') format('woff2'); }
.hp .hp-welcome{ font-size:clamp(1.5rem,2.2vw,2rem); margin:0 0 clamp(18px,2vw,26px); display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 22px; }
.hp-welcome-sign{ font:400 clamp(2.1rem,3.1vw,2.9rem)/1 'Great Vibes','Segoe Script','Brush Script MT',cursive; color:var(--brume); white-space:nowrap; }
.hp-daily{ padding-top:clamp(10px,1.2vw,16px); padding-bottom:clamp(40px,4.4vw,60px); }
@media (max-width:980px){ .hp-daily{ padding-top:26px; padding-bottom:4px; } }
@media (max-width:560px){ .hp .hp-welcome{ font-size:1.3rem; } .hp-welcome-sign{ font-size:2rem; } }

/* ---------- v182 : encadré « Lecture de la Bible » sous le texte du jour ---------- */
.hp-bible{ display:flex; align-items:center; gap:14px; margin-top:22px; max-width:560px; padding:13px 16px; border:1.5px solid rgba(159,195,222,.55); border-radius:10px; color:#fff; text-decoration:none; background:rgba(255,255,255,.04); }
.hp-bible[hidden]{ display:none; }
.hp-bible:hover{ background:rgba(255,255,255,.08); border-color:rgba(159,195,222,.85); }
.hp-bible:focus-visible{ outline:2px solid var(--brume); outline-offset:3px; }
.hp-bible-ic{ flex:none; color:var(--brume); }
.hp-bible-txt{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.hp-bible-label{ font:500 .82rem/1.3 var(--sans, 'Lexend', sans-serif); color:var(--brume); }
.hp-bible-refs{ font:600 1rem/1.4 var(--serif, 'Literata', serif); color:#fff; }
.hp-bible-state{ font:500 .82rem/1.3 var(--sans, 'Lexend', sans-serif); color:#A9DDBB; }
.hp-bible-state[hidden]{ display:none; }
.hp-bible-go{ flex:none; font:600 .88rem/1 var(--sans, 'Lexend', sans-serif); padding:9px 15px; border-radius:999px; background:#fff; color:var(--nuit); }
.hp-bible.is-done .hp-bible-go{ background:transparent; color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5); }
@media (max-width:640px){ .hp-bible{ max-width:none; padding:12px 14px; gap:12px; } }

/* v185 : images YouTube sans bandes noires (section Évangélisations) */
.hp-evang-grid img.yt43{ transform:scale(1.34); }

/* v187 : logo IBRE réduit d'environ 40 % avec le nom de l'Institut en dessous */
.hp .hp-seal{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.hp .hp-seal img{ max-width:180px; }
.hp-seal-name{ font:500 1rem/1.45 var(--serif); color:rgba(255,255,255,.9); text-align:center; max-width:250px; margin:0; text-wrap:balance; }
.hp-seal-name strong, .hp-seal-name b{ font-weight:700; color:#fff; }

/* v187 : section « La Parole de Dieu sur le terrain » : les 3 images au même format 16/9,
   les photos prennent plus de place, le texte est un peu plus étroit et un peu plus petit */
.hp .hp-evang-in{ grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr); gap:clamp(24px,4vw,56px); }
.hp .hp-evang h2{ font-size:clamp(1.45rem,2.5vw,2rem); }
.hp .hp-evang p{ font-size:.98rem; }
.hp .hp-evang-grid{ aspect-ratio:auto; gap:12px; grid-template-rows:auto auto;
  grid-template-columns:calc((100% - 12px - 21.33px) * 2 / 3 + 21.33px) minmax(0,1fr); }   /* grande = 2 petites + l'espace : tout reste en 16/9 */
.hp .hp-evang-grid a{ aspect-ratio:16/9; }
.hp .hp-evang-grid a:first-child{ grid-row:1 / span 2; aspect-ratio:auto; }
.hp .hp-evang-grid img.yt43{ transform:none; }      /* en 16/9, le recadrage enlève déjà les bandes noires */
@media (max-width:980px){
  .hp .hp-evang-in{ grid-template-columns:1fr; }
  .hp .hp-evang-grid{ grid-template-columns:1fr 1fr; }
  .hp .hp-evang-grid a:first-child{ grid-row:auto; grid-column:1 / span 2; aspect-ratio:16/9; }
}

/* ============================================================
   v188 : carrousel « à la une » (sous le texte du jour) — nouvelle présentation
   Grande image à gauche, texte à droite, barres de progression et flèches sous le texte.
   ============================================================ */
.hp-feat{ position:relative; overflow:hidden; color:#fff; --g:clamp(28px,4.2vw,64px); --mw:54%; --pad:28px;
  background:linear-gradient(180deg, #2b3036 0%, #343a41 100%); }
.hp-feat[hidden]{ display:none; }
/* lueur d'ambiance : l'image de la diapositive, très floue, derrière tout le bandeau */
.hp-ft-amb{ position:absolute; inset:-60px; background-size:cover; background-position:center; filter:blur(48px) saturate(1.25); opacity:.2; transition:opacity .35s ease; pointer-events:none; }
.hp .hp-ft-wrap{ position:relative; padding-top:clamp(30px,3.6vw,48px); padding-bottom:clamp(30px,3.6vw,48px); }
.hp-sl-track{ display:grid; touch-action:pan-y; }
.hp-sl{ grid-area:1 / 1; display:grid; grid-template-columns:var(--mw) minmax(0,1fr); gap:var(--g); align-items:center; opacity:0; visibility:hidden; }
.hp-sl.is-on{ opacity:1; visibility:visible; }

/* --- l'image --- */
.hp-ft-thumb{ position:relative; display:block; width:100%; aspect-ratio:16/9; border:0; padding:0; margin:0; overflow:hidden; border-radius:10px; background:#1f2428; cursor:pointer; color:inherit; font:inherit;
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 24px 48px -18px rgba(0,0,0,.65); }
div.hp-ft-thumb{ cursor:default; }
.hp-ft-thumb > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.hp-ft-thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.38) 100%); pointer-events:none; }
button.hp-ft-thumb:hover > img{ transform:scale(1.035); }
.hp-ft-thumb:focus-visible{ outline:2px solid var(--brume); outline-offset:4px; }
.hp-ft-thumb iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; z-index:2; }
.hp-ft-frame::after{ display:none; }
.hp-ft-play{ position:absolute; left:50%; top:50%; z-index:1; width:76px; height:76px; margin:-38px 0 0 -38px; border-radius:50%; background:rgba(255,255,255,.96); color:var(--nuit); display:grid; place-items:center;
  box-shadow:0 0 0 10px rgba(255,255,255,.16), 0 10px 28px rgba(0,0,0,.35); transition:transform .25s ease, box-shadow .25s ease; }
.hp-ft-play svg{ width:30px; height:30px; margin-left:4px; }
button.hp-ft-thumb:hover .hp-ft-play{ transform:scale(1.07); box-shadow:0 0 0 14px rgba(255,255,255,.2), 0 10px 28px rgba(0,0,0,.35); }
.hp-ft-chip{ position:absolute; left:14px; top:14px; z-index:1; display:inline-flex; align-items:center; gap:6px; padding:6px 11px 6px 8px; border-radius:99px; background:rgba(15,20,25,.72); color:#fff; font:500 .78rem/1 var(--sans); backdrop-filter:blur(6px); }
.hp-ft-chip svg{ width:13px; height:13px; }
/* message audio sans image : des barres de son qui ondulent */
.hp-ft-wave{ background:linear-gradient(135deg, #0b4a6d 0%, #082c44 55%, #1F2D6E 100%); }
.hp-ft-bars{ position:absolute; left:9%; right:9%; top:22%; bottom:22%; display:flex; align-items:center; justify-content:space-between; }
.hp-ft-bars i{ display:block; width:3.2%; border-radius:99px; background:rgba(159,195,222,.55); transform-origin:center; animation:hpFtBar 1.6s ease-in-out infinite alternate; animation-play-state:paused; }
.hp-sl.is-on .hp-ft-bars i{ animation-play-state:running; }
@keyframes hpFtBar{ from{ transform:scaleY(.45); } to{ transform:scaleY(1); } }
/* annonce : l'image entière (logo, dessin, photo) posée sur un fond bleu nuit */
.hp-ft-panel{ background:radial-gradient(120% 120% at 50% 40%, #12567c 0%, #0a3a57 45%, #082c44 100%); }
.hp-ft-panel::after{ display:none; }
.hp-ft-panel > img{ inset:9% 12%; width:76%; height:82%; object-fit:contain; filter:drop-shadow(0 14px 22px rgba(0,0,0,.35)); }
a.hp-ft-panel:hover > img{ transform:scale(1.03); }
.hp-ft-panel > img.hp-ft-logo{ inset:30% 24%; width:52%; height:40%; opacity:.9; filter:none; }

/* --- le texte --- */
.hp-ft-text{ min-width:0; padding-bottom:74px; }                    /* la place des barres et des flèches */
.hp .hp-ft-eyebrow{ display:flex; align-items:center; gap:12px; font:500 .95rem/1.4 var(--sans); color:var(--brume); margin:0 0 14px; }
.hp-ft-eyebrow::before{ content:""; flex:none; width:28px; height:2px; background:#D9C89A; border-radius:2px; }
.hp .hp-feat h2{ font:600 clamp(1.5rem,2.5vw,2.25rem)/1.18 var(--serif); color:#fff; letter-spacing:-.01em; margin:0; text-wrap:balance;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.hp-feat h2 b, .hp-feat h2 strong{ font-weight:800; }
.hp .hp-ft-meta{ font:400 .92rem/1.4 var(--sans); color:rgba(255,255,255,.62); margin:12px 0 0; }
.hp .hp-ft-body{ font:400 1.02rem/1.6 var(--sans); color:rgba(255,255,255,.84); margin:14px 0 0; max-width:52ch;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.hp .hp-ft-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; margin-top:24px; }
.hp-ft-cta .hp-btn{ padding:14px 24px; font-size:1rem; border-radius:8px; }
.hp-ft-cta .hp-btn svg{ width:17px; height:17px; flex:none; }
.hp-ft-more{ font:500 .95rem/1.3 var(--sans); color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.4); text-underline-offset:5px; }
.hp-ft-more:hover{ text-decoration-color:#fff; }
.hp-ft-player{ margin-top:16px; }
.hp-ft-player[hidden]{ display:none; }
.hp-ft-player audio{ width:100%; max-width:440px; height:40px; display:block; }

/* --- barres de progression, compteur, flèches : sous le texte --- */
.hp-sl-nav{ position:absolute; z-index:3; left:calc(var(--pad) + (100% - 2 * var(--pad)) * .54 + var(--g)); right:var(--pad); bottom:clamp(30px,3.6vw,48px); display:flex; align-items:center; gap:10px; }
.hp-sl-nav[hidden]{ display:none; }
.hp-sl-dots{ flex:1; display:flex; gap:6px; min-width:0; margin-right:6px; }
.hp-sl-dot{ flex:1; max-width:64px; height:24px; padding:0; border:0; background:none; cursor:pointer; display:flex; align-items:center; }
.hp-sl-dot i{ position:relative; display:block; width:100%; height:3px; border-radius:3px; background:rgba(255,255,255,.24); overflow:hidden; transition:background-color .2s; }
.hp-sl-dot:hover i{ background:rgba(255,255,255,.42); }
.hp-sl-dot i::after{ content:""; position:absolute; inset:0; background:#fff; border-radius:inherit; transform:scaleX(0); transform-origin:left; }
.hp-sl-dot.is-past i::after{ transform:scaleX(1); }
.hp-sl-dot[aria-current="true"] i::after{ transform:scaleX(1); }
.hp-sl-nav.is-running .hp-sl-dot[aria-current="true"] i::after{ animation:hpSlFill var(--hp-sl-delai, 7000ms) linear both; }
@keyframes hpSlFill{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.hp-sl-count{ font:500 .82rem/1 var(--sans); color:rgba(255,255,255,.6); font-variant-numeric:tabular-nums; margin-right:4px; white-space:nowrap; }
.hp-sl-arrow{ flex:none; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.04); color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; transition:background-color .2s, border-color .2s; }
.hp-sl-arrow:hover{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.6); }
.hp-sl-pause svg{ width:14px; height:14px; }
.hp-sl-arrow:focus-visible, .hp-sl-dot:focus-visible{ outline:2px solid var(--brume); outline-offset:2px; }

/* --- changement de diapositive : l'image arrive en fondu, le texte monte ligne après ligne --- */
.hp-sl-track[data-dir] .hp-sl.is-out{ visibility:visible; animation:hpFtOut .32s ease both; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-media{ animation:hpFtMedia .75s cubic-bezier(.2,.7,.2,1) both; }
.hp-sl-track[data-dir="prev"] .hp-sl.is-on .hp-ft-media{ animation-name:hpFtMediaL; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > *{ animation:hpFtUp .6s cubic-bezier(.2,.7,.2,1) both; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > :nth-child(1){ animation-delay:.10s; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > :nth-child(2){ animation-delay:.17s; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > :nth-child(3){ animation-delay:.24s; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > :nth-child(4){ animation-delay:.31s; }
.hp-sl-track[data-dir] .hp-sl.is-on .hp-ft-text > :nth-child(n+5){ animation-delay:.38s; }
@keyframes hpFtOut{ from{ opacity:1; } to{ opacity:0; visibility:hidden; } }
@keyframes hpFtMedia{ from{ opacity:0; transform:translateX(36px) scale(.985); } to{ opacity:1; transform:none; } }
@keyframes hpFtMediaL{ from{ opacity:0; transform:translateX(-36px) scale(.985); } to{ opacity:1; transform:none; } }
@keyframes hpFtUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

@media (max-width:980px){ .hp-feat{ --pad:20px; } }
/* --- tablette et téléphone : l'image au-dessus, le texte en dessous --- */
@media (max-width:900px){
  .hp-sl{ grid-template-columns:minmax(0,1fr); gap:20px; align-items:start; }
  .hp-ft-text{ padding-bottom:0; }
  .hp-ft-play{ width:60px; height:60px; margin:-30px 0 0 -30px; box-shadow:0 0 0 8px rgba(255,255,255,.16), 0 10px 28px rgba(0,0,0,.35); }
  .hp-ft-play svg{ width:24px; height:24px; }
  .hp .hp-ft-cta{ margin-top:18px; }
  .hp-ft-cta .hp-btn{ flex:1 1 auto; }
  .hp-sl-nav{ position:static; margin-top:22px; }
  .hp-sl-arrow{ width:42px; height:42px; }
}

/* v189 : annonce avec une photo (JPG) : elle remplit tout le cadre */
.hp-ft-photo::after{ display:none; }
a.hp-ft-photo:hover > img{ transform:scale(1.035); }
