/* Lettre de nouvelles – design « magazine » bleu U'HOPE, vert Vivement la Parole, or pour la prière.
   Styles limités au bloc .uh-lettre pour ne pas toucher au thème Odoo. */
.uh-lettre{
  --bg:#f5f7fb; --paper:#ffffff; --ink:#13294b; --text:#22324a; --muted:#4f5f75; --line:#dde5f0;
  --blue:#1d5fb4; --blue-d:#164a8c; --blue-soft:#e7effb;
  --vlp:#1d9e20; --vlp-d:#147a17; --vlp-soft:#eef8ee;
  --gold:#f2c46b; --gold-t:#8a5a00; --pray-bg:#fbf3e2; --pray-line:#efdcb4;
  --display:"Newsreader", Georgia, "Times New Roman", serif;
  --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:var(--bg); color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.65;
}
.uh-lettre *,.uh-lettre *::before,.uh-lettre *::after{box-sizing:border-box}
.uh-lettre .in{max-width:1200px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.uh-lettre a{color:var(--blue)}
.uh-lettre a:focus-visible,.uh-lettre button:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}
.uh-lettre h1,.uh-lettre h2,.uh-lettre h3{color:var(--ink);text-wrap:balance}
.uh-lettre p{margin:0}
.uh-lettre .stack{display:flex;flex-direction:column;gap:18px;min-width:0}
.uh-lettre .p{font-size:18px;line-height:1.7;color:var(--text)}
.uh-lettre .kicker{font:700 13px var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.uh-lettre .kicker.gold{color:var(--gold)}
.uh-lettre h2{margin:0;font:600 clamp(30px,4vw,40px)/1.15 var(--display)}
.uh-lettre .h3{margin:0;font:600 26px/1.2 var(--display)}
.uh-lettre .cap{font:italic 400 16px var(--display);color:var(--muted)}
.uh-lettre .small{font-size:15px;color:var(--muted);font-family:var(--body);font-weight:400}
.uh-lettre .card{background:var(--paper);border:1px solid var(--line);border-radius:18px}
.uh-lettre img.zoom{cursor:zoom-in}

/* boutons */
.uh-lettre .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;font:600 16px var(--body);text-decoration:none;cursor:pointer;border:1px solid var(--blue);transition:background .15s,color .15s}
.uh-lettre .btn-p{background:var(--blue);color:#fff}.uh-lettre .btn-p:hover{background:var(--blue-d);border-color:var(--blue-d);color:#fff}
.uh-lettre .btn-s{background:var(--paper);color:var(--blue)}.uh-lettre .btn-s:hover{background:var(--blue-soft);color:var(--blue-d)}
.uh-lettre .btn-gold{background:var(--gold);border-color:var(--gold);color:var(--ink)}.uh-lettre .btn-gold:hover{background:#f6d48d;color:var(--ink)}
.uh-lettre .btn-vlp{background:var(--vlp-d);border-color:var(--vlp-d);color:#fff}.uh-lettre .btn-vlp:hover{background:#0f5e11;color:#fff}
.uh-lettre .btn-sm{min-height:42px;padding:0 16px;font-size:15px}

/* barre du haut */
.uh-lettre .topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.2) blur(6px)}
.uh-lettre .topbar-in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding-top:10px;padding-bottom:10px}
.uh-lettre .brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:600}
.uh-lettre .mark{width:40px;height:40px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font:700 17px var(--display);flex:none}
.uh-lettre .mark.light{background:#fff;color:var(--blue)}
.uh-lettre .chap-nav{display:flex;flex-wrap:wrap;gap:2px;flex:1 1 380px;justify-content:center}
.uh-lettre .chap-nav a{padding:8px 12px;border-radius:999px;color:#34465f;text-decoration:none;font-size:15px;font-weight:500}
.uh-lettre .chap-nav a:hover{background:var(--blue-soft);color:var(--blue-d)}
.uh-lettre .top-actions{display:flex;align-items:center;gap:12px}
.uh-lettre .langs{display:flex;gap:2px;background:#edf2f9;border-radius:999px;padding:3px}
.uh-lettre .langs a{min-width:44px;min-height:36px;display:grid;place-items:center;border-radius:999px;font:600 13px var(--body);letter-spacing:.06em;color:#34465f;text-decoration:none}
.uh-lettre .langs a.on{background:var(--blue);color:#fff}

/* ouverture */
.uh-lettre .hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center;padding-top:56px;padding-bottom:40px}
.uh-lettre .hero h1{margin:0;font:400 clamp(46px,6.4vw,76px)/1.02 var(--display);letter-spacing:-.01em}
.uh-lettre .hero h1 em{color:var(--blue)}
.uh-lettre .sous-titre{font:400 24px/1.4 var(--display);color:var(--muted)}
.uh-lettre .ctas{display:flex;flex-wrap:wrap;gap:12px}
.uh-lettre .sign{font:italic 400 20px var(--display);color:var(--blue)}
.uh-lettre .hero-fig{margin:0;position:relative}
.uh-lettre .hero-fig img{width:100%;aspect-ratio:1/1.05;object-fit:cover;border-radius:28px;display:block}
.uh-lettre .hero-fig figcaption{position:absolute;left:18px;right:18px;bottom:18px;background:rgba(255,255,255,.95);border-radius:14px;padding:12px 16px;font:italic 400 18px var(--display);color:var(--ink)}

/* en bref */
.uh-lettre .bref{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:8px;padding-bottom:56px}
.uh-lettre .bref-c{padding:22px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink);border-top:4px solid var(--blue);transition:transform .15s,box-shadow .15s}
.uh-lettre .bref-c:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(19,41,75,.08);color:var(--ink)}
.uh-lettre .bref-c strong{font:600 21px/1.25 var(--display)}
.uh-lettre .bref-c span{font-size:15px;line-height:1.5;color:var(--muted)}

/* chapitres */
.uh-lettre .band{border-top:1px solid #e3eaf4}
.uh-lettre .band.white{background:var(--paper)}
.uh-lettre .band.vlp{background:var(--vlp-soft);border-top:6px solid var(--vlp)}
.uh-lettre .band.vlp .kicker{color:var(--vlp-d)}
.uh-lettre .chap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px 40px;padding-top:80px;padding-bottom:80px;align-items:start}
.uh-lettre .chap-head{grid-column:span 4;display:flex;flex-direction:column;gap:14px;min-width:0}
.uh-lettre .chap-body{grid-column:span 8;display:flex;flex-direction:column;gap:22px;min-width:0}
.uh-lettre .full{grid-column:1/-1;min-width:0}
.uh-lettre .half{grid-column:span 6;min-width:0}
.uh-lettre .pill{align-self:flex-start;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--blue-soft);color:var(--blue-d);font:600 14px var(--body)}
.uh-lettre blockquote{margin:0;font:italic 400 28px/1.35 var(--display);color:var(--blue)}
.uh-lettre .kids{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.uh-lettre .kids figure{margin:0;display:flex;flex-direction:column;gap:10px}
.uh-lettre .kids img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center;border-radius:14px;display:block}
.uh-lettre .kids b{display:block;font:600 19px var(--display)}
.uh-lettre .kids figcaption span{font-size:15px;color:var(--muted)}
.uh-lettre .mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:220px;gap:14px}
.uh-lettre .mosaic img{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block}
.uh-lettre .mosaic img.big{grid-column:span 2;grid-row:span 2}
.uh-lettre .side-fig{margin:0}
.uh-lettre .side-fig img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:18px;display:block}
.uh-lettre .fig{margin:0;display:flex;flex-direction:column;gap:10px}
.uh-lettre .fig img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;display:block}
.uh-lettre .grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.uh-lettre .grid3 img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.uh-lettre .grid3 img.tall{aspect-ratio:3/4}
.uh-lettre .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px;align-items:start}
.uh-lettre .two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.uh-lettre .ph43{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}

/* concert */
.uh-lettre .concert{background:var(--ink);color:#fff;border-radius:24px;padding:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:center}
.uh-lettre .concert h3{margin:0;font:600 36px/1.15 var(--display);color:#fff}
.uh-lettre .concert .when{font:600 18px var(--body);color:var(--gold)}
.uh-lettre .concert .ctxt{font-size:18px;line-height:1.7;color:#dbe5f3}
.uh-lettre .infos{list-style:none;margin:0;padding:16px 0 0;border-top:1px solid #2c4670;display:flex;flex-direction:column;gap:10px}
.uh-lettre .infos li{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;font-size:15px;line-height:1.5}
.uh-lettre .infos b{color:var(--gold)}
.uh-lettre .infos span{color:#dbe5f3}
.uh-lettre .concert-vid{margin:0;display:flex;flex-direction:column;gap:10px}
.uh-lettre .concert-vid video{width:100%;max-width:100%;aspect-ratio:16/9;border-radius:16px;background:#000;display:block}
.uh-lettre .concert-vid figcaption{font:italic 400 16px var(--display);color:#b9c8de}

/* prière */
.uh-lettre .pray{background:var(--pray-bg);border:1px solid var(--pray-line);border-radius:18px;padding:24px 26px;display:flex;flex-direction:column;gap:12px}
.uh-lettre .pray h3{margin:0;font:700 13px var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-t)}
.uh-lettre .pray ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:17px;line-height:1.6;color:#2f2a1f}
.uh-lettre .pray li::marker{color:#c58a17}

/* U'HOPE */
.uh-lettre .awards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.uh-lettre .award{padding:20px;display:flex;flex-direction:column;gap:8px}
.uh-lettre .award span{font:700 12px var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--blue)}
.uh-lettre .award strong{font:600 20px/1.25 var(--display)}
.uh-lettre .award.gold-b{background:#fffaf0;border-color:#f0dcae}
.uh-lettre .award.gold-b span{color:var(--gold-t)}
.uh-lettre .sol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.uh-lettre .sol li{display:flex}
.uh-lettre .sol a{display:flex;flex-direction:column;gap:8px;width:100%;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--paper);text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.uh-lettre .sol a:hover{border-color:var(--blue);box-shadow:0 10px 24px rgba(19,41,75,.07)}
.uh-lettre .sol b{font:600 21px var(--display)}
.uh-lettre .sol span{font-size:15px;line-height:1.55;color:var(--muted);flex-grow:1}
.uh-lettre .sol i{font-style:normal;font-size:14px;font-weight:600;color:var(--blue)}
.uh-lettre .sol .sol-une{grid-column:1/-1}
.uh-lettre .sol .sol-une a{background:var(--blue);border-color:var(--blue);flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 24px}
.uh-lettre .sol .sol-une b,.uh-lettre .sol .sol-une i{color:#fff}
.uh-lettre .sol .sol-une span{color:#dbe7f8;flex:1 1 360px}

/* don, photos, contact */
.uh-lettre .don{padding:28px;background:var(--bg)}
.uh-lettre .don .pray{padding:18px 20px}
.uh-lettre .photos{padding-top:72px;padding-bottom:24px}
.uh-lettre .photos .wide{width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:28px;display:block}
.uh-lettre #ecrire{padding-top:48px;padding-bottom:88px}
.uh-lettre .contact{padding:48px;border-radius:28px;display:grid;grid-template-columns:5fr 7fr;gap:32px 40px}
.uh-lettre .people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.uh-lettre .person{border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px}
.uh-lettre .who{display:flex;align-items:center;gap:12px}
.uh-lettre .who img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.uh-lettre .who b{display:block;font:600 20px var(--display)}
.uh-lettre .num{font-size:14px;color:var(--muted);user-select:all;font-variant-numeric:tabular-nums}
.uh-lettre .mail{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;background:var(--bg);border-radius:14px}
.uh-lettre .mail code{font:600 16px var(--body);color:var(--ink);background:none;user-select:all;word-break:break-all}
.uh-lettre .mail .btn{margin-left:auto}
.uh-lettre .sub{padding:16px 18px;border:1px dashed #b9cbe6;border-radius:14px;font-size:16px;line-height:1.6;color:var(--text)}
.uh-lettre .foot{background:var(--ink);color:#dbe5f3}
.uh-lettre .foot-in{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;padding-top:40px;padding-bottom:40px}
.uh-lettre .foot p{flex:1 1 420px;font:italic 400 20px/1.5 var(--display);color:#fff}

/* visionneuse */
.uh-lettre dialog{border:0;padding:0;background:transparent;max-width:min(96vw,1400px);max-height:92vh}
.uh-lettre dialog::backdrop{background:rgba(10,15,18,.85)}
.uh-lettre dialog img{max-width:100%;max-height:88vh;border-radius:10px;display:block}
.uh-lettre dialog button{position:absolute;top:8px;right:8px;font:600 15px var(--body);background:#fff;color:var(--ink);border:0;border-radius:999px;padding:8px 14px;cursor:pointer}

/* tablette et téléphone */
@media (max-width:980px){
  .uh-lettre .hero{grid-template-columns:1fr;gap:28px;padding-top:28px}
  .uh-lettre .hero-fig{order:-1}
  .uh-lettre .bref{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uh-lettre .chap{padding-top:56px;padding-bottom:56px;gap:24px}
  .uh-lettre .chap-head,.uh-lettre .chap-body,.uh-lettre .half{grid-column:1/-1}
  .uh-lettre .side-fig img{aspect-ratio:16/9}
  .uh-lettre .concert,.uh-lettre .two,.uh-lettre .contact{grid-template-columns:1fr}
  .uh-lettre .concert{padding:28px}
  .uh-lettre .contact{padding:28px}
  .uh-lettre .sol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uh-lettre .chap-nav{display:none}
}
@media (max-width:600px){
  .uh-lettre .kids{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uh-lettre .mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:150px}
  .uh-lettre .awards,.uh-lettre .sol,.uh-lettre .people,.uh-lettre .two-cols{grid-template-columns:1fr}
  .uh-lettre .grid3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uh-lettre .brand span:last-child{display:none}
  .uh-lettre .infos li{grid-template-columns:1fr;gap:2px}
  .uh-lettre .photos .wide{aspect-ratio:4/3}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
